Recent Topics

1 Aug 16, 2008 02:14    

My b2evolution Version: 2.x

Hi, how can I selectively remove items from the evobar depending of whether the user is administrator or not?

Otherwise can I stop the evobar from appearing from anyone who is not an administrator?

:?:

Thanks.

2 Aug 16, 2008 02:31

Edit the following in skins/_toolbar.inc.php

/**
 * @var User
 */
global $current_User;

if( $current_User->group_ID != 1 )
{ // Display to admins only
	return;
}


Form is loading...