Results 1 to 5 of 5

Thread: Block Google Adsense Ads on Error Pages mod for vBulletin by BOP5

    1. Block Google Adsense Ads on Error Pages mod for vBulletin by BOP5 Details »»

      Block Google Adsense Ads on Error Pages mod for vBulletin by BOP5

      Version: 1.0.0, by (Administrator) BirdOPrey5 is offline
      Developer Last Online: Jul 2019 Show Printable Version Email this Page
      Category: VB3 & VB4
      vB Version: 5.x.x Rating:  (1 votes - 5.00 average) Installs: 1
      Released: 01-31-2018 Last Update: Never Downloads: 0
      Supported Uses Plugins Re-useable Code

      I have been made aware that vBulletin 3 and 4 Administrators who use Google Adsense ads in positions like the header, navbar, and/or footer are getting warnings from Google that ads are appearing on error pages (such as "No Permission" pages) which lack any real content, in violation of Adsense Terms of Service. Google threatens to suspend your Adsense account if this is not fixed.

      Put simply this mod attempts to kill Adsense ads from loading in the easiest possible way.

      When an error page is detected the plugin will search for the code "adsbygoogle.js" which all current Adsense ads call on to load. If found it will delete the filename so the file is never called by the browser and never loaded on the page, thereby preventing the Adsense Ads from showing.

      If you find it useful please consider making a donation by the Buy/Donate link to keep me making more free mods.

      There are no real instructions and no options. Install the mod from Product Manager in the Admin CP and it is active. Disable the mod from Product Manager to turn it off or uninstall it to remove it. No permanent changes are made to your site or files.

      This only works for Google Adsense. If there is demand I may be able to block ads from additional sources if you can provide me with sample ad code for those ad providers.

      2.0.0 Update

      As of version 2.0.0 released 29th March 2018 you can now also specify a list of pages on which to block ads by going to Admin CP -> Settings -> Options -> Block Adsense Ads on Error Pages & More by BOP5. By default register and sendmessage (the Contact Us page) are on the block ads list.

      Download Now

      Show Your Support

      • If you like this modification support the author by donating.
      • This modification may not be copied, reproduced or published elsewhere without author's permission.

    Similar Mod

    Last Post
    12:06 PM 08-02-2012
    Free vBulletin Mods (3.x and 4.x)
    03:59 PM 07-29-2012
    Free vBulletin Mods (3.x and 4.x)
    05:27 PM 05-16-2015
    Free vBulletin Mods (3.x and 4.x)
    06:08 PM 01-03-2015
    Free vBulletin Mods (3.x and 4.x)
  1. #2
    Works just fine out of the box on error pages.

    What about pages like Settings or Private Messages? Shouldn't those also be blocked, technically?

  2. #3
    Those could be blocked with THIS_SCRIPT and template conditionals, but sure, it would make sense to expand it as options in this mod. At the time I was just worried about a quick fix for error pages.

  3. #4
    Woah! There is an escape for this as well. Somebody would have taken so much pain to promote and advertise their business with the help of SEO and Google Adwords Management and we can get rid of it? Oh! but I guess it’s for the error pages.

  4. #5
    It’s a useful feature that I didn’t know about. I’ve been using PPC advertisements for my business and it has many features and options that I’m not well aware of. That’s why I’ve hired the Adwords Management services to manage my AdWords account and they have done a great job, helping me to make my ads reach out better.

Similar Threads

  1. VB3 & VB4 Help reduce "soft error" messages to improve SEO - HTTP Error Responses by BOP5
    By BirdOPrey5 in forum Free vBulletin Mods (3.x and 4.x)
    Replies: 2
    Last Post: 05-27-2014, 11:48 AM
  2. VB 4.x.x Basic QR Intergraton (2D Barcodes) for VB4 (QR Pages by BOP5)
    By BirdOPrey5 in forum Free vBulletin Mods (3.x and 4.x)
    Replies: 16
    Last Post: 10-12-2013, 10:33 PM
  3. Database error in vBulletin 4.1.7:
    By Froog Jamas in forum Username Color, Size, & Font Selection per User - $20
    Replies: 0
    Last Post: 04-23-2012, 08:39 PM

Tags for this Thread


Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts