AdBlock Detection [anti-AdBlock]

AdBlock Detection [anti-AdBlock] v2.0.4

No permission to buy ($15.00)
This is a non-urgent or required update.
  • This version adds back the original non-minified javascript files
    • This files are rarely used, but may be required in development mode or when minification is disabled along with automatic javascript generation
For most users, this update provides zero benefit. However, moving forward this build and all future builds will leave non-minified javascript files for broader support.
  • Like
Reactions: Sunka
  • Defaulted URL downloads to CURL
  • Fallback to allow_url_open
  • Added log messages for failed URL downloading
  • If file writing fails, it defaults to static files
    • Creates LOG error to let administrators know the /js/ folder is not writable
  • Like
Reactions: Sunka
  • Added an admin option to show "upgrade" link if the adblock is being shown to a logged in user
  • Consolidated notice styles to stylesheet .less
  • Removed HTML markup from notice phrase
If you're updating an made your own template changes you may want to revert all templates and build over.

Attachments

  • Like
Reactions: Sunka
  • Restored the per-user level usergroup options (unsure why they went missing in v1.9.8 to v2.0.0)
  • Bug fix (ErrorException: [E_NOTICE] Undefined index: wutime_adblock_recent_easylist) on install
    • Uses fallback until options are installed post install (then uses proper method on future cron runs)
Thanks to @SteveW1966
  • Like
Reactions: Sunka
  • Features automatic list download every cron run
  • Randomly selects an updated JavaScript item from the currently available easy list
  • Allows forum owner to select a list from their home country/location if preferred
  • Features all previous Alpha updates
  • Features fallback naming if the list cannot be downloaded or there's no available items (or the forum owner made a mistake entering their list URL)
  • Creates an error in the general log to notify the administrator of any issues with list download should it occur
  • Like
Reactions: Sunka
  • Significant performance boosts using template_pre_render plus hint (render performance improvement)
  • Removed overlay code if notice is selected (page load improvement)
  • Updated and altered notice rendering and moved inline styles to style sheet (page load improvement)
  • New styles wutime_adblock_styles.less contains all CSS
  • Refactored parts of notice rendering (when overlay is disabled)
  • Introduction to automatic easy list integration (currently in development)
Users with modified templates or modified notice related styles should revert styles/templates.

Please note, if you're upgrading from v1.9.7 or earlier you may log errors during update; clear the errors and you'll be fine.

To avoid errors during install, disable "Board active" during install: admin.php?options/groups/boardActive/
  • Like
Reactions: Sunka
  • Automatically generates JavaScript every 6 hours by Cron
  • Features optional secondary detection method
  • Automatically randomizes all filenames and folders
  • Automatically deletes old JavaScript (defaults to 24 hours old)
  • Automatically deletes all JavaScript on uninstall
  • Updated defaults for new installs
  • Added uninstall routine
  • Like
Reactions: Sunka
  • Added new theme (Black Out)
  • Added ability to choose your primary overlay color using a color picker
  • Randomized key

Attachments

  • Like
Reactions: Sunka and clanzone
  • Bug fix missing DOM variable
  • Moved crawler detection
  • Randomized one variable
  • Like
Reactions: Sunka
Top