Tag Essentials - with AI auto tagging and XFRM support

Tag Essentials - with AI auto tagging and XFRM support [Paid] 2.6.0 Beta

No permission to buy (£35.00)
I really like the Tag Essential's "Tags cloud" Widget, but I noticed that it doesn't display all the tags that I would expect in the subforums even if it is below the entered limit of tags.

I'm not completly sure what is the cause. Just speculating, but maybe the filters get applied in the wrong order.

Instead of filtering all the tags 1) from the particular forum node and 2) limit them to the entered limit, it might 1) limit the tag results to the entered limit and then 2) filter it to the occurrence in the particular forum node, which leads to less results and missing tags.

Or maybe it has something to do with problems regarding the limit settings.

I'm not completely sure that this is what happens, but something seems wrong with the results and maybe it could be related to something like this? @Stuart Wright could you please take a look? Thanks!
@Xon, possible to have a quick look at the logic please?
 
The 'tag cloud' does the selection of tags based on the current forum selection and use count filtering before the tag cloud is computed.

Without an example of a tag you expect to be there but isn't, it is a bit tricky to determine.

I think it might be the 'order clause' which descends strictly by use count and may give semi-random results if a large number of tags have identical use-counts.
 
The 'tag cloud' does the selection of tags based on the current forum selection and use count filtering before the tag cloud is computed.

Without an example of a tag you expect to be there but isn't, it is a bit tricky to determine.

I think it might be the 'order clause' which descends strictly by use count and may give semi-random results if a large number of tags have identical use-counts.
I would have liked to demo it, but after some testing I wasn't able to reproduce it on a fresh install. It seems that it might be specific to my installation or data. I would need to do some more research.

But I have found a little bug on the way, that I'm able to reproduce (@Xon, @Stuart Wright): The pagination for tags within a forum node doesn't work.
  • By clicking on a keyword in the tag cloud widget while being in a specific node filters the results to just the threads with the specific keyword - which works great
  • If there are more results than the number of threads that can be displayed on a page, a page navigation is displayed
  • As soon as the link to the second (or any other following page number) is clicked the user gets redirected to the second page of the unfiltered thread list of that node. The results are no longer filtered to the specific tag.
  • The URL that doesn't work looks like this: https://www.myforumname.com/node-name.35/page-2.html?tags[0]=keyword
  • However, manually changing the URL in the browser to https://www.myforumname.com/node-name.35/page-2.html?tags=keyword might work.
 
But I have found a little bug on the way, that I'm able to reproduce (@Xon, @Stuart Wright): The pagination for tags within a forum node doesn't work.
  • By clicking on a keyword in the tag cloud widget while being in a specific node filters the results to just the threads with the specific keyword - which works great
  • If there are more results than the number of threads that can be displayed on a page, a page navigation is displayed
  • As soon as the link to the second (or any other following page number) is clicked the user gets redirected to the second page of the unfiltered thread list of that node. The results are no longer filtered to the specific tag.
  • The URL that doesn't work looks like this: https://www.myforumname.com/node-name.35/page-2.html?tags[0]=keyword
  • However, manually changing the URL in the browser to https://www.myforumname.com/node-name.35/page-2.html?tags=keyword might work.
@Xon @Stuart Wright: Any feedback regarding this? Thanks!
 
Stuart Wright updated Tag Essentials with a new update entry:

Bug fix and nice new feature

Changes:
  • Fix tag cloud incorrectly excluding tags when filtering by category or the current forum
  • Change Tag Cloud category filtering to support including [no category] and [specific categories] with the result that certain categories (the omitted ones) can be excluded.
  • Change tag cloud to compute per-forum usage counts instead of global usage counts when limited to specific forums
  • Add "forum limit" option to control which forums are searched for threads with tags...

Read the rest of this update entry...
Note that we skipped a few versions in development of this and testing on AVForums where you can see it in action.
E.g. https://www.avforums.com/forums/xbox-one-forum.423/
 
Last edited:
Any chance to get support for some of Bob's addons such as Showcase and AMS?
The addons I sell are used on AVForums, which gives you the security of knowing that they will be maintained for and tested on a big site.
I don’t use Showcase or AWS, so I don’t need Tag Essentials to support them. Since it sells for only £30, I’m not going to pay for that functionality to be created as it makes zero financial sense. But if you are motivated enough to pay for the functionality, you are welcome to pay @Xon directly to add it. He does all the coding for this addon.
 
Stuart Wright updated Tag Essentials with a new update entry:

Bug fix

No longer throws an exception when displaying a tag cloud widget in a non-forum node type, e.g. a search forum.
Our solution is to just not display the tag cloud widget unless it's being passed an XF:Forum entity. Previously it'd always throw an exception if it was passed an XF:SearchForum entity. For our purposes that seems reasonable, since there's no good reason to display a tag cloud widget when the threads are coming from all over the place

Read the rest of this update entry...
 
I have an exception when edit / add tags:
1664882467322.webp
Code:
XF\Db\Exception: MySQL statement prepare error [1267]: Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT) for operation '=' in src/XF/Db/AbstractStatement.php at line 230

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 41
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 56
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 167
    XF\Db\AbstractAdapter->fetchAllKeyed() in src/addons/AVForums/TagEssentials/XF/Repository/Tag.php at line 517
    AVForums\TagEssentials\XF\Repository\Tag->getContentTagCache() in src/XF/Repository/Tag.php at line 391
    XF\Repository\Tag->modifyContentTags() in src/XF/Service/Tag/Changer.php at line 323
    XF\Service\Tag\Changer->save() in src/XF/Pub/Controller/Thread.php at line 1483
    XF\Pub\Controller\Thread->actionTags() in src/XF/Mvc/Dispatcher.php at line 352
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
    XF\App->run() in src/XF.php at line 524
    XF::runApp() in index.php at line 20
 
I have an exception when edit / add tags:
View attachment 274341
Code:
XF\Db\Exception: MySQL statement prepare error [1267]: Illegal mix of collations (utf8mb4_general_ci,IMPLICIT) and (utf8mb4_0900_ai_ci,IMPLICIT) for operation '=' in src/XF/Db/AbstractStatement.php at line 230

    XF\Db\AbstractStatement->getException() in src/XF/Db/Mysqli/Statement.php at line 198
    XF\Db\Mysqli\Statement->getException() in src/XF/Db/Mysqli/Statement.php at line 41
    XF\Db\Mysqli\Statement->prepare() in src/XF/Db/Mysqli/Statement.php at line 56
    XF\Db\Mysqli\Statement->execute() in src/XF/Db/AbstractAdapter.php at line 96
    XF\Db\AbstractAdapter->query() in src/XF/Db/AbstractAdapter.php at line 167
    XF\Db\AbstractAdapter->fetchAllKeyed() in src/addons/AVForums/TagEssentials/XF/Repository/Tag.php at line 517
    AVForums\TagEssentials\XF\Repository\Tag->getContentTagCache() in src/XF/Repository/Tag.php at line 391
    XF\Repository\Tag->modifyContentTags() in src/XF/Service/Tag/Changer.php at line 323
    XF\Service\Tag\Changer->save() in src/XF/Pub/Controller/Thread.php at line 1483
    XF\Pub\Controller\Thread->actionTags() in src/XF/Mvc/Dispatcher.php at line 352
    XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 259
    XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 115
    XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 57
    XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2353
    XF\App->run() in src/XF.php at line 524
    XF::runApp() in index.php at line 20
Need @Xon to look in here. Sounds like the character set of your database is unusual?
 
Top Bottom