The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Help merging 2 codes
Hello
Well, I was looking for ways to add Adsense code in my forum ================================================== ==== 1- I got this code for adding ADSENSE in first post of the thread... POSTBIT ==> Search <!-- message --> ADD BELOW Code:
<if condition="(($post[postcount] % $vboptions[maxposts] == 1))"> <div class="postbit_adcode"> <span style="float: right; width: 340px; height: 285px;"> Your Code Goes Here </span> </div> </if> 2 BUT I had to find a code that allows me to STOP Adsense ads in some forums and sections So, I got this code Code:
<if condition="$post[postcount] == 1"> <if condition="($thread['forumid'] != '56') AND ($thread['forumid'] != '27') AND ($thread['forumid'] != '11')"> <center> ADSENSE CODE HERE <center/> </if></if> So, How Can I merge the "ADSENSE in FIRST POST" code (1) With the Stopping Code (2) ? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|