The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Advertising betwen posts
Please check out this link:
http://forums.multiplayer.it/showthr...4&pagenumber=2 it's possible to have in vB3 too the text-based advertisement between two posts? thank you |
#2
|
||||
|
||||
Just use the post spacing mod, and include the text after the <br /> (If it creates an extra line, remove the <br />)
if you need further help, just ask. |
#3
|
|||
|
|||
in other words so?
Quote:
|
#4
|
||||
|
||||
That should work. Use <span class="smallfont">ADVERTISING</span>
That will work better. And add a <br /> before if it doesn't go onto a new line once you add it. |
#5
|
|||
|
|||
Ho wmany adds do you want :/
|
#6
|
||||
|
||||
It will only add one, and repeat after the end of every post.
|
#7
|
|||
|
|||
I have been wanting to do this, the only hold back has been not wanting to have the same ad every post. Would it be possible with the <if> statements to give a new text link for each post?
Dave |
#8
|
|||
|
|||
Yes, I have done this on my forum, example: http://www.bikeforums.net/showthread.php?t=38748
In the postbit template, ad this at the very bottom: <if condition="$post[postcount] == 1"> <if condition="$bbuserinfo[usergroupid] == 1"> <-- ADVERTISING CODE --> <br> </if> </if> This is shown to guests only, once a member registers, I have moved the ad down the page, right above the quick reply. If my registered members donate, they go ad-free. The next change i will make is to ad the code to the TOP of the postbit template, and change the postcount line to "2". This way, the ad will be shown in the same place, but only if the thread has more then one post. |
#9
|
|||
|
|||
Not quite what I am looking for. You have 1 banner ad between the first and second post and no others. I would like <post1> ad1 <post2> ad2 <post3> tip <post4> quote of the day <post5> ad3 <post6>
Dave |
#10
|
|||
|
|||
How many ad's do you want to have? You can do it all with if or if else statements. Personaly, I wouldnt visit a forum if there was an ad or tip between every post... What about every 5th post? ie:
<if condition="$post[postcount] == 1"> <-- ADVERTISING CODE --><br> </if> <if condition="$post[postcount] == 5"> <-- TIP --><br> </if> <if condition="$post[postcount] == 10"> <-- ADVERTISING CODE --><br> </if> <if condition="$post[postcount] == 15"> <-- REGISTER! --><br> </if> Anyhow, that should give you a good start on what you can do. |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|