vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.5 Template Modifications (https://vborg.vbsupport.ru/forumdisplay.php?f=155)
-   -   Adsense after last post, above quick reply (https://vborg.vbsupport.ru/showthread.php?t=112488)

Sir_Yaro 04-07-2006 10:00 PM

Adsense after last post, above quick reply
 
In SHOWTHREAD template find:
Code:

<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:
Code:

<center>
< ****** PUT ADSENSE CODE HERE ***** >
</center>
<br />

example:
Code:

        <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?


All times are GMT. The time now is 05:50 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
  • Page Generation 0.01121 seconds
  • Memory Usage 1,731KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (3)bbcode_code_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (13)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete