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




Adding adsense - 2 questions

Big Dan
08-12-2006, 10:57 AM
I used to have adsense below the navbar and followed the article on vb.org, I took it down last night, I want to put it at the bottom of all the pages, right above the footer. Where would I place the code?

Also, I don't want it to show on one forum, my Moderators forum which is hidden to guests thus the bot can crawl there, is there an easy way to hide it from one forum?

Thanks in advance,
Dan

Peggy
08-12-2006, 01:34 PM
You would place the code in the forumhome, forum display, and showthreads templates, above the $footer code.

I have no idea how to hide it from just one area. Joey may be able to help you with that

Joeychgo
08-12-2006, 03:10 PM
You can hide it using conditionals....which can be a Pita

Big Dan
08-13-2006, 08:05 AM
Thanks, I think I'll just add it globally. I don't think the adsense bot will get to POed over a couple pages.

^I'll let you know when they close my account :D

noppid
08-13-2006, 08:11 AM
<if condition="$forumid != n">
<!-- adsense code here -->
</if>


That will work in ForumDisplay and ShowThread.

Big Dan
08-13-2006, 08:41 AM
<if condition="$forumid != n">
<!-- adsense code here -->
</if>


That will work in ForumDisplay and ShowThread.

I didn't think it was that simple. Works great! Thanks :)

noppid
08-13-2006, 08:43 AM
Glad to help. :)

b2w
08-13-2006, 10:30 AM
Is it ok to put it in the footer? What I mean is the crawlers won't be able to see private forums right? Or does it HAVE to go into FORUMHOME?

noppid
08-13-2006, 11:11 AM
Adsense in the footer is useless IMO. It won't be noticed much and will affect your cpm.

I would make the effort to put ads where people go and will see them.

The conditional code above is for the forumdisplay and showthread templates only.

Big Dan
08-13-2006, 01:02 PM
Adsense in the footer is useless IMO. It won't be noticed much and will affect your cpm.

I would make the effort to put ads where people go and will see them.

The conditional code above is for the forumdisplay and showthread templates only.

I agree with Noppid. I put an adsense block on the bottom forumhome, threaddisplay, and forumdisplay just above the footer.

I just added a banner (smaller than "leaderboard" on top of threaddisplay and forumdisplay. This way there aren't ads plastered all over the home page. :)

Peggy
08-13-2006, 07:57 PM
That's what I did on my new forum, I put them at the bottom on forumdisplay and at the top on showthread

b2w
08-14-2006, 06:40 AM
Well the adsense doesn't look right in the header on the main style so it's at the bottom...but my question was not answered. Help!

Joeychgo
08-14-2006, 06:51 AM
Dude - Why not put it at the end of the navbar template code?

noppid
08-14-2006, 07:14 AM
1) Is it ok to put it in the footer?

2) What I mean is the crawlers won't be able to see private forums right?

3) Or does it HAVE to go into FORUMHOME?

1) In some cases, no.

2) No they can't.

3) That is up to you as long as the ad is placed within the adsense TOS.

b2w
08-14-2006, 10:12 AM
1) In some cases, no.

2) No they can't.

3) That is up to you as long as the ad is placed within the adsense TOS.

Thanks! :)

noppid
08-14-2006, 10:35 AM
Glad to help.

Big Dan
08-14-2006, 10:58 AM
Dude - Why not put it at the end of the navbar template code?

Because than it shows on almost all pages, some of which don't have content; a violation of the TOS. Adsense isn't making me rich but I don't wanna get kicked out just yet. ;)

Sonnie
08-14-2006, 02:06 PM
I have Adsense below the navbar and at the footer. I monitor both via channels and below the navbar is 20-1 better than the footer area. It may be different for different forums though.

I use the following conditions to place various ads in various places... it take the Adsense out of the Private areas and any other forum that doesn't pertain to home theater, otherwise it picks up pretty useless ads.

<if condition="in_array($forumid, array('1', '2', '7', '8', '9', '10', '11', '14', '15', '16', '17', '18', '19', '21', '23', '24', '25', '27', '28', '29', '30', '32', '33', '34', '35', '36', '38', '39', '40', '43', '44', '45', '46', '47', '48', '49', '50', '51', '52', '53', '54', '55', '56', '57', '58', '59', '60', '61', '62', '63', '64', '65', '66', '67', '68', '69', '70', '71', '72', '73', '74', '75', '77', '79', '80', '81', '82', '87', '88', '89', '90', '92', '93', '94', '95', '96', '97', '98', '99', '100', '101', '102', '103', '104', '105', '106', '108', '109', '110', '111', '112', '113', '114', '115'))">
<center>
ADSENSE CODE HERE
</center>
</if>


<if condition="in_array($forumid, array('3', '4', '5', '6', '13', '20', '22', '26', '42', '31', '37', '41', '76'))">
<center>
ANOTHER TYPE AD HERE
</center>
</if>

<if condition="in_array($forumid, array('12', '91', '107'))">
<center>
ANOTHER TYPE AD HERE
</center>
</if>

<if condition="in_array($forumid, array('78', '83', '84', '85', '86'))">
<center>
ANOTHER TYPE AD HERE
</center>
</if>

noppid
08-14-2006, 05:40 PM
Very nice sonny. In the past, I thought the function in_array() was unavailable to template parsing?

Hell³
08-14-2006, 06:12 PM
Because than it shows on almost all pages, some of which don't have content; a violation of the TOS. Adsense isn't making me rich but I don't wanna get kicked out just yet. ;)What you mean they don't have content?... if you mean parts like the usercp, memberlist, faq, or pretty much anything that are not threads and posts then I guess google and I have different definitions for "content". I have placed adsense at the bottom of the navbar and so far I haven't recieved any TOS violation warning from them.

I think the term you're referring to pertains to placing ads in blank pages or with hidden text.

noppid
08-14-2006, 06:28 PM
For me it's more about my members in some respects then income. You have to draw a line.

I see no need to plaster and ad in someones face in the UCP which is essentially their private area on the forum. (Just one example, I have issues with other areas and ads for guests as well.)

When you consider that the clicks move our members away from our sites, worse moves guests along too which we need to convert to members, we must be judicious in ad placement.

It's a balancing act. There's give and take, but we don't want to fall down.

Hell³
08-14-2006, 06:57 PM
I know what you mean. What I did was to filter more for usertype than select the placement. Registered users see a less intrusive linkblock on the bottom of the navbar. Non registered users see a leaderboard in that same placement. The only other ad placement is on the showthread, between the last post and the quickreply box.

noppid
08-14-2006, 07:17 PM
Very nicely thought out. Thanks for the tip.

Big Dan
08-15-2006, 09:51 AM
What you mean they don't have content?... if you mean parts like the usercp, memberlist, faq, or pretty much anything that are not threads and posts then I guess google and I have different definitions for "content". I have placed adsense at the bottom of the navbar and so far I haven't recieved any TOS violation warning from them.

I think the term you're referring to pertains to placing ads in blank pages or with hidden text.

I was under the impression that pages with adsense actually have to text content. Places like the UserCP the bot cannot crawl anyhow, so nothing is going to be targeted. Forum searches are only links to content.

To each his own, you're proably correct I had it placed on all pages under the navbar for a while with no complaints from Google, I just don't see the need for ads on every page too.


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