Go Back   vBulletin Setup > vBulletinSetup Information > Troubleshooting vBulletin Problems > PHP Discussions, Tutorials and Help

Reply 
 
LinkBack Thread Tools Display Modes
Old 09-14-2009, 09:30 AM   #1
entrepreneur
 
Join Date: Sep 2009
Posts: 1
ayalsule will become famous soon enough
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

ayalsule is offline   Reply With Quote

Advertisement [Remove Advertisement]

Reply 
vBulletin Setup > vBulletinSetup Information > Troubleshooting vBulletin Problems > PHP Discussions, Tutorials and Help

Tags
developer, vbulletin

Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On


Similar Threads
Thread Thread Starter Forum Replies Last Post
Check out the developer preview at Google I/O Brandon Sheley Search Engine News 0 05-28-2009 09:59 PM
Developer is wrong? yvesklein vBulletin SEO Tips and SEO Questions 4 12-12-2008 04:41 AM
WANTED: vBulletin (VBTT, php, mySQL) Developer MrD3SAi vBulletin Services 0 10-24-2007 10:40 AM
Crawlability Inc. Acquires vBulletin Developer Community vBHackers.com Brandon Sheley General Discussion 9 04-29-2007 05:21 PM
Developer PIE! Code Monkey General Discussion 1 06-25-2006 09:27 PM


All times are GMT -8. The time now is 02:36 PM.