vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   google adsense placement question (https://vborg.vbsupport.ru/showthread.php?t=100948)

bada_bing 11-16-2005 07:21 PM

google adsense placement question
 
I want to be able to add the google ads to the very bottom of all my forums in the footer area. Does anyone have the code and how to do this? I also want this code to be condition based meaning google adds should only appear if you are not part of a group. For example paid subscriptions,admins, moderators DONT see the adds but everyone else does.
I am running 3.0.7 for vbulliten and have searched the site and cant find a code to so this . can someone please help?

thank you.

tnguy3n 11-16-2005 08:25 PM

something like:
HTML Code:

<if condition="!is_member_of($bbuserinfo, array(5,6,7))">google code in here</if>
add to the array more usergroups as you wish.

steven s 11-18-2005 02:47 AM

I don't know why you want to hide adsense. I find that it ads to the content of the forum.

Neutral Singh 11-18-2005 01:46 PM

hide adsense only for paying members ;)

bada_bing 11-18-2005 05:24 PM

Quote:

Originally Posted by tnguy3n
something like:
HTML Code:

<if condition="!is_member_of($bbuserinfo, array(5,6,7))">google code in here</if>
add to the array more usergroups as you wish.

can you explain where and where exacly I add this code for the location I want to place it??
Not ready a coder as you can tell but I try to get by.

bada_bing 11-29-2005 01:21 AM

Quote:

Originally Posted by bada_bing
can you explain where and where exacly I add this code for the location I want to place it??
Not ready a coder as you can tell but I try to get by.

Any Help with this?

Teegtahn 12-04-2005 02:38 PM

Edit your default template, Styles Manager -> Default Template, "All Template Options" (or something to that effect) - Look for the FOOTER HTML code.

Note: if any of the themes you've installed have customized footers, this will not recursively change them all, you will need to edit each one by hand.


All times are GMT. The time now is 02:52 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.01389 seconds
  • Memory Usage 1,721KB
  • 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
  • (2)bbcode_html_printable
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (7)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