![]() |
Adsense after first post ONLY if there are more than X posts in the thread
Many forums use three ad units in their threads.. at the top, within the content, and then at the bottom. This mod was made with this kind of set up in mind.
The problem is the thread pages can tend to look horrible and overrun with ads if there is not enough content (say only a couple one line posts) between the ad units. This isnt for everyone as some people prefer to keep all their ads showing no matter what.. but for those interested, this template modification only displays adsense after first post if there are over X amount of posts in the thread. If you want everyone to see the ads you can remove the is_member_of AND line. Otherwise, you can add the user groups who you want to see the ads to it. (Don't forget to replace 'X' with a numerical value of your choice) Place the following at the very end of the postbit template: PHP Code:
|
Bingo! I've been waiting for this. Thank you very much, Moparx. :)
|
One thing, I would like to show my ads AFTER the post #5. How do I do that?
|
change:
PHP Code:
PHP Code:
|
screenshot?
|
Quote:
it displays an ad after the first post |
how about for forum display? Is there a way I could place it after certain amount of threads?
|
thank you! this work fine!
|
very useful
thanks |
I get a white blank page after i post, how do i fix this?
|
All times are GMT. The time now is 08:39 AM. |
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:
|