Administrator Posted April 8, 2014 Share Posted April 8, 2014 wrap the {parse advertisement='x'} in an IF statement on your board index template Example <if test="in_array($this->request['f'], array(1,2,3,4))">{parse ad}</if> Replace the 1,2,3,4 with the ID's in the array should the the forum(s) you do NOT want the ad to display. Do this for each ad Link to comment Share on other sites More sharing options...
Administrator Posted April 8, 2014 Author Share Posted April 8, 2014 limiting per member group, you would do this <if test="IPSMember::isInGroup($this->memberData, array(1,2,3,4) )">{parse ad}</if> IPSMember::isInGroup checks secondary group permissions Link to comment Share on other sites More sharing options...
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