|
Re: forum_login.php [message #24785 is a reply to message #24760] |
Sat, 14 May 2005 14:24 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
There is not much to it, the script implements just one function, it takes a single paramter, the user's forum id. When called with a valid ID, it will log the current user into the specified forum user.
FUDforum Core Developer
|
|
|
Re: forum_login.php [message #24787 is a reply to message #24785] |
Sat, 14 May 2005 14:30 |
ryana
Messages: 28 Registered: April 2005
Karma: 0
|
Junior Member |
|
|
Hey,
Thanks for replying.
Tell me if I am wrong but these are the steps I will have to take:
1: when a user joins our main site I must also enter the same username and some default values into the FF database
1a. can you send me the default values that I must enter for a normal user?
2: Only then I will be able to send the username to forum_login.php
Thanks,
Ryan
So the signature text comes here right?
|
|
|
Re: forum_login.php [message #24789 is a reply to message #24787] |
Sat, 14 May 2005 14:32 |
Ilia
Messages: 13241 Registered: January 2002
Karma: 0
|
Senior Member Administrator Core Developer |
|
|
Look at existing code for creating users inside include/scripts_common.inc, the create_new_user() function.
FUDforum Core Developer
|
|
|