![]() |
How do i: Automatically log users in that log into a website [3.5.4]
Say i have a database, and i have two seperate users tables. One is the users for a game im creating, the other VB users table. I have managed to add the users to the database they use the same password and same username. When a user browses to forumvb.php i want them to be logged in and redirected to the forum.
I dont want to have to force them to enter a username and password again as they have already done that, i simply want them logged into VBulletin. Is there any hacks that allow this, if not is it possible to do? Ive played with the VB code a lot and cant seem to figure out how to do this. Any help extremely appreciated Thanks William Vicary |
You can use the below code in any php file on your server. Just make sure the URL for global.php is correct.
Code:
<?php Code:
$stylevar[htmldoctype] |
All times are GMT. The time now is 02:42 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|