Jump to content

Recommended Posts

Posted

OMG, those 3.2 compatible skins are fantastic. Having just converted from vBulletin to IPB, me and my board skinner are still deciding which templates we are going to use.

I have two questions though (that's also for the two other IPB 3.2 compatible skins on your site):

* you can change the background and color of the skin. You mention that users are allowed to do so. Can we disable this function and only allow mods/admins to do so (or even allow a certain usergroup)?

* can we use one skin, but then use one background for forums 1-5, and another background for forums 6-10?

Posted

For the group thing yes you can allow a certain group access it and hide it to others using a simple IF tag. But as far as you 2nd question that would have to be answered by Ehren unsure on that one. ;)

Posted

<if test="in_array( $this->memberData['member_group_id'], array( 3,4,6 ) )">contents</if>

This should do the trick. Change the 3, 4 and 6 to the groups id you would like it to show. Can find you're groups id in groups manager.

If you are unaware of what to do with that code am sure Ehren will be more then happy to help you.

Posted

First code would work with primary usergroup only.

<if test="ipsMember::isInGroup( $this->memberData, array( 4, 7 ) )">
</if>

Second code works with both primary and secondary usergroups.

<if test="ipsMember::isInGroup( $this->memberData, array( 4, 7 ), false )">
</if>

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...