limit access to menu item

i have created a menu called (xyz)  from menubilder=>navigation menu

and i want to give the access of that menu tab only to admin , means if the site owner login with admin user id and password then only that menu tab will be visible , other then rest of the menu can be view by member and guest

 

please let me know how to do that.

Quote · 23 Nov 2010

I know the manage forum link in the navigation menu does this, but there's no front-end setting for this. There may be something for this in the database, though.

BoonEx Certified Host: Zarconia.net - Fully Supported Shared and Dedicated for Dolphin
Quote · 23 Nov 2010

Thinking that maybe I could find a solution using the same technique as the Admin panel icon located in the member menu (only visible to site admin). When checking the sys_menu_member table, the Admin Panel Link uses a {evalResult}

 

In the Eval field, it has:

 

return isAdmin() ? $GLOBALS['site']['url_admin'] : '';

 

So Its possible to maybe replace 'url_admin' with the location of your new menu item (ex. 'm/mynewplace').. I have NOT tested this and would suggest that you try this on a test site and NOT your live site. Try this at your own risk.

Nothing to see here
Quote · 23 Nov 2010

Zarcon i have tried by adding the field   on sys_menu_member table but not succeed .

Is there any other way ?

Quote · 24 Nov 2010
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.