The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Postbit Banner in a specific forum
So am trying to replace the Google banner that I have right after the first post in any thread by a banner.
I want this in only one specific forum So I tried this code Code:
<if condition="$post[postcount] % $vboptions[maxposts] == 1"> <if condition="$forumid == 29"> Banner Code Here <else /> Google Code Here </if> </if> --------------- Added [DATE]1308492613[/DATE] at [TIME]1308492613[/TIME] --------------- OK I found the solution in this thread https://www.vbulletin.com/forum/show...t-In-A-Thread? The code that worked for me is this Code:
<if condition="$post[postcount] == 1 AND in_array($GLOBALS[forumid], array(29))"> Banner Code here </if> <if condition="$post[postcount] == 1 AND in_array($GLOBALS[forumid], array(1,2,3,4,..etc))"> Google Code here </if> |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|