Hello ShiningArcanine I hav got a prob with this.. Previously I edit your plugin to giv the same access as Admin to another usergroup.. Both is given bellow..
I hav changed in plugin from:
PHP Code:
if ($vbulletin->userinfo['usergroupid'] == 6) {
To:
PHP Code:
if ($vbulletin->userinfo['usergroupid'] == 6 or $vbulletin->userinfo['usergroupid'] == 9) {
And from:
PHP Code:
if (($vbulletin->config['Microstats']['adminonly'] and $vbulletin->userinfo['usergroupid'] == 6) or !$vbulletin->config['Microstats']['adminonly']){
To:
PHP Code:
if (($vbulletin->config['Microstats']['adminonly'] and ($vbulletin->userinfo['usergroupid'] == 6 or $vbulletin->userinfo['usergroupid'] == 9)) or !$vbulletin->config['Microstats']['adminonly']){
After tht the plugin was workin like charm.. But whn I hav reedit the product.xml then I got that error..
Quote:
Parse error: syntax error, unexpected T_LOGICAL_OR in /hermes/web07/******/***.golponet/htdocs/forum/includes/functions.php(4367) : eval()'d code on line 9
|
Any help? I need to another usergroup to giv admin access.. Thnx in advance..