1
baloch
exim admin theme not hiding the links accordance to user permission
  • 2008/12/15 6:46

  • baloch

  • Just popping in

  • Posts: 34

  • Since: 2006/3/22


Hi guys, i did a fresh install XOOPS 2.3.2b everything else works fine. I am having problem with user permissions. i have assigned the access right to users but user still can see the system links for modules, templates, blocks etc even if they dont have access permission. I guess it should be hidden then if user have no permission to access them. rather showing up and telling the user you dont have permission to use this section...

2
ghia
Re: exim admin theme not hiding the links accordance to user permission
  • 2008/12/15 10:03

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


I think there is somewhere a preference to hide these links.

If the template uses fixed links, you can add smarty tags to show or hide some links.
eg.
le="color: #000000"><?php <{if $xoops_isuser}> <li><a href="<{$xoops_url}>/user.php?op=logout"><span>Afmelden</span></a></li> <{else}> <li><a href="<{$xoops_url}>/user.php"><span>Aanmelden</span></a></li> <{/if}> <{if $xoops_isadmin}> <li><a href="<{$xoops_url}>/admin.php"><span>Admin</span></a></li> <{/if}>

Showing the links to reserved parts of the website may show to guests, that there is more than shown and can encourage them to registrate or login.
It's more a feature then a bug.

Login

Donat-O-Meter

Stats
Goal: $15.00
Due Date: Aug 31
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $15.00
Make donations with PayPal!