- FIX: JavaScript load issues
- FIX: Using cache corrupts javascript and prevents tracking (redis, maybe others)
- Update: (temporary) Caching completely disabled as it interferes with JS packer encryption
Please refer to the images posted along with this version update for a visual explanation.
- NEW: AdBlock display for users AdBlocking [ link('account/adblock-tracker') ] (default=off)
- NEW: AdBlock tracking details for OS and Device Type
- NEW: Statistics available in native XenForo daily stats display
- Added cron to delete entries older than X days for device type (default=30)
- Added option to "Preserve last X entries per device type" (default=10)
- Added option "flood check" to ensure users don't hammer refresh to clear AdBlock status
- (default=8 seconds, 0 to disable)
- Added option "Ignore the following routes from tracking"
- Added option "Display AdBlocking information on /acccount page"
- Added option "Display AdBlocking device information on /acccount page"
- Added option "Maximum number of rows of device list to display"
- Added option "Should a single AdBlock detection reset current non-detects back to zero?"
- Added option "Do not allow users to masquerade as crawlers to avoid detection" (default=on)
- Added option to "Cache script lifetime" minutes (default=15)
- Added Detection\MobileDetect package from composer (Mobile/Tablet/Computer)
- Added foroco\BrowserDetection package from composer for OS type tracking
- Added stats Job enqueued post upgrade to back date statistics for past role changes
- Note: Flood check only applies to "Clear" status because there's no advantage to flooding "AdBlocking"
- Note: Set flood check to 0 to disable flood check entirely
- Note: Only swaps statistics are back dated with an enqueue log event
- All other statistics will need to accumulate moving forward
- FIX: Prevent conflicts with other onload JS events
- FIX: Running AdBlock Pro with AdBlock Tracker led to a conflict for guest tracking
- FIX: Move JavaScript to an IIFE to prevent conflicts
- FIX: ErrorException: [E_WARNING] Undefined array key "wutime_tracker_debug"
- FIX: Abide by swap to AdBlocking setting (took 1 extra page view previously)
- FIX: Abide by swap to Clear setting (also took 1 extra page view previously)
- Fixed: Ensure crawler option is obeyed when rendering detection
- Fixed: Obey ignored usergroups if set
- Fixed: Changed template modification to simple replacement from regex replacement
- Fixed: Previous version left <> tags at footer of website
- Due to regex vs simple replacement (changed to simple replacement)
- Removed all 3 event listeners that are no longer required
- Removed Listener.php as it's no longer required
- Removed previous Crawler detect files and inclusions (replaced with JayBizzle)
- Renamed template modification and added description
- Composer update, no updates needed
- Changed name to "AdBlock Tracker & Usergroup Swap" to be more concise
- Added super fast detection v3
- Added DNS adblocking detection (2 options, off by default)
- Detection works with all levels of page/guest caching including CloudFlare
- Added packaging, obsfucation, minification
- Added three detection options (1 enabled by default)
- Resolved undefined array key
- Added 2x composer packages
- Updated php requirement to 7.4
- Randomized internal database record saving/keeping
Tracking issues are now resolved.
This build is front-end / visitor friendly with XF 2.3.
- FIXED: Front-end tracking on XF 2.3
- FIXED: Resolved a very frustrating authentication issue with XF's Ajax
- FIXED: Removed the last occurrence of front-end jQuery
The administration charts / logs in the back end still need updating. I'll spend this week on it.
Do Not Use with XF2.3
There's a glaring issue with the Ajax post, not least of which is there's still a tidbit of jQuery included.
I'll work on this as soon as possible.
PLEASE READ:
IMPORTANT NOTE:
- Front-end compatible with XF 2.3
- Back-end is not fully compatible with XF 2.3 (still some work to do on the charts navigation)
- Follow up releases will resolve issues with the back-end charting
- This is released for those of you that need/want to upgrade to XF2.3
Detection Improvements:
- DISABLE YOUR ADBLOCKER IN THE ADMIN SECTION
- If you can't click "Options" on this "Add-on" page in admin [ /admin.php?add-ons/ ]
- Turn off your AdBlocker
- The AddOn's JavScript admin path is on the Global list for most AdBlockers
- It causes a silly issue where you can't open the drawer for "Options, Uninstall, Disable, Etc.)
- Unfortunately, the only real solution is to either:
- Request removal (bad idea)
- Or, change the Add-on path (inconvenient for everyone)
- So for now, please disable your AdBlocker on: /admin.php
Performance:
- Detection improved 3,4,5 fold (100%-300%+)
- Resolved issues with uBlock
- Fixed misc. other detectors with same update as above
- Changed end points that were detected on [Global adBlock lists]
- Future work in progress release is going to resolve this issue permanently (hopefully)
- Updated easy list
Automatic Cron:
- Removed extraneous detection that was on [Global adBlock lists]
Options:
- Cron to automatically delete inactive guests
- Batch deletes run every 15 minutes
Charts
- option: added numbers of days inactive to delete (default: 180 days)
- option: size of batch to process per run
- put complicated options lower in the list
- moved some to advanced
- add debugging
Default changes:
- Fixed charts to show the same colour for "blocking" across all charts
- Work in progress, currently the "Users" row of buttons is fixed
- Add sort to top and bottom of chart
- Increased log to 50 entries per page from 20
- Added button to unhide all entities
- Upgrading will automatically remove all "hidden" entries on upgrade, figured this was a quality of life thing seen as there was no way to "unhide" them previously
- updated > guest tracking > off
- updated > crawlers > on
Upgrade works fine, but I'd recommend an uninstall and re-install to get optimized defaults and to remove stale statistics.
This update will more accurately detect users adBlocking, hands down, no question.
Re-Install FAQ
Upgrade FAQ
- Setup is easy after a re-install
- Just reconnect your [AdBlock Detected] user group in the options
- Whatever it was you named it
- You would have done this through XF, and outside of this add-on, so no worries uninstalling
- Your [AdBlock Detected] user group is not deleted or reset during re-install
- Your users will remain in their user groups as they were before
- Uninstall can take time to drop the MySQL table if you have a large forum, just a heads up
NOTE IF TRACKING GUESTS:
- Post Upgrade
- Check options as follows:
- Check the "Cron delete batch size" and the number of days to delete
- If you want to keep logs longer, increase the default of 180 days
- The table growing isn't really a big concern, it's well indexed and very light-weight
If you've been tracking Guests all these months/years, you might want to, at the very least, delete guests.
1. Visit: admin.php?wutime-adblock-tracker/
2. Top-right corner, 2nd button, "Clear Logs". Choose "guests". Might take a while.
Thanks to @Stuart Wright
- Usergroup swap rate modifier (increase limits for users that abuse usergroup swapping)
- Increases number of non-detections required linearly as the number of previous usergroup swaps increase
We use essential cookies to make this site work, and optional cookies to enhance your experience.