Quote:
Originally Posted by Namaless
I have edited your plugin because I not like that all users view debug information.
With this code I have limited access to Administrators Group:
Code:
if ( $vbulletin->options['zh_debugmode_forum_onoff'] == '1' and $vbulletin->userinfo['usergroupid'] == 6 )
{
$vbulletin->debug = true;
}
else
{
$vbulletin->debug = false;
}
This is for forum view, this is most important because the users access to this part
Thanks for your work 
|
How do you add multiple userids instead of usergroup?
I tried
HTML Code:
<phpcode><![CDATA[if ( $vbulletin->options['zh_debugmode_forum_onoff'] == '1' and $vbulletin->userinfo['userid'] == X,Y,Z )
but getting errors.