The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to: Add a advertisement after first post?
How can I do this:
http://www.techimo.com/forum/t108340.html See the google ad after the first post? Thanks! |
#2
|
||||
|
||||
Not sure how, but may requiring hacking and I know will require editing of the PostBit template.
|
#3
|
||||
|
||||
No hacking what so ever just a simple template mod
specificly in the postbit template add this after $spacer_close <if condition="$post[postcount] == 1">$spacer_open add code here $spacer_close </if> Now, this will only work on the first page, im working out how to fix it with a small bit of math in the phpinclude tempaltes |
#4
|
|||
|
|||
did this get anywhere?
|
#5
|
||||
|
||||
Well - it works on the first post in a thread if you use the conditional Zachery posted, but if you want it on the first post in each page each thread, then it's gonna take a little longer
I use the conditional Zachery posted to have a different postbit altogether for the opening post in a thread - I just added my Google AdSense script to the bottom of that postbit... |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|