Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 03-04-2005, 10:34 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default anti-ad blocking (anti-leech) system?

Hi Folks,
I would like to block access to our website by all people who block adverts.
Not pop-ups - just normal ad banners.
(The ad banners on our site pay for it's existance and I would like to address the problem of people using ad blocking. I use an ad serving system I wrote myself which involves an external php script to determine what banners to serve etc.)
I see a couple of threads here relating to anti-leech but they focus on stopping file downloads.
Is there a way to do it?
Thanks.
Reply With Quote
  #2  
Old 03-04-2005, 11:27 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Is there a way to block ads? Banners I mean.

You could maybe insert some vital code into the ad code, so if they block the ad the forums are all messed up
Reply With Quote
  #3  
Old 03-04-2005, 11:28 AM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

A quick and maybe simple solution would be to show a generated code along with the banner ad. If someone want to download something, they should enter that code. Seems like the simplest and easiest way to do it.
Reply With Quote
  #4  
Old 03-04-2005, 11:32 AM
Deaths Deaths is offline
 
Join Date: Oct 2004
Location: Europe, Belgium
Posts: 679
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Doesn't he want them to not be able to look at the site entirely?

Maybe you can use a query for this.
Basicly, when they see the banner, some field in the user's User field will be altered from 0 to 1. And every time they want to see the forums, vB checks for that field, if it's 1 or 0. If it's 0, it returns an error.
Reply With Quote
  #5  
Old 03-04-2005, 04:54 PM
AN-net's Avatar
AN-net AN-net is offline
 
Join Date: Dec 2003
Location: AnimationTalk.com
Posts: 2,367
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i dont believe this is possible without some heavy coding which is probably more work than just simply not using popups/ads or just not worry about it. this probably require some type of java etc. since anti-ad programs are OS programs not web programs so.... yeah... you would need to find a coder for this
Reply With Quote
  #6  
Old 03-04-2005, 05:01 PM
Reeve of shinra's Avatar
Reeve of shinra Reeve of shinra is offline
 
Join Date: Oct 2001
Location: NYC
Posts: 1,896
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Have the advert itself leave a cookie thats needed to view the site? I dont know.

Honestly, if users are viewing your ads, then you need to start offering something different that your users would be more inclined to participate in. Treat the problem, not the symptom.
Reply With Quote
  #7  
Old 03-08-2005, 07:12 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think this issue will affect a lot of vB users since many of us rely on advertising for the survival of our sites.
MarcoH64 - interesting solution. Makes life a bit more complicated for regular users, though.
Deaths - yes - I want the system to try and serve a banner and if it fails, a different page opens explainaing why they are not allowed to access the site.
AN-net - we reply on advertising to pay the very large running costs of the site. I have written a proprietory php ad serving script which I could edit if I knew how to test whether they have ad blocking on or off.
Common sense tells me that the web server is instructed not to serve the graphic and text which are identified as an advert. The fact that this has happened must surely be detectable?
Reeve of shinra - what about people who are not using cookies? Stuffs the site up for them, too?
Thanks all for your replies.
My fingers are still crossed that someone knows a solution.

Quote:
Originally Posted by Deaths
Is there a way to block ads? Banners I mean.

You could maybe insert some vital code into the ad code, so if they block the ad the forums are all messed up
Actually I guess it might be possible to have the default style show black text on a black background, and have the proper forum style override this and embedded in the banner? Does anyone know how to do this?
Reply With Quote
  #8  
Old 03-08-2005, 06:26 PM
Zero Tolerance's Avatar
Zero Tolerance Zero Tolerance is offline
 
Join Date: Feb 2004
Location: England
Posts: 813
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I suppose the easiest solution would to be insert the Ad(s) inside an object, like:
Code:
<div id='AdObject'>ADS GO HERE</div>
Then use a little bit of javascript to detect if the ad is there or not .. and then if not, js will redirect them to a page saying bla bla bla.

What types of ad's are you using, if i can look at them i can show you how to implement this method.

- Zero Tolerance
Reply With Quote
  #9  
Old 03-08-2005, 07:16 PM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

<a href="http://www.avforums.com" target="_blank">www.avforums.com</a>
They are gifs, jpgs, swfs or Google Adsense.
You'll see the 468x60 ads served at the top (run of site) and the 728x90 which appear at the top and bottom of specific forums and all the threads in them.
The Google adverts are the 'house ads' displayed by default. The plasmas forum has lots of adverts in it.
I already enclose them all in a div to center them and I've put in an id as you suggested.

Thinking about it, perhaps the best way to approach the problem would, rather than block the pages altogether, maybe have a Javascript alert pop up infront of every page asking them to switch of ad blocking.
If they also have Javascript switched off, then I guess we're stuffed?

Appreciate any help you can give to encourage people to add us to their 'allowed sites' list.
Reply With Quote
  #10  
Old 04-12-2005, 08:40 AM
Spinball's Avatar
Spinball Spinball is offline
 
Join Date: Feb 2002
Location: Telford, England
Posts: 705
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Zero Tolerance seems to have disappeared (?!).
Ok, I implemented a solution where a div tag is put around the advert and put the following Javascript after it:

HTML Code:
<script type="text/javascript"> <!--
if (document.getElementById('AdObject')=null)
{
var nagtext='<H3 align="center">Nag message.<br>Thank you.</H3>';
document.write(nagtext);
}
//--> </script>
and installed AdSubtract software to block adverts. My solution above failed because AdSubtract adds
HTML Code:
 style='text-decoration: none'
at the end of the IMG tag of the banner.

Anyone know how to detect the text-decoration setting of an element? If I could detect that I could also display the nag message.
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 12:46 PM.


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.04824 seconds
  • Memory Usage 2,254KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_code
  • (2)bbcode_html
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete