Quote:
Originally Posted by TECK
Guys, make me a favor, logout and tell me if you still see the admin microstats.
Thanks.
|
In plugins/hook_global_complete.php, find:
PHP Code:
$show['adminoptions'] = $vbulletin->options['vb36_mstats_adminactive'] AND $vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel'];
Replace with:
PHP Code:
$show['adminoptions'] = ($vbulletin->options['vb36_mstats_adminactive'] AND $vbulletin->userinfo['permissions']['adminpermissions'] & $vbulletin->bf_ugp_adminpermissions['cancontrolpanel']) ? true : false;