Log in

View Full Version : username variable


dotdot
02-06-2006, 11:28 PM
Hi, I use the username database for vbulletin on all the pages of my website, and before vb 3.5 i could do something like this
<?
require('includes/config.php');
$username = $bbuserinfo['username'];
echo "Username: $username";
?>

and it would output the username, I cannot seem to find the proper variable to do this with vb 3.5...if you know the variable that would be great.

Princeton
02-07-2006, 01:01 PM
try $vbulletin->userinfo['username']