I'm thinking this will work OK, but I just want to double check.
I'm using 3 conditonals for these reasons below.
1: To show the adsence after the first post on every page.
2: To only show the adsence to 3 usergroups (1,3,4).
3: Hide the adsence from being displayed after the first post on certain private staff forum boards.
Does that look OK and will it work right!
I'm using 3 conditonals for these reasons below.
1: To show the adsence after the first post on every page.
2: To only show the adsence to 3 usergroups (1,3,4).
3: Hide the adsence from being displayed after the first post on certain private staff forum boards.
Code:
<!-- adsence block start --> [COLOR=red]<if condition="$post[postcount] % $vboptions[maxposts] == 1"> [/COLOR] [COLOR=red]<if condition="is_member_of($bbuserinfo, 1, 3, 4)">[/COLOR] [COLOR=red]<if condition="!in_array($forumid, array(16,17,18,19))">[/COLOR] <div style="padding: $stylevar[cellpadding]px 0px 0px 0px"> <table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" width="100%" align="center"> <tr> <td class="thead" align="left"><img class="inlineimg" src="$stylevar[imgdir_statusicon]/post_$post[statusicon].gif" alt="$post[statustitle]" border="0" /> Site Sponsor</td> </tr> <tr> <td class="alt1" align="center"> <!-- code start --> ADSENCE CODE HERE <!-- / code end --> </td> </tr> </table> </div> [COLOR=red]</if>[/COLOR] [COLOR=red]</if>[/COLOR] [COLOR=red]</if>[/COLOR] <!-- / adsence block end -->
Comment