In leiu of GCommunity being available
, I have been trying to figure out how to "automagically" log my users into gforum if they have already signed in on another part of my site. When signed in they have a "username" and "password" cookie. I've done it by hacking GForum.pm, which I'd rather not.
Can anyone think of a snippet of code that could be used to take the cookies and auto-login the user when they visit gforum? I'm thinking that some code in a global variable that calls the cookies and then logs them in (if they aren't already) should do it, but I haven't figured out the "logs them in" part. Then the global could be called in the templates.
Or am I completely off track here?
Any ideas would be greatly appreciated.
Michael Coyne
seaturtle.org

Can anyone think of a snippet of code that could be used to take the cookies and auto-login the user when they visit gforum? I'm thinking that some code in a global variable that calls the cookies and then logs them in (if they aren't already) should do it, but I haven't figured out the "logs them in" part. Then the global could be called in the templates.
Or am I completely off track here?
Any ideas would be greatly appreciated.
Michael Coyne
seaturtle.org