AdBlock Tracker & Usergroup Swap

AdBlock Tracker & Usergroup Swap v3.0.0

No permission to buy ($45.00)
  • FIX: Route definition for :int<user_id,username> on user_edit
    • Resolves all issues with usernames passed through url
  • Added user-edit "AdBlock history" buttons:
  • Reset: Clears AdBlock Status, decrements swap counter, sets current nondetects and current detects to 0
  • Delete: Removes user and deletes all device history (essentially a hard reset)
  • Ignore: Resets user and removes the from tracking and log list
  • When hidden or deleted by an admin, the user will ALWAYS have their AdBlocking usergroup removed
  • When "ignored and hidden", their status will be cleared
  • When "deleted" or "reset", their status will be cleared
  • FIX: Wrapped user-edit tab/pane in "if $user" (may resolve issue with "Adblock history tab throws error")
  • UPDATE: Exit detection immediately if guest, and not tracking guests
  • UPDATE: Perform ignored usergroup check in detection API (in case page was cached or admin option was changed during page load)
  • UPDATE: Perform crawler check against user-agent ONLY when required
  • UPDATE: Perform usergroup check ONLY when required
  • Moved "AdBlock Tracker" statistics position and placed it under "Statistics" (now requires "view statistics" permission)
  • Added "Unhide all entities" button for XF 2.2x list template (was previously only available on XF 2.3+)
  • Added detected list filter: show hidden/ignored
  • Added message on user-edit screen if the user is being hidden/ignored
  • Like
Reactions: tajhay
  • Added: Browser logging with device type (limited to common 98%+)
  • Added: Link to AdBlock history from "AdBlock Tracker Log" in admin
  • Added: AdBlock History to user edit tab on user edit page of admin
  • Fix: Lightly adjusted columns on "AdBlock Tracker Log" page to make it a bit more legible
  • Added: overlay to AdBlock history for username for username (IP shows for Guest only)
  • 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)

Attachments

  • Screenshot 2024-08-02 at 2.42.58 PM.webp
    Screenshot 2024-08-02 at 2.42.58 PM.webp
    66.3 KB · Views: 41
  • Screenshot 2024-08-02 at 2.43.22 PM.webp
    Screenshot 2024-08-02 at 2.43.22 PM.webp
    63.2 KB · Views: 30
  • Screenshot 2024-08-02 at 2.43.36 PM.webp
    Screenshot 2024-08-02 at 2.43.36 PM.webp
    65.3 KB · Views: 33
  • Screenshot 2024-08-02 at 2.43.50 PM.webp
    Screenshot 2024-08-02 at 2.43.50 PM.webp
    37.7 KB · Views: 26
  • Screenshot 2024-08-02 at 4.55.19 PM.webp
    Screenshot 2024-08-02 at 4.55.19 PM.webp
    37.8 KB · Views: 40
  • Like
Reactions: Stuart Wright
  • 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
  • Maintains chart functionality for anyone running v2.2.16 or lower
Tracking issues are now resolved.
  • 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
This build is front-end / visitor friendly with XF 2.3.

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.
Back
Top Bottom