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.
<{if $xoops_isuser}>
  <
li><a href="<{$xoops_url}>/user.php?op=logout"><span>Afmeldenspan>a>li>             
<{else}>
  <
li><a href="<{$xoops_url}>/user.php"><span>Aanmeldenspan>a>li>             
<{/if}> 
<{if 
$xoops_isadmin}>
  <
li><a href="<{$xoops_url}>/admin.php"><span>Adminspan>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

Who's Online

340 user(s) are online (230 user(s) are browsing Support Forums)


Members: 0


Guests: 340


more...

Donat-O-Meter

Stats
Goal: $100.00
Due Date: Nov 30
Gross Amount: $0.00
Net Balance: $0.00
Left to go: $100.00
Make donations with PayPal!

Latest GitHub Commits