The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
|
#1
|
|||
|
|||
Need help with an if statement in my plugin please help
I need to hide a plugin if user is not registered. how can i go about doing that in the plugin?
--------------- Added [DATE]1346964086[/DATE] at [TIME]1346964086[/TIME] --------------- i figured it out for those who may need this try this in you php code Code:
if($vbulletin->userinfo['usergroupid'] == 5 OR $vbulletin->userinfo['usergroupid'] == 6 OR $vbulletin->userinfo['usergroupid'] == 7) OR $vbulletin->userinfo['usergroupid'] == 10) { your code here } |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|