The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
chat auto know user is logged in ?
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:
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|