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

Home » FUDforum » How To » How to use FUDforum authentication from other scripts?
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
Re: How to use FUDforum authentication from other scripts? [message #32564 is a reply to message #32550] Sun, 09 July 2006 08:49 Go to previous messageGo to previous message
Mreimer is currently offline  Mreimer   Germany
Messages: 5
Registered: July 2006
Karma:
Junior Member
Ilia wrote on Sat, 08 July 2006 13:46

FUDforum cookie stores the user's session id and that's all. To resolve this value to a user id you would need to query the forum's session database table and fetch the user_id field.


I did so and it works well. I just wanted to know if there is an official API function to do this.

What about banned users? Does banning a user in the administration GUI also kill all it's sessions? How can I ignore session IDs which come from banned users?

Quote:

To login the user into other parts of the system when they login to the forum you need to modify the "login" code insiders users_reg.inc.t, the function user_login() ,


The "other parts" are also PHP scripts. I just modify them to be able to work with the FUDforum session cookie so I don't have to edit anything in the forum source.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Previous Topic: how to use forum_login.php?
Next Topic: Use a shortcut icon ?
Goto Forum:
  

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

Current Time: Sun Nov 24 01:45:52 GMT 2024

Total time taken to generate the page: 0.03810 seconds