Your username
Have an account?
Forgot your password?
  • Log in or Sign up

    Results 1 to 4 of 4
    1. #1
      Junior Member ayalsule's Avatar
      Join Date
      Sep 2009
      Posts
      3

      Default Help From vBulletin Developer

      Hello All
      Really This is Great Forum And Great Idea , I Just Want Some Help From vBulletin Developer
      I'm programming My Own Site and I Have a vBulletin forum and I want to match to make form from out of the forum to make forum user log in and use their username and other in comments .. etc so i want a script to validation username and password and hook into forum database and makes query in the tables session and so on ( I don't have experience in vBulletin Frame Work and how It have effect in database table when the user log in ) so i want that script to make effect from out of the forum ,thus when the user go to the forum he will logged in automatically Because he enter his username and password from out using the session hash , Any body can Help Me Plz
      I Started In The PHP Code But I want The rest Of it

      PHP Code:
      $username $_POST['username'];
      $password $_POST['password'];
      $query mysql_query ("SELECT userid,
                                    username,
                                    password,
                                    email,
                                    salt
                    FROM user WHERE username = '"
      .$username."'");

      $row mysql_fetch_array($query);
      if(
      $row['password'] == md5(md5($password).$row['salt']))
      {    
         
      // Here Is The Script that will make the session hash and effect in forum database


    2. #2
      ModernvB.com Owner Gio~Logist's Avatar
      Join Date
      Oct 2008
      Posts
      1,208

      Default Re: Help From vBulletin Developer

      Why not log them in through the login.php regularly, and then just grab their cookie username?

    3. #3
      Junior Member ayalsule's Avatar
      Join Date
      Sep 2009
      Posts
      3

      Default Re: Help From vBulletin Developer

      I Can Not Do That Because there is theme and programming Purpose
      I Just want the queries he do and the session and cookies effect when the user log in

    4. #4
      Junior Member ayalsule's Avatar
      Join Date
      Sep 2009
      Posts
      3

      Default Re: Help From vBulletin Developer

      No Body Can Help Here ????

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •