The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
global $bbuserinfo;
$username=$bbuserinfo['username']; if ($username == "") { $username ="Anonymous"; I am trying to figure out how to make this user vb's logged in code, so when a user clicks the link it know he is already logged in that above will log in a Anonymouse user but not vb user |
|
#2
|
||||
|
||||
|
PHP Code:
|
|
#3
|
|||
|
|||
|
Like this??
global $bbuserinfo; $username=$bbuserinfo['username']; if ($bbuserinfo[userid]==0) { show_nopermission(); } that gives me a error at show_nopermission |
|
#4
|
||||
|
||||
|
If you are requiring global.php then just use
PHP Code:
|
![]() |
|
|