![]() |
if i stick a number like
<if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == 5) AND (!in_array($forum[forumid], array(2,3,32)))"> will it show the ads after every 5 posts?? if not, how do i make it do that? repetetive |
i have lots of forum areas, is there a way to do this so i can only show it to one forum area without listing all the other forum ids in the array?
|
Quote:
Code:
<if condition="THIS_SCRIPT == 'showthread'AND ($post[postid] == 5) AND (in_array($forum[forumid] == forumid))"> Quote:
Remember google only allow 3 ads, so you might as well do it manually. |
PHP Code:
, which should not be used for adsense , i might add because of TOS i believe |
Quote:
|
Quote:
Google Ad Placement
|
Is there anyway to have this code show like ever 3rd post or something like that. Awesome code, this has been the only adsense code ive gotten to work.
Nick |
@Dumi: add this to the line beginning with <if condition="THIS_SCRIPT == 'showthread' :
AND ($post[postcount] % 3 == 0) @question?: I think I got it, all users who don't see the adcode have to delete their cookies once, after that the adcode shows up. /edit: I guess I'm going for this option here: http://www.vbulletin.com/forum/showp...82&postcount=3 |
Quote:
|
How can I get it to show ads after the first post on every page of my thread, not just the first page like at present?
|
All times are GMT. The time now is 02:57 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:
|