hmm, so how would i know which one of the geek codes to use, so that I may control what ads show up in that area?
I also found this. I just do not know what it means.
Quote:
|
Originally Posted by The Geek Here is what I did on one of my sites. Its not perfect though...
Create a new plugin
Title: GAB postbit
hook: postbit_display_start
code: PHP Code: global $GAB_ads;
--------------------------
Then at the very end of my postbit template, I put: PHP Code: <if condition="($post[postcount] % 16 == 0) OR ($post[postcount] == 1) AND THIS_SCRIPT=='showthread'"><div align="center">
$GAB_ads[1]</div>
</if>
That puts a gab block after every 1st or 16th post (I have 15 posts per page). The only hitch with this is that if there are soft deleted posts, on subsequent pages, the position moves down one. I havent been nothered enough to look into it any further.
HTHs give you an idea |
This is what I need. I need to have the ads on every page, in the redirect, in VBA, in the first post of every thread. I also want to control what ad shows up where and when. For each ad and location, I want to control the ads that shows up. any real feed back would me helpful.