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
<phpcode><![CDATA[if ( $vbulletin->options['zh_debugmode_forum_onoff'] == '1' and $vbulletin->userinfo['userid'] == X,Y,Z )
but getting errors.
@djxcee if ( $vbulletin->options['zh_debugmode_forum_onoff'] == '1' and in_array($vbulletin->userinfo['usergroupid'], array(5,6,7)))
{
$vbulletin->debug = true;
}
else
{
$vbulletin->debug = false;
}
should do the trick
thank you !
Seems to be dead on 3.8.4
Italian Translation: Download (http://www.namaless.com/development/vbulletin/add-ons/kx-debug-mode/)