vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   Miscellaneous Hacks - Not Your Average Adblock Detecting Mod (hide images in post) (https://vborg.vbsupport.ru/showthread.php?t=328594)

Dr.CustUmz 02-15-2021 10:00 PM

Not Your Average Adblock Detecting Mod (hide images in post)
 
1 Attachment(s)
This was a commissioned product curtesy of a lesser known user Kwikms. Who had came to me knowing exactly what he was looking for, and something he truly felt the community would appreciate. That's right he wanted me to make something not only for himself, but for you as well!

His specifications were:
  • Block all images other than the first image to users using adblocking software.
  • An admin option for choosing which usergroups this would apply to.
  • Do not block smileys in post.

His envision was to have a sort of spoiler feel like "look we have good content, but you need to disable your adblocker if you want to see any more."

DRC - Adblock Image Block
was born!

This is by no means a "perfect" solution (as with any adblock detection, there are always ways around them.) but it is a deterrent, and most users aren't too tech savey to bypass them.

Notes:
- While testing, I standardly do not use adblockers. So images were caching for me and it seemed the product was not working for me when it in fact was. Simply clearing my cache solved that issue.

- There are adblockers that will not block false ads, thus not triggering the adblock detection.
I will not list these adblockers because I do not believe in them but the bigger known, and most commonly used adblockers will trigger (they don't bypass detection).

Want to see a live example? You can check out his site here (hope he doesn't mind, lol)
Or on my site HERE (note: my version is modified do to my heavily modified vBulletin)
You must enable an adblocker to see anything =/ (the irony)

Upon Downloading any DRC product you acknowledge and agree to abide by the following:
Products are designed for default vBulletin, downloads are as is and not guaranteed to work with your custom site.
You are permitted to alter the product code and images for your own personal use.
Under no circumstances is the code (original or modified) permitted to be redistributed.
Exceptions will only be made with written permission from Dirt RIF CustUmz.
All copyright notices must remain in the templates and are not to be modified.
Unless a One-Time or Universal Branding Free license is purchased. (contact me via PM until the shop is complete)
DRC products will collect installation statistics DETAILS HERE
If you have any concerns in regards to this, please contact me.

Dr.CustUmz 02-16-2021 07:34 AM

Reserved

Kwikms 02-16-2021 05:59 PM

Thanks! I hope it will help a lot of forum owners.

Kraxell 02-17-2021 04:37 PM

Very nice!

hunter1985 04-24-2022 02:43 PM

Hmm doesn't appear to work on my vB 4 site. However, I had to make some PHP editing for my vB 4 to be compatible for PHP 7.4


All times are GMT. The time now is 01:09 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.02117 seconds
  • Memory Usage 1,723KB
  • 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)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete