152 users online (0 members and 152 guests)  


  Results 1 to 2 of 2
  1. #1
    marx123's Avatar
    New User

    Status
    Offline
    Join Date
    Sep 2006
    Posts
    1

    new here need help

    ok i have been making a forum..can you guys tell me how to make a code for user registration? first?

  2. #2
    DeadMeatGF's Avatar
    Moderator

    Status
    Offline
    Join Date
    Sep 2005
    Posts
    381

    Re: new here need help

    Just have a field in your users table called active, set it to NULL for not active, 0 for awaiting reactivation, and 1 for fully active, and test it when they log in.
    Defaults to NULL, switches to 0 when they've been sent the activation code, and changes to 1 when they've entered the code.