Log in

View Full Version : Adsense after last post, above quick reply


Sir_Yaro
04-07-2006, 10:00 PM
In SHOWTHREAD template find:
<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">
above add:
<center>
< ****** PUT ADSENSE CODE HERE ***** >
</center>
<br />

example:
<strong>&raquo;</strong>
</div>
</if>
<br />

<center>
<script type="text/javascript"><!--
google_ad_client = "pub-9550387216599333";
google_ad_width = 468;
google_ad_height = 60;
google_ad_format = "468x60_as_rimg";
google_cpa_choice = "CAAQv638zwEaCAzJTsHtIatNKL3gl3Q";
//--></script>
<script type="text/javascript" src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</center>
<br />

<if condition="$show['quickreply'] OR $show['ajax_js']">
<!-- ajax errors table -->
<table class="tborder" cellpadding="$stylevar[cellpadding]" cellspacing="$stylevar[cellspacing]" border="0" style="display:none; position:absolute" id="ajax_post_errors">

Snake
04-10-2006, 06:38 PM
Thank you. That's a great idea! :)

www.bonethugsforums.com

Hemanth
04-17-2006, 12:13 PM
Ok One Question.

If you load a page it'll display a google ad. Now the user adds a Quick reply. Then is the ad'll be displayed again after the Quick-message?

Sir_Yaro
04-17-2006, 12:39 PM
Of course. Why not ? :)
You can test it here:
http://forum.mandriva.org.pl/forumdisplay.php?f=40
(guests posting is allowed)
(but unfortunatelly Quick Reply isn't :D )

shanemcse
04-17-2006, 06:16 PM
Thanks. Great job.

turtletracker
05-01-2006, 07:34 AM
Works great, thanks!

ryancooper
05-31-2006, 04:23 PM
nice, simple and clean. Thanks!

TSM_Pikachu
06-15-2006, 03:53 PM
AGHHHHHHHHH!!!!!!!!!!!!
The only adsense I can get to work is the one we put in the search bar.....can someone help me?
www.gen5alive.com/forums
NO Banners, adsense after first post doesnt work, adsense by that quick reply doesnt work, nada.....................:surprised:

monkeywarplane
07-25-2006, 03:05 PM
Works great!

Stuart

navjotjsingh
09-10-2006, 05:53 PM
Worked greatly on my 3.6.0!

yogeshp
09-04-2008, 06:23 PM
it works well... thank you.

Bob_R
09-09-2009, 11:47 AM
This didn't work for me VB 3.8.3?

Is there an update?

I'd like an adsense add after the last post, above quick reply and I've tried this any other code and no dice.

Bansheebob
01-05-2010, 09:26 PM
how come im getting a border around mine like 2 pixels thick?