AlbertTCB Posted July 30, 2011 Posted July 30, 2011 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?
darkrisingx Posted July 30, 2011 Posted July 30, 2011 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.
Ehren Posted July 31, 2011 Posted July 31, 2011 <if> tags can be used for both modifications, if I understand you correctly. I'm not sure of the code without searching for it first, but it's possible.
darkrisingx Posted July 31, 2011 Posted July 31, 2011 <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.
Steve H Posted August 1, 2011 Posted August 1, 2011 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>
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now