Gossamer Forum
Home : Products : Gossamer Forum : Discussion :

pulling email from a different database

Quote Reply
pulling email from a different database
I managed to get the forum to authenticate users off my site's user database by creating hooks to Authenticate.pm. I would now like to do the same for user email addresses. What module/sub do I need to create a hook for to pull user email addresses from my site's user database instead of the forum database?
Quote Reply
Re: [xev] pulling email from a different database In reply to
OK, if noone can answer this then I will assume there is no easy way to do this.

So I will go about it a different way. How do I tap into the forum's database subs from a different program?

Or should I just make a connection to the forum database from my program with DBI? That is actually what I am doing now.. when a user updates their email on my site, I also update it in the forum's user table. It works fine, but I would rather connect through the forum's own subs rather than having to keep the login info to the forum's database in both programs.

Last edited by:

xev: Aug 10, 2003, 11:45 AM