VBextensions on all users
mishima 145
From: -
From: -
Notice
This topic is archived. New comments cannot be posted and votes cannot be cast.Responses to this topic
1 Re: VBextensions on all users
mishima
OP
145
From: -
From: -
Thanks, worked a treat!
1 Re: VBextensions on all users
Philipp Esselbach
From: -
Editor
0From: -
Open /cadmin/vbextensions/menu_vbextensions.php in an editor and change:
to:
if( isset( $permissions[ 'vbextensions' ] ) )
{
$html -> makemenuheader( $words_vbextensions[ 'VB_EXTENSIONS' ] );
$html -> makemenuitem( $words_vbextensions[ 'COPY_VB_THEME' ], "copyvbtheme" );
$html -> makemenuitemalt( $words_vbextensions[ 'CONFIGURE_FORUMSBLOCK' ], "configurevbforums" );
$html -> makemenuitem( $words_vbextensions[ 'CONFIGURE_NEWS' ], "configurevbnews" );
$html -> makemenufooter();
}
to:
if( isset( $permissions[ 'vbextensions' ] ) )
{
if( $permissions[ 'vbextensions' ] == 1 )
{
$html -> makemenuheader( $words_vbextensions[ 'VB_EXTENSIONS' ] );
$html -> makemenuitem( $words_vbextensions[ 'COPY_VB_THEME' ], "copyvbtheme" );
$html -> makemenuitemalt( $words_vbextensions[ 'CONFIGURE_FORUMSBLOCK' ], "configurevbforums" );
$html -> makemenuitemclose( $words_vbextensions[ 'CONFIGURE_NEWS' ], "configurevbnews" );
$html -> makemenufooter();
}
}
Hi there,
Even though the VBExtensions is highlighted as "No Permission" under certain users, they still get access to it under the ARTICLES tab. Is there any way of sorting this?
Thanks