Author Topic: Switch off parts for user or usergroup  (Read 3147 times)

0 Members and 1 Guest are viewing this topic.

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Switch off parts for user or usergroup
« on: June 13, 2005, 05:08:24 PM »
Hi,

maybe it is a simple task, but I could not figure out, how to do that...

I'd like to switch off certain parts of the site for special users or for a special usergroup.

Like: I don't want to show user_logininfo and the user information to these users - so they may not change their details and they won't see the lightbox etc. ...

Would be something like {ifnot group_id_1} {endifnot group_id_1} or something similar possible...

and on the other hand I'd like to do the absolute oposite: show members of this group certain things, which other users might not see...

Maybe that feature is already built in and I just don't know how to use it...

P.S.: yes I know I may set up usergroups for additional rights (when "private" is set), but that's not exactly what I want...

Thank you in advance!
MAяTRIX


Offline V@no

  • If you don't tell me what to do, I won't tell you where you should go :)
  • Global Moderator
  • 4images Guru
  • *****
  • Posts: 17.849
  • mmm PHP...
    • View Profile
    • 4images MODs Demo
Re: Switch off parts for user or usergroup
« Reply #1 on: June 14, 2005, 02:26:54 AM »
I belive u are looking for this code:
http://www.4homepages.de/forum/index.php?topic=6566.0
Your first three "must do" before you ask a question:
Please do not PM me asking for help unless you've been specifically asked to do so. Such PMs will be deleted without answer. (forum rule #6)
Extension for Firefox/Thunderbird: Master Password+    Back/Forward History Tweaks (restartless)    Cookies Manager+    Fit Images (restartless for Thunderbird)

Offline martrix

  • Hero Member
  • *****
  • Posts: 755
    • View Profile
    • overlord.cz
Re: Switch off parts for user or usergroup
« Reply #2 on: June 14, 2005, 08:52:12 AM »
I'm a blind man!  :roll:

Thank you - that looks like the code I'm looking for.

Thank you.
MAяTRIX