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 please help i will pay for the help (https://vborg.vbsupport.ru/showthread.php?t=145647)

croportal 04-24-2007 06:52 AM

Google adsense please help i will pay for the help
 
my biggest google earning are in navbar and in header template view on all forum

but i have one forum that google not allowed, and i want google adsense to show on all forums except one

i also want to show after 1st post and affter last post on every page except one forum?

i will pay to someone do that for me

adsense after second and last post but with option to chose in which forum to display

notrious 04-24-2007 05:07 PM

bro u can use only 3 sets suppose if u have puted 3 in header this will now show addz in inside posts of as 1 and last post

and 99% posibility ur site will be got banned by google

Sean S 04-24-2007 06:30 PM

edit the templates that contain the adsense code and add an if condition, probably the easiest way to do,

Code:

<if condition="$forum[forumid] == X">
                &nbsp;
        <else />
                place adsense code here
</if>

just replace X with the id of the forum that you don't want the ads to be displayed. Another thing you can do is to create a new style without the ads, and set that style as the default style for that forum.

croportal 12-11-2007 03:14 PM

Quote:

Originally Posted by Sean S (Post 1234861)
edit the templates that contain the adsense code and add an if condition, probably the easiest way to do,

Code:

<if condition="$forum[forumid] == X">
                &nbsp;
        <else />
                place adsense code here
</if>

just replace X with the id of the forum that you don't want the ads to be displayed. Another thing you can do is to create a new style without the ads, and set that style as the default style for that forum.


do u know how can i instead of X enter forum ID to only show to this forum

example: i want to show adsense only to forum ID 88, not to other forums, in other forums i want to put something else. its easier instead X put just one ID then to put all others ID from rest forum category ( i have 100 forum categorys :D :D :D )

Magnumutz 12-11-2007 03:44 PM

If the forum ID 88 is the one where you don't want to have google ads in, then replace X with it and place the coder where Sean told you.

Basically, yes... X is the forumid that won't have ads.


All times are GMT. The time now is 08:50 AM.

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.01087 seconds
  • Memory Usage 1,720KB
  • 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_code_printable
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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