Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Advertisements Enhancer + TOS Compatibility Details »
Advertisements Enhancer + TOS Compatibility
Mod Version: 1.01, by RsX (Member) RsX is offline
Developer Last Online: Jul 2011 I like it Show Printable Version Email this Page

This modification is in the archives.
vB Version: 3.5.5 Rating: (2 votes - 5.00 average) Installs: 38
Released: 18 Mar 2006 Last Update: 18 Mar 2006 Downloads: 27
Not Supported Template Edits  

Most advertising companies will ask you not to have their ads on pages without content. This is a problem in vBulletin, because you want to have the ads on as many pages as possible, but you dont want to get banned from the service (i.e. adsense )

The solution is not to try and find places we CAN put the ads, but rather to exclude all the places we would NOT want them. What this hack does is make sure ads do not appear on pages we dont want them to (This includes most hacks which add pages, such as the cyber paypal donation hack, invites hack, etc. Plus, it is quite simple to add any other page you want to the no-no list )

Another thing this hack does is put the ads in a table, to make it look neater. In addition, it gives the members an option to collapse the ads. It will still get you impressions, and it wont be annoying for the user, so its a win-win situation.
------------------------------------------------------------

UPDATE 1.01:
There seemed to have been code which was one style specific (satellite skin spacer) so I replaced it with a <br />. If you had a problem with spaces between the ads table and the navbar and/or forum categories, use this updated code.

------------------------------------------------------------


The following script will work with any type of affiliates, including referencers, search boxes, and links/images.

NOTE: It works best with Leaderboard size advertisements (Approximately 728x90)


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

------------------------------------------------------
This default version of the code will display the ads on every page except the following:

Login Pages
Registry Pages
User CP Pages
Private Messages List Pages
Subscription Payment Pages
Invitations Hack Pages
Members List Page
Online Members Page
Member Pages
Spider Watcher Hack Pages
psiStats Hack Pages
User Profile Page
FAQ Page
Send PM Page
Cyber PayPal Donation Hack Page
Calendar Page
Adding Calendar Events
Moderator Statistics Hack Page
Search Form Page
Gallery Searching Page
Gallery Uploading Page
Error Pages
------------------------------------------------------

NOTE: If you find that the spacing between the table is too big or too little, add/remove the colored <br /> s


If you add a modification that ads another page, add the following in the space below (THIS_SCRIPT == 'CybPayPal') OR


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So if the php file name is arcade.php, it would look like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

If the hack is an addition to an already existing php file, find the command/script within. For example, if I didn't want ads to show in the new posts list, I couldn't do that using just the file name, because the file name is search, which would in turn remove the ads from every single page that has to do with search. What you need to do is copy the link of the new posts page, and copy the command, which looks like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

So what you need to add in the template would look like this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

I recommend using these in the header and/or footer templates. Add this at the lowest place possible in the header, and the highest place possible if in the footer (Right below the copyright notices)


Support is available if needed. You can contact me via MSN at rsx@nerdshack.com, or by email (same address)

Please give feedback!


Thanks & Enjoy!


P.S. THIS MODIFICATION IS COMPATIBLE WITH EVERY VERSION OF VBULLETIN

P.S 2: This is my first mod release so if I did anything wrong don't hurt me. Just tell me what the problem is and I will fix it ASAP :bunny:


Download Now

Only licensed members can download files, Click Here for more information.

Supporters / CoAuthors

Screenshots

Click image for larger version

Name:	Home Page.JPG
Views:	1334
Size:	72.7 KB
ID:	44450   Click image for larger version

Name:	Home Page_col.JPG
Views:	989
Size:	47.1 KB
ID:	44451   Click image for larger version

Name:	usercp.JPG
Views:	973
Size:	48.3 KB
ID:	44452  

Show Your Support

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
Mod Developer Type Replies Last Post
Miscellaneous Hacks Report system enhancer itsid vBulletin 3.6 Add-ons 81 18 Mar 2012 21:31

  #16  
Old 11 Apr 2006, 09:45
vbreal vbreal is offline
 
Join Date: Dec 2005
the banners still show on every page. what could i have done wrong

thanks
Reply With Quote
  #17  
Old 15 Apr 2006, 16:50
RsX's Avatar
RsX RsX is offline
 
