Go Back   vBulletin Setup > vBulletinSetup Information > Making Money Marketing vBulletin

Why not Register and remove some of the ads from vBulletin Setup
Post New Thread  Reply



#1   04-16-2008, 03:08 PM
Forum Lover has a spectacular aura about Join Date: Dec 2007 Posts: 48 Location: Toronto
How to ristrict adsense into certain sub forum


I am using this hack right now.
Google Adsense Postbit Integration - vBulletin.org Forum

Is there any way I can disallow adense in certain sub forum?
Quote   |  



#2   04-16-2008, 03:17 PM
Send a message via Yahoo to MaddenGods MaddenGods is a jewel in the roughMaddenGods is a jewel in the rough Join Date: Jan 2008 Posts: 625 Location: Ohio
Re: How to ristrict adsense into certain sub forum


You'll need to use a conditional like

<if condition="$forumid == XX">&nbsp;<else /> ADSENSE CODE </if>

Replace XX with the forumid
--------------------
David / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Check out my Webmaster Articles at the vBulletin Setup Blog! SEO Talk
Quote   |  



#3   04-16-2008, 03:24 PM
Michael Biddle is just really niceMichael Biddle is just really nice Join Date: Aug 2006 Posts: 1,514 Location: Anaheim, CA
Re: How to ristrict adsense into certain sub forum


That wont work. its a plugin ;)
--------------------
Do NOT PM me for Support!
Michael Biddle / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Quote   |  



#4   04-16-2008, 03:34 PM
Send a message via Yahoo to MaddenGods MaddenGods is a jewel in the roughMaddenGods is a jewel in the rough Join Date: Jan 2008 Posts: 625 Location: Ohio
Re: How to ristrict adsense into certain sub forum


lol, well Whatever template that product installs, take the code from above and at the very top of that template put::

<if condition="$forumid == XX">&nbsp;<else />

HERE IS ALL THAT TEMPLATES CODE AND ALL OF ITS GLORY! WHICH WILL BE YOUR ADSENSE AND STUFF

</if>

caps lock cause im on my way to awesome town!
--------------------
David / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Check out my Webmaster Articles at the vBulletin Setup Blog! SEO Talk
Quote   |  



#5   04-16-2008, 04:03 PM
Forum Lover has a spectacular aura about Join Date: Dec 2007 Posts: 48 Location: Toronto
Re: How to ristrict adsense into certain sub forum


Well I tried that one with Simple Ad Management - vBulletin.org Forum
and its working.
after Michael said that it may not work. I am trying with Google Adsense Postbit Integration - vBulletin.org Forum now.

I am coming with the answer guys within few hours.
Quote   |  



#6   04-16-2008, 04:11 PM
Forum Lover has a spectacular aura about Join Date: Dec 2007 Posts: 48 Location: Toronto
Re: How to ristrict adsense into certain sub forum


May be I am doing any mistake around and its not working..

here is the total code that i was trying.

Code:
<if condition=" == 8">&nbsp;<else /> 
<script type="text/javascript"><!--
google_ad_client = "pub-4593235644491515";
/* 728x90, created 2/12/08 */
google_ad_slot = "8107591203";
google_ad_width = 728;
google_ad_height = 90;
//-->
</script>
<script type="text/javascript"
src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
</script>
</if>
Quote   |  



#7   04-16-2008, 04:20 PM
Send a message via Yahoo to MaddenGods MaddenGods is a jewel in the roughMaddenGods is a jewel in the rough Join Date: Jan 2008 Posts: 625 Location: Ohio
Re: How to ristrict adsense into certain sub forum


and what is it doing? Is it showing in all forums except forumid 8? Or is it not showing at all?
--------------------
David / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Check out my Webmaster Articles at the vBulletin Setup Blog! SEO Talk
Quote   |  



#8   04-16-2008, 04:36 PM
Forum Lover has a spectacular aura about Join Date: Dec 2007 Posts: 48 Location: Toronto
Re: How to ristrict adsense into certain sub forum


No mate, its still showing in all forum.
Quote   |  



#9   04-16-2008, 05:20 PM
Send a message via Yahoo to MaddenGods MaddenGods is a jewel in the roughMaddenGods is a jewel in the rough Join Date: Jan 2008 Posts: 625 Location: Ohio
Re: How to ristrict adsense into certain sub forum


Alright, try this at the top instead

<if condition="$forumid != 8">
--------------------
David / vBulletin Setup Staff
Check out our Newsletter for the latest vB and SEO news.
Are you looking for vBulletin work to be done on your forums ?
Would you like to Help Support vBulletin Setup.
Check out my Webmaster Articles at the vBulletin Setup Blog! SEO Talk
Quote   |  



#10   04-17-2008, 10:04 PM
Forum Lover has a spectacular aura about Join Date: Dec 2007 Posts: 48 Location: Toronto
Re: How to ristrict adsense into certain sub forum


Here where I was trying..

lets say.. I want to keep away adsense from that corner. How can I?

News & Announcements - bdgen
Quote   |  
Post New Thread  Reply
vBulletin Setup > vBulletinSetup Information > Making Money Marketing vBulletin


Thread Tools
Display Modes

 
Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads
Thread Thread Starter Forum Replies Last Post
Adsense Above Forum Statistics Homepage ctfortner Making Money Marketing vBulletin 12 03-31-2008 10:52 AM
YPN vs Adsense cajunboy2208 vBulletin CPC Monetization 15 12-01-2007 06:29 AM
Keywords for Adsense JamieLee2k vBulletin CPC Monetization 5 10-24-2007 01:51 AM
Adsense and Where to use them JamieLee2k General vBulletin Monetization 5 10-08-2007 10:10 PM
Adsense Placement soultrader vBulletin Questions 16 10-22-2006 03:36 AM


All times are GMT -6. The time now is 08:39 AM.

vBulletin Setup, vBulletin Setup Forums, vBulletin Services, vBulletin Blogs, vBulletin SEO, vBulletin Questions, vBulletin Skins, Styles, Templates
vBulletin Hacks / Modifications, vBulletin Monetization, Blogs, vBulletin Link Directory,Quality Link Directory