The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
phpadsnew after every 10. post
i want make text ads like google with own ads/links, i´m using adsense on the header i want now using phpadsnew text ads on every 10nd post of a thread...
how can i make it? i only know i must modifid a template postbit.... |
#2
|
|||
|
|||
anyone ever get this figured out? would be interested in know also
|
#3
|
||||
|
||||
i wanted to do this half way through a threw, but after every so many posts would be even better
|
#4
|
||||
|
||||
You might be able to do it with a conditional based on the post count. Otherwise you will need to edit the showthread.php file.
|
#5
|
||||
|
||||
nah it can be done with a conditional i.e.
HTML Code:
<if condition="$counter==10 or $counter==20 or $counter==30 or $counter==40">$phpadsnew</if> |
#6
|
||||
|
||||
This is nearly exactly what I am looking for except that some of my threads have 400+ posts and I was wondering if there was an easier way to tell it to add the ads every X posts rather then state between which posts to add them?
Any help is greatly appreciated! |
#7
|
|||
|
|||
Quote:
|
#8
|
|||
|
|||
Quote:
|
#9
|
||||
|
||||
Quote:
HTML Code:
<if condition="($post[postcount] % 10) == 0">$phpadsnew</if> |
#10
|
|||
|
|||
How do you call the phpcode for phpadsnew?
Is the code placed in the php include file? If so, how do you call the function? Thanx, Mike |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|