The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
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:
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> 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. |
#2
|
||||
|
||||
Generally they do with with an image, or text behind the placeholder div for the ad itself.
|
#3
|
||||
|
||||
Quote:
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. |
Благодарность от: | ||
ozzy47 |
#4
|
||||
|
||||
Quote:
|
#5
|
||||
|
||||
Quote:
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 |
#6
|
|||
|
|||
Quote:
|
2 благодарности(ей) от: | ||
Max Taxable, ozzy47 |
#7
|
||||
|
||||
If you think the internet can run without ads, I think you're being a bit crazy.
|
#8
|
|||
|
|||
Ads are everywhere does not mean we can't block seeing them if we wish
|
#9
|
||||
|
||||
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.
|
3 благодарности(ей) от: | ||
ForceHSS, Max Taxable, ozzy47 |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|