The Arcive of vBulletin Modifications Site. |
|
|
#1
|
||||
|
||||
|
As you my find when you browse this forum digital point, e.g :
http://forums.digitalpoint.com/showthread.php?t=1525374 you can find variable ad sizes displayed inside post the poster my writ 2 paragraphs adsense is put between them 1- how is this done? 2- how to change adsense sizes for every visit? |
|
#2
|
|||
|
|||
|
Hi,
do you found an answer, i was also wondering how this is done. |
|
#3
|
|||
|
|||
|
I think that can be done with 3.7 and above.
Below 3.7 i think its more difficult.... You can do this editing ad_showthread_firstpost template, inserting there the adsense code. I'm running 3.6.4 and i don't have ad_showthread_firstpost template.... here you have some help http://www.forumbite.com/tutorials/v...-to-vbulletin/ |
|
#4
|
||||
|
||||
|
Sorry to bump this.
I am interested to know if someone knows how to add ads in middle of first post, just as in digitalpoint..
|
|
#5
|
||||
|
||||
|
Yeah it would be great if anyone can share how to do it
|
|
#6
|
|||
|
|||
|
>> Up
|
|
#7
|
||||
|
||||
|
how to split post content into two groupd ? in order to put ads between them ?
|
|
#8
|
||||
|
||||
|
I think you (or someone knowledgeable in php) could make a plugin that reads the post as a string, counts the number of line breaks (<br />) then inserts the adsense code inbetween the middle line breaks.
|
|
#9
|
||||
|
||||
|
i looked at source code in digitalP i think they use javascript
|
|
#10
|
|||
|
|||
|
up we need this in vb4 ...
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|