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
}