AdBlock Tracker & Usergroup Swap

AdBlock Tracker & Usergroup Swap [Paid] v3.0.0

No permission to buy ($45.00)
Wutime updated AdBlock Tracker & Usergroup Swap with a new update entry:

v3.0.0 Release Candidate 3

  • OPTIMIZATION: "Swaps" is now linear, counting each application of [AdBlock] usergroup
  • OPTIMIZATION: "Consecutive Detections Required to Assign Role" now ensures detections must be consecutive prior to applying AdBlock role
  • OPTIMIZATION: Swap multiplier is now more intuitive
  • * FIX: Add data-cache="false" so the Admin overlay for stats is never stale
  • * FIX: Add punish_date so we can track "clear sequences" and allow for small numbers of accidental adblock's in between...

Read the rest of this update entry...
 
I'm putting out another release shortly that supersedes the previous ones. I'll be sure to update the old site.
 
Wutime updated AdBlock Tracker & Usergroup Swap with a new update entry:

v3.0.0 Release Candidate 4

  • OPTIMIZATION: AdBlock Tracker Log now remembers display settings and persists them between sessions
  • ADD: AdBlock Tracker Log => add historical adblocking %
  • FIX: ClearLogUsers() and ClearLog() runs a Job that to delete all entities and restore user accounts (remove AdBlock group) (no orphaned users)
  • FIX: AdBlock Tracker Log => "Results" dropdown works and is remembered
  • FIX: AdBlock Tracker Log[COLOR=rgb(20...[/LIST]
 
Yeah, and it's driving me crazy. Moved yesterday to a new server and something went awry with SSL this morning. Working on it though, thank you.
Let's Encrypt had a big issue yesterday. Try again now, it should work (although they have a big backlog).
 
Oh get out, really? It's been a nightmare just now, but got it working. One of those scenarios where, because it's a fresh server, you start grasping at straws wondering if it's something you did.

How'd you know Let's Encrypt's been having issues?
 
Because I tried to migrate my website to a new host yesterday but that failed on the creation of the LE certificate.

After scratching my head for a while I found this:
(Still isn't resolved completely)
 
Oh my god, f*#%ing acme, drop an anvil on my head. That was the problem I was having. Thanks, I feel a touch less dumb.
 
Great to see all the updates, thanks.

I don't seem able to disable the swap multiplier on base number anymore, any attempt to set to 0 is rejected

1753281124331.webp

1753281148662.webp
 
Wutime updated AdBlock Tracker & Usergroup Swap with a new update entry:

v3.0.0

Feature recap from v2.x
  • NEW + OPTIMIZATION: Option "Cache JavaScript TTL (minutes)" is now working (default=15m) (large performance boost)
  • NEW + OPTIMIZATION: Ajax Routes now use XF.config to allow caching the entire JavaScript (also supports full page caching for user's as well as guests)
  • NEW + OPTIMIZATION: Option "Enable Mobile + Browser Detection Cache" (on by default)
  • NEW + OPTIMIZATION: Dynamically remove detection methods from JavaScript detection scripts...

Read the rest of this update entry...
 
I bought the add-on today and installed it for the first time. I get an error message
Code:
[*]XF\Db\Exception: Batch install error: MySQL query error [1366]: Incorrect string value: '\xF0\x9F\x94\x84 S...' for column `xenforo`.`xf_phrase`.`phrase_text` at row 1
[*]src/XF/Db/AbstractStatement.php:230
[/LIST]
[HEADING=2]Stack-Trace[/HEADING]
INSERT  INTO `xf_phrase` (`addon_id`, `title`, `version_id`, `version_string`, `language_id`, `global_cache`, `phrase_text`, `phrase_id`) VALUES (?, ?, ?, ?, ?, ?, ?, ?)
------------

#0 src/XF/Db/Mysqli/Statement.php(207): XF\Db\AbstractStatement->getException('MySQL query err...', 1366, '22007')
#1 src/XF/Db/Mysqli/Statement.php(83): XF\Db\Mysqli\Statement->getException('MySQL query err...', 1366, '22007')
#2 src/XF/Db/AbstractAdapter.php(96): XF\Db\Mysqli\Statement->execute()
#3 src/XF/Db/AbstractAdapter.php(219): XF\Db\AbstractAdapter->query('INSERT  INTO `x...', Array)
#4 src/XF/Mvc/Entity/Entity.php(1578): XF\Db\AbstractAdapter->insert('xf_phrase', Array, false)
#5 src/XF/Mvc/Entity/Entity.php(1306): XF\Mvc\Entity\Entity->_saveToSource()
#6 src/XF/AddOn/DataType/Phrase.php(102): XF\Mvc\Entity\Entity->save(true, false)
#7 src/XF/Job/AddOnData.php(111): XF\AddOn\DataType\Phrase->importAddOnData('Wutime/AdBlockT...', Object(SimpleXMLElement), 0, 7.99423)
#8 src/XF/Job/AddOnInstallBatch.php(343): XF\Job\AddOnData->run(7.99423)
#9 src/XF/Job/AddOnInstallBatch.php(99): XF\Job\AddOnInstallBatch->stepData(Object(XF\Timer))
#10 src/XF/Job/Manager.php(275): XF\Job\AddOnInstallBatch->run(8)
#11 src/XF/Job/Manager.php(205): XF\Job\Manager->runJobInternal(Array, 8)
#12 src/XF/Job/Manager.php(121): XF\Job\Manager->runJobEntry(Array, 8)
#13 src/XF/Admin/Controller/ToolsController.php(146): XF\Job\Manager->runByIds(Array, 8)
#14 src/XF/Mvc/Dispatcher.php(362): XF\Admin\Controller\ToolsController->actionRunJob(Object(XF\Mvc\ParameterBag))
#15 src/XF/Mvc/Dispatcher.php(264): XF\Mvc\Dispatcher->dispatchClass('XF:Tools', 'RunJob', Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#16 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(NF\Discord\XF\Admin\Controller\Tools), NULL)
#17 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#18 src/XF/App.php(2824): XF\Mvc\Dispatcher->run()
#19 src/XF.php(806): XF\App->run()
#20 admin.php(15): XF::runApp('XF\\Admin\\App')
#21 {main}
 
I bought the add-on today and installed it for the first time. I get an error message
Code:
[*]XF\Db\Exception: Batch install error: MySQL query error [1366]: Incorrect string value: '\xF0\x9F\x94\x84 S...' for column [ICODE]xenforo[/ICODE].[ICODE]xf_phrase[/ICODE].[ICODE]phrase_text[/ICODE] at row 1
[*]src/XF/Db/AbstractStatement.php:230
[/QUOTE]
This error suggests that you're forum is NOT using the correct charset for XenForo, specifically it's not using: UTF-8 (utf8mb4)

I could update my options to NOT using things like:

<phrase title="wutc_demo_label">🔄 Sync Now</phrase>

and replace with:

<phrase title="wutc_demo_label">Sync Now</phrase>

But preferably, you should update your schema and tables to use the right charset for XenForo.
 
@Michaelb24179, I just checked, I'm only using emoji's in 5 spots, as shown below, so this is a pretty easy update on my end. But I'd prefer keeping them and you just update your XenForo database to the proper charset. But I'll leave it up to you to decide because you're the customers :)

Screenshot 2025-07-30 at 5.06.55 AM.webp


Screenshot 2025-07-30 at 5.06.42 AM.webp
 
@Michaelb24179, if you want to update your xenforo to use the proper charset, let me know, it's actually not that difficult if you have access to SSH to your server.

If you're running XenForo 2.1+, XenForo provides a safe CLI-based tool:

Code:
php cmd.php xf:convert-utf8mb4

This will:
  • Convert all tables and columns properly
  • Handle index resizing for InnoDB tables
  • Skip already-correct tables
Simply run this command from the root public directory of your XenForo installation.
 
Back
Top Bottom