![]() |
Adsense Under First Posts - Clean
This mod ads a simple google adsense advertisement below the first post in your forum.
The advantage of this is if you do not want to clutter up your forum with a big table etc. Working Demo: http://discusscareers.com/ Installation Time: 1 min Easy. Insert this code at the very END of your postbit_legacy template PHP Code:
|
Here is a screenshot
|
Code:
$spacer_open |
Quote:
Back in the day they tought everyone to use all caps too... :p |
Quote:
As for caps, that is ancient history :) |
While <br> and <br /> will work the same, one will validate and one won't. Given you are one of the many that wishes to maintain validity throughout your website, you'd need to use <br /> :).
|
Quote:
|
Quote:
|
Let's take it one step further then, shall we :) :
Code:
$spacer_open |
Lolz!
|
thanks man i didt like the random one that we have it already on the forum
|
Thanks for this man! :)
|
Also, Google Adsense uses "documet.write()", which isn't part of the XHTML specification. So while I agree that one should use "<br />", since this is a Google Adsense hack, it's pointless to try to be XHTML-valid in the first place.
|
it post the ad under every post.... Is it just supposed to be first?
|
this mod does not work. It ads it under every post. Viewsource and you will see the adsense ad code multiple times. This is against Adsense TOS.
|
^^adding it under each post for me too.....any ideas??
Peace |
Great Mod. Worked for me and only puts ads after first post.
Installed :) |
Very nice mod!
But I have one problem. I got this installed without problems on 2 custom templates, but on the default template the following problem occurs: https://vborg.vbsupport.ru/attachmen...1&d=1150307264 A grey space appears underneath it. Can anybody please help me! I have no other template modifications, I hope there is a fix for it. |
adds it under every post for me too...
|
i get it under the first two post.
???? |
ok got it to work, looks great. thanks.
dont know if anyone was doing what i did wrong but i had to make sure i removed all of this: <!--ADSENSE CODE BELOW --> |
Finally! A code that works! There's about four things I've tried in this forum that don't work at all, it seems as though the creators don't bother testing their hacks before they post them. Is there a way to have it display under each post instead of just one?
|
why when using firefox, and there is a new post done after the first post and the banner shows, does the page reload to a white page and never show the thread?
|
Hi
I have just loaded this onto my website (www.newbusinessportal.co.uk), but the ads aren't showing. Is this because it takes a while for google to realise that you have added the code? Thanks Will |
work in the first and the seconds !!
i need only under First Posts? |
All times are GMT. The time now is 05:55 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:
|