![]() |
Before I installed this hack I had my ad code in the showthread template where they were displayed after the last post. I modified that code for google_ad_client = "$post[ad_client_id]";
google_ad_channel ="$post[ad_channel]"; but it wasn't inserting any client id so no one way getting paid. :( So I removed the ad code from showthread and put it in the postbit template as suggested in the hack instructions. It works fine as far as functionality is concerned, but now the ads appear after the first post and we'd prefer them to show after the last post. Can anyone tell me how to do one of the following: 1) make the hack work with the ad code in the showthread template, OR 2) get the ad code in the postbit legacy template to display after the last post instead of the first post. Thanks! P.S. I changed it back to putting the ads after the last post so you can see where we'd like it. Here is the forum: http://hfboards.com/ |
Yeah what beano33 asked and is there a way to also have it pick a random member that has posted a reply?
Like: Admin 50% Thread starter: 25% Random member who has replied: 25% Or even: Admin 50% Thread starter: 25% Last member to reply: 25% |
hmm this makes adsense show on PMs too... does google allow that?
|
Quote:
|
Thats the only onnes I modified... I put the postbit part right in the bottom of the edit window, could that be it?
I edited the showthread.php as you said then opened postbit leg.. and dropped it right into the very bottom of it. Then when I got a PM it was right under the PM... I fixed it by adding a THIS_SCRIPT='SHOWTHREAD' to the postbit and it stopped showing... |
So noone else has had this happen?
|
Quote:
I uploaded version 1.1 of this hack where ads are explicitely shown only in showthread instances. Upgrade instruction is included: Quote:
|
So any suggestions on making it post below the posts in the showthread.php?
Though the placement after the first post is growing on me,,, lol Anyone edit this to share with ALL posters in a thread and not just the starter? One last question.. :) Can we make it also post right under the last post in the thread? Was just thinking I could put a conditional around the one after the first ost to show to only non membes and have the other show after the last post on the page to all with a conditional that would only add it if there was 3 posts after the first post... |
More thinking.. This would rock :)
Unregistered visitor Post #1 Ad Post #2 Post #3 Post #4 Post #5 Ad Registered with 5 posts Post #1 Post #2 Post #3 Post #4 Post #5 Ad Unregistered and Registered with say 3 posts Post #1 Ad Post #2 Post #3 |
Quote:
Code:
https://vborg.vbsupport.ru/showpost.php?p=648365&postcount=15 Code:
Originally Posted by AlexanderT |
All times are GMT. The time now is 08:06 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:
|