View Full Version : [HowTo] Add google adsense after first post
P.Jackson 26th July 2004, 12:07 AM Ok well this is a easy modifaction that will show google adsense after the first post :)
Template : Postbit
Find <!-- / post $post[postid] popup menu -->
After it Add
<center><if condition="$post['postcount'] == 1">
<table><tr><td><script type="text/javascript"><!--
google_ad_client = "pub-your code here";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td></tr></table>
</if></center>
this will show
http://www.xtremecomputing.co.uk/forum/showthread.php?t=2768
Hope this is of some use to people :)
Disjunto 26th July 2004, 12:10 AM i've already mentioned this on these forums :)
guess i should have posted it really :) well done for brigning it up
Floris 26th July 2004, 12:11 AM Please remove your own google code, so others won't accidently run your banners without understanding why that happens and thinking they run their own code :)
P.Jackson 26th July 2004, 12:14 AM google_ad_client = "pub-your code here"; thats where there code goes :) its a long number mine isnt on ;)
Disjunto 26th July 2004, 12:15 AM he has a point floris :)
Floris 26th July 2004, 12:24 AM Yeah he has :/
{blushes}
I overlooked that bit
Disjunto 26th July 2004, 12:26 AM although i am upset how i tell him stuff and he post it :)
/me points and laughs at the red floris
P.Jackson 26th July 2004, 07:50 PM yes forgot to mention you helped me but with your code it was messed up ;)
Alzeimer 30th July 2004, 06:28 PM I need to do this only for unregistered users, what can I do?
THanks ;)
Disjunto 30th July 2004, 06:37 PM put this as code
<center>
<if condition="$bbuserinfo['usergroupid'] == 1">
<if condition="$post['postcount'] == 1">
<table><tr><td><script type="text/javascript"><!--
google_ad_client = "pub-your code here";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script></td></tr></table>
</if>
</if>
</center>
Alzeimer 30th July 2004, 07:08 PM Thanks, now works!!
n9com 13th August 2004, 05:59 PM it has been confirmed by google this is against their terms. Just thought u should know.
LiquidIce 16th August 2004, 12:04 AM I put my code in nav bar under
<!-- / NAVBAR POPUP MENUS -->
</if>
now it shows up on all pages :)
Brad.loo 16th August 2004, 06:21 AM it has been confirmed by google this is against their terms. Just thought u should know.
This is true, anyone that has done this modification should remove it. I wish google was more clear on their terms sometimes. :rolleyes:
kall 17th August 2004, 04:06 AM This is true, anyone that has done this modification should remove it. I wish google was more clear on their terms sometimes. :rolleyes:
Umm..
What exactly has been confirmed as being against their terms?
I haven't installed this version of the template modification, but I did at one point have one that basically looked like a post by someone...and got told off for that.
Now, I have it looking nothing whatsoever like a postbit box, and there have been no complaints. (It's in the legacy style, with nothing other than a box on one 1/4 in alt1, saying Sponsored Links, and the other 3/4 in alt2 with my adsense box.)
P.Jackson 18th August 2004, 07:19 PM i can't see why it's against there rules anyways :/ it's just like having it in the header template etc etc
gthelp.com 19th August 2004, 06:07 AM can you be more specific as to what is against their terms?
P.Jackson 19th August 2004, 07:55 PM well personally im still using it have done for awhile ive even reported emails i get spamming click google or be banned etc etc to google and they where pleased aswell as saying my site was very informative :eek: to be honest it can't be against there rules how could it be! its the same as having it in the header!
Brad.loo 28th August 2004, 02:18 PM well personally im still using it have done for awhile ive even reported emails i get spamming click google or be banned etc etc to google and they where pleased aswell as saying my site was very informative :eek: to be honest it can't be against there rules how could it be! its the same as having it in the header!
Well I speak from experance, I was told it was agenst the rules and to remove it so I did. Later on they suspended my acount anyway because they said I was using bots to click the ad's, when infact it was their own googlebot doing it :rolleyes:
I've had bad experances with the whole program, others have told me it is great but personaly im done with google for anything more then a search engine.
If they told you something differnt then mabey the rules have changed again, at any rate I wish you luck on using the program, I never saw a dime from google. :(
|