Join Date: Sep 2004
Did you use the if commands correctly?

Could you also please provide a link to your forum?
__________________
www.webspeaks.com
Reply With Quote
  #18  
Old 23 Apr 2006, 12:28
Dermo-MIO Dermo-MIO is offline
 
Join Date: Jan 2006
props dude this is exactly what i was looking for lets hope i make myself some money from adsense now
Reply With Quote
  #19  
Old 23 Apr 2006, 13:06
Hemanth's Avatar
Hemanth Hemanth is offline
 
Join Date: Nov 2005
Great.. But i'm using adense in 'ForumHome','Showthread' & 'Forum Display' Only. This seems more good for me as i don't want to be kicked out by adsense
Reply With Quote
  #20  
Old 23 Apr 2006, 19:39
RsX's Avatar
RsX RsX is offline
 
Join Date: Sep 2004
Thanks for installing
Im glad you like it!

If you have any questions or suggestions, I'd be glad to answer/take a look!
__________________
www.webspeaks.com
Reply With Quote
  #21  
Old 24 Apr 2006, 17:30
GeorgeNewbie GeorgeNewbie is offline
 
Join Date: Jun 2005
Real name: G
is there a way to put more than one sponsor in and have them side by side...i tried but they sit ontop of one another?
Reply With Quote
  #22  
Old 25 Apr 2006, 12:43
nelto nelto is offline
 
Join Date: Sep 2004
Im kinda of a newb around and I was looking to hsi.

I didnt found any type of instroctions on how to set this up.
Can any one hlep me out here?
Reply With Quote
  #23  
Old 27 Apr 2006, 04:07
RsX's Avatar
RsX RsX is offline
 
Join Date: Sep 2004
Place it in your Header template
__________________
www.webspeaks.com
Reply With Quote
  #24  
Old 27 Apr 2006, 04:11
RsX's Avatar
RsX RsX is offline
 
Join Date: Sep 2004
Originally Posted by GeorgeNewbie
is there a way to put more than one sponsor in and have them side by side...i tried but they sit ontop of one another?
Modify this part of the code:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


to look like this:



Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
www.webspeaks.com
Reply With Quote
  #25  
Old 25 Jun 2006, 14:07
wobbly wobbly is offline
 
Join Date: Sep 2005
Installed thx,

Is there anyway to make the ads just viewable to certain usergroups at all?
Reply With Quote
  #26  
Old 25 Jun 2006, 15:54
Tulsa Tulsa is offline
 
Join Date: Jul 2005
Replace the usergroup #'s that you want to be able to see the ad with the 1 2 3 4 etc..

<if condition="is_member_of($bbuserinfo, array(1, 2, 3, 4))">

Insert the code your controlling

</if>
Reply With Quote
  #27  
Old 29 Jun 2006, 14:35
Dannyboy1 Dannyboy1 is offline
 
Join Date: Aug 2005
Here is my question, can I remove Adsense ads only from specific folders with this script? I need to do that
Reply With Quote
  #28  
Old 01 Jul 2006, 21:47
Get Shorty's Avatar
Get Shorty Get Shorty is offline
 
Join Date: Jun 2006
Real name: Nick
Simple to change... Great idea!

Clicked install...
Reply With Quote
  #29  
Old 02 Jul 2006, 01:12
Get Shorty's Avatar
Get Shorty Get Shorty is offline
 
Join Date: Jun 2006
Real name: Nick
:\

I'm using this for my Adsense banners. Anytime someone clicks on a banner, the following error shows up:

This page contains the following errors:

error on line 1 at column 1: Extra content at the end of the document
Below is a rendering of the page up to the first error.




Any thoughts? I just pasted my adsense code in the specified area.


edit
Nevermind. It just doesn't seem to work in Safari. It works perfectly in IE and Firefox.

Last edited by Get Shorty; 02 Jul 2006 at 05:00.
Reply With Quote
  #30  
Old 05 Jul 2006, 23:29
Cosimo Cosimo is offline
 
Join Date: Oct 2005
Great work

Installed it currently on my vb3.6.0b4
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

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


New To Site? Need Help?

All times are GMT. The time now is 05:23.

Layout Options | Width: Wide Color: