This website can use cookies to improve the user experience

This website can use cookies to improve the user experience and to provide certain services and functions to users. Cookies contain small amounts of information (such as login information and user preferences) and will be stored on your device.

Enable All Cookies Privacy Policy

VBextensions on all users


avatar
mishima 145
From: -
VBextensions on all users

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

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
avatar
OP 145
From: -
Thanks, worked a treat!
1 Re: VBextensions on all users
avatar
Editor
0
From: -
Open /cadmin/vbextensions/menu_vbextensions.php in an editor and change:

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();
}
}

Notice

This topic is archived. New comments cannot be posted and votes cannot be cast.