The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Adsense inside first post text (aligned right)
Id like to do something like this:
|
#2
|
|||
|
|||
count me in on that too i like that idea
|
#3
|
||||
|
||||
me too for a long time.
|
#4
|
|||
|
|||
Try this-
In postbit search: PHP Code:
PHP Code:
If you want advert in 1st post only, try this: PHP Code:
Enjoy |
#5
|
|||
|
|||
Thanks, im trying to insert it
What is !$GLOBALS['vbulletin']->GPC['ajax'] for? |
#6
|
||||
|
||||
I tried this and I get an ad in the first post in the first page of a thread and in the last post in every page of a thread.
I'm looking for a way to get an ad to show in the first post on every page AND the last post on every page. Any ideas? Edit Add: I've got Code:
<!-- Start AdSense Google within post message --> <if condition="(($post[postcount] % $vboptions[maxposts] == 1) or ($post[islastshown]))"> <span style="margin: 2px; float: right; width: 301px; height: 251px;"> GOOGLE ADSENSE CODE HERE </span> </if> <div id="post_message_$post[postid]">$post[message]</div> <!-- End AdSense Google within post message --> I echo this question. |
#7
|
|||
|
|||
i think its to stop, if your the person who when posts on quick reply, is the post on the next page, then it will only show hte advert
i think that stops it, testing to find out |
#8
|
|||
|
|||
<a href="https://vborg.vbsupport.ru/showthread.php?t=140664" target="_blank">https://vborg.vbsupport.ru/showthread.php?t=140664</a>
|
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|