Show info on page only to members of a specific group?

For support and discussion related to templates, themes, and imagesets in phpBB 3.0.
Get Involved
Locked
harknell
Registered User
Posts: 39
Joined: Mon Mar 14, 2005 12:08 am
Contact:

Show info on page only to members of a specific group?

Post by harknell » Wed Sep 23, 2009 4:13 pm

Hi, I am trying to add some areas in my theme that will only display information to a user if they are part of a specific group. This group is not one of the built in ones (mod,admin, etc.) but is a created group for special members of the forum who also have access to hidden forums. I know there are some theme conditionals you can use to show/hide things to mods, logged in users, admins, etc. But is there a way to make a conditional that only displays info to members of a specific group? I really don't want to write up a ton of php code to do some queries for this and hope there's a built in system to allow this, but I can't find any info on this.
Webmaster of the webcomic http://www.onezumi.com
The Art, The Comic, The Insanity

User avatar
JimA
Community Team Leader
Community Team Leader
Posts: 7620
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: Show info on page only to members of a specific group?

Post by JimA » Wed Sep 23, 2009 5:33 pm

There is no default switch for that, you will need to add some code. :)
http://www.phpbb.com/community/viewtopi ... &t=1457215
Image Jim Mossing Holsteyn - Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.

Locked

Return to “[3.0.x] Styles Support & Discussion”