Welcome to Geeklog, Anonymous Thursday, November 28 2024 @ 09:52 pm EST

Geeklog Forums

User security for top menu


Status: offline

chief123

Forum User
Chatty
Registered: 05/02/03
Posts: 58
I searched for the answer to this without any results. What I need to do is to control user access to the top menu by their security settings just like I can do with topics. I know I can change the menus but I don't know how to let people see only what they can access based on their user group. I also know that once they click on a menu item you can normally control what they see then but I don't want them to even see certain menu items. Any ideas? Thanks.
 Quote

Status: offline

Dirk

Site Admin
Admin
Registered: 01/12/02
Posts: 13073
Location:Stuttgart, Germany
Yeah, that's not really supported. But since you can use PHP in header.thtml, you could try something like <? if (SEC_inGroup ('Restricted')) print '<a href="...">Restricted Entry</a>'; ?> This tests if the current user is a member of a group called 'Restricted' and only prints the menu entry when s/he is. bye, Dirk
 Quote

All times are EST. The time is now 09:52 pm.

  • Normal Topic
  • Sticky Topic
  • Locked Topic
  • New Post
  • Sticky Topic W/ New Post
  • Locked Topic W/ New Post
  •  View Anonymous Posts
  •  Able to post
  •  Filtered HTML Allowed
  •  Censored Content