vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   Modification Requests/Questions (Unpaid) (https://vborg.vbsupport.ru/forumdisplay.php?f=112)
-   -   Adsense/adblock script with vbulletin? (https://vborg.vbsupport.ru/showthread.php?t=308153)

neya 02-10-2014 12:46 PM

Adsense/adblock script with vbulletin?
 
Hello,

I've seen several sites that detect adblock and kindly ask the user to disable it to support the website.

I would like to intregate this onto my vb forum. The most common responses to this question (as i've been searching for solutions for a few hours) are;

Quote:

PEOPLE ARE FREE TO BLOCK ADS, JUST AS YOU ARE FREE TO DISPLAY THEM
.

Please don't give me this. It's my forum, my website, I do what I want on it.
A small image with some text isnt going to hinder the browsing experience, anyway.
Not to mention it's simply a request, if they don't like it they are free to visit another forum that doesnt have this.

Anywho, to get down to the point.. i've seen reddit with this, wallbase.. and some others.
I've found the code (or so I think) that does this, but I have no coding experience so I dont know how to make it work with vbulletin. (I'm currently using VB 4.2)

This is the script i've found on wallbase;

Code:

<div class="dontblockpls">
        <script src="http://static.wallbase.cc/front/6/js/areas/home.js"></script><script type="text/javascript" async="" src="http://www.google-analytics.com/ga.js"></script><script async="" src="http://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
        <!-- wbcc-home -->
        <ins class="adsbygoogle" style="display:inline-block;width:728px;height:90px" data-ad-client="ca-pub-2509768188512843" data-ad-slot="2059058536"></ins>
        <script>
        (adsbygoogle = window.adsbygoogle || []).push({});
        </script>
    </div>

An example of this can be found at http://wallbase.cc

Any help would be appreciated, I have searched google for hours and hours with no result, so I figured this would be the best place to ask. Thank you.

Zachery 02-10-2014 05:25 PM

Generally they do with with an image, or text behind the placeholder div for the ad itself.

Max Taxable 02-10-2014 05:28 PM

Quote:

Originally Posted by neya (Post 2480183)
Please don't give me this. It's my forum, my website, I do what I want on it..

It's MY computer though, MY registry, MY resources and MY internet connection you're using to deliver unwanted crap to MY screen.

Is the other side of that pancake.

There are a couple of anti-adblock Mods available here at vBorg however.

I googled it for ya.

Zachery 02-10-2014 08:55 PM

Quote:

Originally Posted by Max Taxable (Post 2480227)
It's MY computer though, MY registry, MY resources and MY internet connection you're using to deliver unwanted crap to MY screen.

Is the other side of that pancake.

There are a couple of anti-adblock Mods available here at vBorg however.

I googled it for ya.

You have the choice to use, or not use their website. If you use a website often, and not seeing ads, then you're only helping to not pay your fair share.

Max Taxable 02-10-2014 10:24 PM

Quote:

Originally Posted by Zachery (Post 2480260)
You have the choice to use, or not use their website. If you use a website often, and not seeing ads, then you're only helping to not pay your fair share.

Nonsense. There is NO requirement on the part of visitors or users to financially support sites. Not morally, not any way whatsoever.

If people want to let adverts run on their browsers, more power to them. It doesn't happen on mine and hasn't since around 2005.

ForceHSS 02-10-2014 10:52 PM

Quote:

Originally Posted by Max Taxable (Post 2480278)
Nonsense. There is NO requirement on the part of visitors or users to financially support sites. Not morally, not any way whatsoever.

If people want to let adverts run on their browsers, more power to them. It doesn't happen on mine and hasn't since around 2005.

Agree, I block all ads showing in my browser I even don't want to see ads on my own site, but if others do, that's up to them I never force anyone to see ads

Zachery 02-10-2014 11:47 PM

If you think the internet can run without ads, I think you're being a bit crazy.

ForceHSS 02-11-2014 12:52 AM

Ads are everywhere does not mean we can't block seeing them if we wish

TheLastSuperman 02-11-2014 01:05 AM

I block all ads, I only enable them when working on a clients site. Sites can run all the ads they wish but I like many others above simply don't want to see them.

ozzy47 02-11-2014 01:28 AM

I also block the ads, can't stand them, and if I go to a site that has added them via some sort of workaround, guess which button I hit in the browser. :p


All times are GMT. The time now is 07:33 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01026 seconds
  • Memory Usage 1,739KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_code_printable
  • (5)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete