Quote:
Originally Posted by Zachery
I don't know why anyone didn't tell you, the code you linked is:
1. Not a phrase
2. template code, and specifically a vbulletin defined variable.
$show['member'] checks to see if a user has a valid userid. Assuming you've included the vBulletin global.php to get you into the vBulletin environment, the same can be done in php:
PHP Code:
if($bbuserinfo['userid']) { // This user is a member DoSomething(); } else { // this user is not a member DoSomethingElse(); }
|
thank you so much but your code doesn't worked.would you please give me an example?
and also in else part, I need system message page that says you don't have permissions.
is that possible?