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

Home » FUDforum Development » Plugins and Code Hacks » the login procedure
Show: Today's Messages :: Polls :: Message Navigator
Return to the default flat view Create a new topic Submit Reply
icon5.gif  the login procedure [message #21003] Mon, 08 November 2004 15:24 Go to previous message
johed802 is currently offline  johed802   Sweden
Messages: 24
Registered: September 2004
Karma:
Junior Member
Hi,

I'm wondering about the login procedure. I have hacked my fud forum and want to add some functionality. In the users table i added a new column. When the users are logging in, the system is supposed to check this value (from the new column), and based on this approve ot not approve the users request to log in.

My problem is, in what file should I be woking and how do I make a user 'not' log in? This check is supposed to be after the system has checked that login and password is ok. After this, the system will check the value described above. If this has a certain value, the login should be terminated, i.e the user must not be able to get in to the forum by typing in the correct url.

I've done some hacking in the file: login.php.t. I can check the value desribed above and print an error message (and redirect), but the user can still logg in by typing in the url manually...

Any clues?

thnx
/johan
[Message index]
 
Read Message icon5.gif
Read Message
Read Message
Previous Topic: A question about FUD API
Next Topic: I need a popup with a list of choices for user profile at register time
Goto Forum:
  

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

Current Time: Sun Jun 02 05:18:06 GMT 2024

Total time taken to generate the page: 0.13566 seconds