![]() |
|
Mod Options |
![]() |
|||||||||||||||||||||||
Show Ads After post number "x" and "x"
![]() Developer Last Online: Jul 2019 ![]() ![]() ![]() This modification is in the archives.
![]() This is a very simple template modification have similar to adsence hack and the random postbit advert hack. But you have more control with this hack as you change the option for where the adverts will appear "after which message"
Add This code to the bottom of your postbit template. Here is the code:
The above code would show an ad after the first post on every thread. Change this number to show the advert under a different post. Or use loads together like this:
The above will show adverts after the 1st, 10th and 20th post in every thread. Also there is another way for doing this:
Download Now Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Show Your Support
No members have liked this post.
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
Show Thread Enhancements Show Adsense After post number "x" and "x" | mcyates | vBulletin 3.7 Add-ons | 11 | 13 Jul 2009 21:45 |
Show Thread Enhancements Show Adsense After post number "x" and "x" | mcyates | vBulletin 3.6 Template Modifications | 17 | 08 Jul 2008 19:25 |
Comments |
#2
|
||||
|
||||
You could combine them all into one.
No members have liked this post.
|
#3
|
|||
|
|||
yeah, thanks for that. But i've got different codes for each one. that would be fine for 1 standard adverts of the same.
No members have liked this post.
|
#4
|
||||
|
||||
Thanks for sharing. Could you please put your instructions in a .txt file and attach it also? Thanks.
No members have liked this post.
|
#5
|
||||
|
||||
Thanks man.
No members have liked this post.
|
#6
|
||||
|
||||
This works better for me :
No members have liked this post.
|
#7
|
||||
|
||||
Yet another way to do this:
This will do as above, placing an ad every 5 posts (up to 100). To exclude groups or raise the post limits, just change the first two arrays ![]() Enjoy No members have liked this post.
|
#8
|
|||
|
|||
It did not work in postbit template so put it into postbit_legacy and works fine
No members have liked this post.
|
#9
|
||||
|
||||
Originally Posted by wolfstream
I installed also this but adsense does not show No members have liked this post.
|
#10
|
|||
|
|||
works fine here, make sure you're in one of the usergroups that actually shows this, and it should work fine.
Also, make sure that you replace all the google stuff with your own google code and settings, that could be part of it as well. I've been running like this for a while, had no problems with it at all ![]() No members have liked this post.
|
#11
|
||||
|
||||
Thanks man.
__________________
Please don't PM me , Send request or enquiry to the Forum support vBulletin Arabic, vBulletin Manual , vBulletin API No members have liked this post.
|
#12
|
|||
|
|||
Sometimes it shows sometimes not I couldn't figure out
No members have liked this post.
|
#13
|
|||
|
|||
Originally Posted by Lapsetur
If it's "randomly" not working, then most likely it's not the code at all, but communication with adsense. This happens occasionally.
No members have liked this post.
|
#14
|
|||
|
|||
Well the code did not work with postbit but work on postbit_legacy. Why this happens also?
No members have liked this post.
|
#15
|
|||
|
|||
I also put an adsense code to header and it work fine but in ipostbit_legacy I am having problem
No members have liked this post.
|
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 06:41.