![]() |
Advertisement Inside First Post In A Thread
1 Attachment(s)
Many People were asking for this Mod, This will add advertisement inside your first post
728 x 90 or 468 x 60 advertisement Open Postbit or Postbit_legacy Template, which ever you are using Look for this code Code:
<vb:if condition="$show['postedited']"> Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"> |
This is already a built-in option in 4.x.
|
Tagged for my next forum :)
|
Quote:
|
This is useful, thanks. :)
How would I modify the conditional to make this appear only in certain formid's? |
Quote:
and from dropdown Page select Thread Quote:
|
Quote:
Quote:
Quote:
|
Quote:
|
Quote:
|
Quote:
Quote:
|
you are getting message becuase vb4 already has an ad program integrated
you cant parse the same function more than once your add function does |
Quote:
But you could try adding <vb:literal>... </vb:literal> tags around the code. |
Works great with the tags :)
thanks |
Glad to hear that. :)
|
Quote:
|
I have installed this to my site.
I have one question though, How come the ads randomly appear? Let me explain more. I will click on a thread and under the first post there will be an ad. I will backspace after and go to another thread then the ad does not appear under the first post on the new thread. So basically the ads randomly appear on and off under the first posts. Any advice? |
Could this code be adapted to be used in the cms? Like, after the third article print a banner, or insert a widget?
|
goood work
installed 5 stars thanxxxx |
this mod only works if you have edited the post
you got put it wrong... try this Put this script: Code:
<vb:if condition="(THIS_SCRIPT == showthread) AND ($post[postcount] == '1')"> After this: Code:
{vb:raw template_hook.postbit_end} |
Not working on 4.0.3 need little help here...
|
thank you ...
|
Sorry, again, but does anyone know how to limit to certain threads or boards?
|
spot on the same code as i have been using, altho i place my ads at the top of the content. actually i posted this code somewhere on vb.org. not saying you stole it ;) just was going to make my own thread but you beat me to it.
|
Is there any way to set up the ad to show up only by 1 thread or a single announcement?
|
https://vborg.vbsupport.ru/attachmen...9&d=1265162860
How can I get the ad to show under the text instead of showing at the right side of the post? I added 2nd ad using <vb:literal>... </vb:literal> but it's showing under the first ad on the right side that are limited 300 pixels. can't get it to show under the text on left side. please help. thanks. |
pleasehow do i make the advert to be at the middle of the first post?
|
Thank you. Works with vb 4.2.1 Patch Level 1
|
All times are GMT. The time now is 04:55 PM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|