The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I just upgraded and my custom script no longer works. I simply retrieved $bbuserinfo['userid'] to authenticate.
My code looks like this: Code:
error_reporting(E_ALL & ~E_NOTICE);
define('NO_REGISTER_GLOBALS', 1);
chdir('/home/httpd/path/forum');
require_once('./global.php');
require_once('./includes/functions_user.php');
if ($bbuserinfo['userid']!=0) {
$username=$bbuserinfo['username'];
print("Welcome back, $username!<br>");
}
Thanks in advance! |
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|