![]() |
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 |
PHP Code:
|
Like this??
global $bbuserinfo; $username=$bbuserinfo['username']; if ($bbuserinfo[userid]==0) { show_nopermission(); } that gives me a error at show_nopermission |
If you are requiring global.php then just use
PHP Code:
|
All times are GMT. The time now is 06:00 AM. |
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:
|