1
yyvonne
Only Moderator
  • 2009/6/3 2:19

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


I have done something, and I just want it to be viewed by Moderator and Administrator, how can I do it?

I understand if I just want Administrator to view it I can do the below:

<? $isadmin = $xoopsUserIsAdmin;
if ($isadmin == 1) {} ?>

What about Administrator and Moderator?

Thanks.

2
xsell
Re: Only Moderator
  • 2009/6/3 4:38

  • xsell

  • Quite a regular

  • Posts: 245

  • Since: 2008/9/2 1


I guess from the admin panel , select Groups and click edit next to Registered Users , then uncheck the box from whatever u want to prevent the users from seen it . then go back do the same for Anonymous Users group and the same if there other groups u might added..

3
yyvonne
Re: Only Moderator
  • 2009/6/3 5:34

  • yyvonne

  • Just popping in

  • Posts: 38

  • Since: 2008/4/4 2


No, I want everybody to see the module.

Just that inside the module, there is a link that I want to show it to the Moderators (or a particular user) to view it.

4
ghia
Re: Only Moderator
  • 2009/6/3 7:06

  • ghia

  • Community Support Member

  • Posts: 4953

  • Since: 2008/7/3 1


For which module?

Login

Who's Online

176 user(s) are online (99 user(s) are browsing Support Forums)


Members: 0


Guests: 176


more...

Donat-O-Meter

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

Latest GitHub Commits