vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Google Adsense (https://vborg.vbsupport.ru/showthread.php?t=62171)

deaconxgp 03-05-2004 12:37 AM

Google Adsense
 
Hey guys/gals...I've searched and I can't find out how to add Adsense centered in the footer...

I went to VBT but my account isn't activated for some reason..oh well...

can someone help me just modify the footer ...i've done it but it's NEVER centered..i can't get it centered in the footer...

AN-net 03-05-2004 12:59 AM

<div align="center">textgoeshere</div>

ogden2k 03-05-2004 03:25 PM

This is what I use in my footer. This specifies the google adsence to not show on the pages listed in the script. This goes along with Google's rules.
HTML Code:

<if condition="THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'newreply' AND THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'editpost' AND THIS_SCRIPT != 'usercp' AND THIS_SCRIPT != 'sendmessage' AND THIS_SCRIPT != 'profile' AND THIS_SCRIPT != 'private' AND THIS_SCRIPT != 'subscriptions' AND THIS_SCRIPT != 'subscription' AND THIS_SCRIPT != 'member' AND THIS_SCRIPT != 'memberlist' AND THIS_SCRIPT != 'faq' AND THIS_SCRIPT != 'online' AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'announcement' AND THIS_SCRIPT != 'calendar' AND THIS_SCRIPT != 'report'">
  <!-- Google AdSense Code -->
  <div align="center"><br />
code here           
  </div>
  <!-- End Google AdSense Code -->
  </if>


DenzoForums 04-30-2004 01:41 AM

Quote:

Originally Posted by ogden2k
This is what I use in my footer. This specifies the google adsence to not show on the pages listed in the script. This goes along with Google's rules.
HTML Code:

<if condition="THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'newreply' AND THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'editpost' AND THIS_SCRIPT != 'usercp' AND THIS_SCRIPT != 'sendmessage' AND THIS_SCRIPT != 'profile' AND THIS_SCRIPT != 'private' AND THIS_SCRIPT != 'subscriptions' AND THIS_SCRIPT != 'subscription' AND THIS_SCRIPT != 'member' AND THIS_SCRIPT != 'memberlist' AND THIS_SCRIPT != 'faq' AND THIS_SCRIPT != 'online' AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'announcement' AND THIS_SCRIPT != 'calendar' AND THIS_SCRIPT != 'report'">
  <!-- Google AdSense Code -->
  <div align="center"><br />
code here           
  </div>
  <!-- End Google AdSense Code -->
  </if>


for some reason the links in my ads are not working.. is this google, or my code?
I am using in postbit at the very bottom. I could swear it was working earlier today...

Quote:

<if condition="$post[postcount] == $thread[replycount]">
<if condition="THIS_SCRIPT == 'showthread' or THIS_SCRIPT == 'index' or THIS_SCRIPT == 'forumdisplay'">
<if condition="$bbuserinfo[usergroupid] == 6 || $bbuserinfo[usergroupid] == 2 || $bbuserinfo[usergroupid] == 1">
<br>
<script type="text/javascript"><!--
google_ad_client = "pub-3573569262353836";
google_ad_width = 728;
google_ad_height = 90;
google_ad_format = "728x90_as";
google_ad_channel ="4365468521";
google_color_border = "003366";
google_color_bg = "000000";
google_color_link = "FFFFFF";
google_color_url = "FF6600";
google_color_text = "FF6600";
//--></script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
<br>
</if>
</if>
</if>

jons5150 05-09-2004 08:20 AM

Worked perfect. Thanks much...

younghistorians 05-15-2004 02:27 PM

thanks, this code works perfectly!

younghistorians 05-15-2004 02:33 PM

whoops, I just realized this is the VB2 forum....anyway im using this code for VB3 and its working fine.

DieselMinded 07-12-2007 11:23 PM

Quote:

Originally Posted by ogden2k (Post 482479)
This is what I use in my footer. This specifies the google adsence to not show on the pages listed in the script. This goes along with Google's rules.
HTML Code:

<if condition="THIS_SCRIPT != 'register' AND THIS_SCRIPT != 'search' AND THIS_SCRIPT != 'newreply' AND THIS_SCRIPT != 'newthread' AND THIS_SCRIPT != 'editpost' AND THIS_SCRIPT != 'usercp' AND THIS_SCRIPT != 'sendmessage' AND THIS_SCRIPT != 'profile' AND THIS_SCRIPT != 'private' AND THIS_SCRIPT != 'subscriptions' AND THIS_SCRIPT != 'subscription' AND THIS_SCRIPT != 'member' AND THIS_SCRIPT != 'memberlist' AND THIS_SCRIPT != 'faq' AND THIS_SCRIPT != 'online' AND THIS_SCRIPT != 'login' AND THIS_SCRIPT != 'announcement' AND THIS_SCRIPT != 'calendar' AND THIS_SCRIPT != 'report'">
  <!-- Google AdSense Code -->
  <div align="center"><br />
code here           
  </div>
  <!-- End Google AdSense Code -->
  </if>


This works Great Thanks !

DieselMinded 07-17-2007 06:24 PM

I think googles ripping me off

3,439 impressions and 1 click

for .39 Cents

Sigh

DM

G0F0RBR0KE 07-17-2007 06:54 PM

Quote:

Originally Posted by DiesellMinded (Post 1293863)
I think googles ripping me off

3,439 impressions and 1 click

for .39 Cents

Sigh

DM

The company are paying google and google is giving u the check.

DieselMinded 07-17-2007 07:52 PM

There not giving me no checks

lol

G0F0RBR0KE 07-17-2007 11:42 PM

You'll get a check once you get 100 or they'll add it to your paypal account. Either way.


All times are GMT. The time now is 04:44 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.01214 seconds
  • Memory Usage 1,744KB
  • 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_html_printable
  • (4)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (12)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