FUDforum
Fast Uncompromising Discussions. FUDforum will get your users talking.

Home » FUDforum » How To » Single Login with a CMS
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: Single Login with a CMS [message #23360 is a reply to message #23354] Sun, 13 March 2005 20:58 Go to previous messageGo to previous message
Ilia is currently offline  Ilia   Canada
Messages: 13241
Registered: January 2002
Karma:
Senior Member
Administrator
Core Developer
I've added a script to the CVS (forum_login.php) that can be found inside the forum's scripts/directory.

This script implements external_fud_login() function that takes the forum user id as a single parameter and will try to log that user in, creating a cookie and returning you the session id for that user.

To use the script you simply need set configuration directive within the script that identifies the location of the GLOBALS.php file.

The script it attached to this message.


FUDforum Core Developer
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Renaming index.php and wrapping forums
Next Topic: Why store message body a textfile?
Goto Forum:
  

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ]

Current Time: Fri Sep 27 07:33:44 GMT 2024

Total time taken to generate the page: 0.05764 seconds