vBulletin

Thank you for visiting. This is our website archive. Please visit our main website by clicking the banner above.
vBulletin FAQ is dedicated to helping the forum owner build, manage and profit from his vBulletin Forum
vBulletin Web Hosting - Free skins and styles for your vBulletin - Search Engine Optimization




Adsense on vB and ToS

dcteam
03-06-2005, 03:42 AM
Just wondered how people are putting ads on their forums and how you avoid putting ads on pages that would be against Googles ToS. i.e. Thankyou pages, no results pages etc.

Joeychgo
03-06-2005, 09:44 AM
Place the ads on the foum home, showtherad templates

dcteam
03-06-2005, 10:45 AM
Thanks Joey, but say you want to display them in the header without using CSS is there an easy way to do that?

Joeychgo
03-06-2005, 12:42 PM
well - I suppose there could be some kind of conditionals to keep it off pages the Adsense TOS prohibits.

I dont use the header for such things so Ive never done it. But if you go too your header template and look for

<!--
NEW HEADER &amp; NAVBAR

Now that the nav buttons are in the
navbar template, you can stick whatever
you like into this space.
This makes it much easier for novice
admins to customize their header
template without affecting important
navigation elements.
-->


You can replace that with the code for whatever you want and you'll get placement in the right side of the header

dcteam
03-06-2005, 01:03 PM
I guess that's what I was asking, do you know what conditionals are required (being a bit lazy here :) )

theMusicMan
03-06-2005, 01:20 PM
I guess that's what I was asking, do you know what conditionals are required (being a bit lazy here :) )

Hi dcteam

What would you be wanting to check for?

dcteam
03-06-2005, 01:51 PM
Basically as you can't have adsense on certain pages like confirmation, thank you pages etc. I'd like to be able to exlude them in code. So what I'm after is a list of vB pages that shouldn't display Adsense and then a workaround that can be used in any style.

Make sense?

noppid
03-06-2005, 02:26 PM
<if condition="THIS_SCRIPT == 'index' || THIS_SCRIPT == 'forumdisplay' || THIS_SCRIPT == 'showthread' || THIS_SCRIPT == 'printthread'">

<!-- Your adsense code here -->

</if>



That should so it.

dcteam
03-06-2005, 02:36 PM
Thanks noppid that was exactly what I was looking for, without having to do any work :)

noppid
03-06-2005, 03:32 PM
Thanks noppid that was exactly what I was looking for, without having to do any work :)

You're quite welcome.


vBulletin

seo book

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35

EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum