[XFA] Tags Generator (support threads, resources, medias, UBS, AMS) - XF2

[XFA] Tags Generator (support threads, resources, medias, UBS, AMS) - XF2 [Paid] 3.2.0

No permission to buy (€15.00)
Unless I did this wrong but I found this very disappointing and really have no idea if it will work for me at all

Firstly I have a forum with around 209,201 threads, so now I select just one of the smaller forum area to test it on. When I check this forum it only tagged up to page 17 https://www.triumphtalk.com/forums/articles-news.478/

So I cannot see anyway I will ever be able to really get much use out of this add on the way it now is. :(
 
Last edited:
Well after looking at every possible way to do this on my forum it seems impossible, I have removed this add on :cautious:
 
Unless I did this wrong but I found this very disappointing and really have no idea if it will work for me at all

Firstly I have a forum with around 209,201 threads, so now I select just one of the smaller forum area to test it on. When I check this forum it only tagged up to page 17 https://www.triumphtalk.com/forums/articles-news.478/

So I cannot see anyway I will ever be able to really get much use out of this add on the way it now is. :(
Missed your message in fact, I am not sure what was wrong for you.

Does this add on come with a tag cloud widget?
Nope
 
May be a translation to your native language fits better ;)

Je ne suis pas sûr que d'autres l'aient déjà mentionné. Si les paramètres de filtrage de la page d'options sont réglés de telle sorte que le générateur de balises ne puisse pas trouver et ajouter des balises à un fil de discussion (par exemple parce qu'il ne trouve que les mots d'arrêt qui sont exclus ou que les termes doivent apparaître au moins 2 fois dans le fil de discussion) et que l'option "Traiter automatiquement toutes les pages" est sélectionnée, alors pendant le fonctionnement sur la première page, les fils de discussion sont remplis de 0 balises - jusqu'à ce que la page atteigne la limite "Traiter X fils par page". J'ai déjà étendu la limite à 500 fils par page, mais cela n'aide pas car même cette limite est atteinte et le générateur de balises s'arrête. Ce serait très utile si le générateur de balises pouvait récupérer tous les fils de discussion qui correspondent aux paramètres du filtre, puis ignorer ceux pour lesquels il ne peut pas ajouter de balises par exécution. Ainsi, lorsqu'un fil a reçu plus de contenu et est devenu "tag-able" à l'exécution suivante, le fil reçoit ses balises, mais il ne se produit plus le bourrage qui provoque l'arrêt du générateur dans la configuration précédente.


Yep, exactly, like a daily xfcron. The filter settings would have to be stored in the addon for that, but I guess that´s not a problem, or?
This will be fixed in next release
 
XFA updated [XFA] Tags Generator - XF2 with a new update entry:

Bug fix + New features

Corrected bugs
  • Automatic processing stops if a page contains elements without possible tags suggestions

New features
  • Filter in admin tags generator to only process threads/resources/blog entries/articles with certain prefix(es)
  • New supported contents:
    • User Blog System (UBS) - Blog Entries
    • Article Management System (AMS) - Articles
    • XenForo Media Gallery - Medias

The automatic tagging...

Read the rest of this update entry...
 
Trying to trace an error but I'm not sure what could be the problem. Ideas? It seams to happen if zero tags are entered when saving but works if at least one tag is provided.

Code:
Server error log
[LIST]
[*]Error: Class "Google\Cloud\Vision\V1\ImageAnnotatorClient" not found
[*]src/addons/XFA/TagsGenerator/XFMG/Entity/MediaItem.php:55
[*]Generated by: [URL='https://jeep-cj.com/community/admin.php?users/cj.1/edit']CJ[/URL]
[*]Nov 15, 2022 at 2:07 PM
[/LIST]
[HEADING=2]Stack trace[/HEADING]
#0 src/addons/XFA/TagsGenerator/XFMG/Service/Media/Creator.php(26): XFA\TagsGenerator\XFMG\Entity\MediaItem->getLabelsWithGoogleVision(Array)
#1 src/XF/Service/ValidateAndSavableTrait.php(42): XFA\TagsGenerator\XFMG\Service\Media\Creator->_save()
#2 src/addons/XFMG/Pub/Controller/Media.php(884): XFMG\Service\Media\Creator->save()
#3 src/XF/Mvc/Dispatcher.php(352): XFMG\Pub\Controller\Media->actionSaveMedia(Object(XF\Mvc\ParameterBag))
#4 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XFMG:Media', 'SaveMedia', Object(XF\Mvc\RouteMatch), Object(TickTackk\ChangeContentOwner\XFMG\Pub\Controller\Media), NULL)
#5 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(TickTackk\ChangeContentOwner\XFMG\Pub\Controller\Media), NULL)
#6 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#7 src/XF/App.php(2353): XF\Mvc\Dispatcher->run()
#8 src/XF.php(524): XF\App->run()
#9 index.php(20): XF::runApp('XF\\Pub\\App')
#10 {main}

[HEADING=2]Request state[/HEADING]
array(4) {
  ["url"] => string(27) "/community/media/save-media"
  ["referrer"] => string(70) "https://jeep-cj.com/community/media/categories/members-galleries.3/add"
  ["_GET"] => array(0) {
  }
  ["_POST"] => array(10) {
    ["_xfToken"] => string(8) "********"
    ["attachment_hash"] => string(32) "bd5593bcace275382170ba38c179e709"
    ["attachment_hash_combined"] => string(91) "{"type":"xfmg_media","context":{"category_id":3},"hash":"bd5593bcace275382170ba38c179e709"}"
    ["media"] => array(1) {
      [36] => array(7) {
        ["title"] => string(7) "tl1.JPG"
        ["description"] => string(0) ""
        ["tags"] => string(0) ""
        ["temp_media_id"] => string(2) "36"
        ["media_hash"] => string(32) "8e08c616c285104d01c106ec725c5332"
        ["media_type"] => string(5) "image"
        ["attachment_id"] => string(5) "76942"
      }
    }
    ["album"] => array(2) {
      ["title"] => string(7) "uuiiihu"
      ["description"] => string(0) ""
    }
    ["category_id"] => string(1) "3"
    ["album_id"] => string(1) "0"
    ["_xfRequestUri"] => string(51) "/community/media/categories/members-galleries.3/add"
    ["_xfWithData"] => string(1) "1"
    ["_xfResponseType"] => string(4) "json"
  }
}
 
This seems related to tags generation for images.
It was working properly before ?
You configured options with API info ?
 
Hi there XFA, I'm getting repeated errors (hundreds) - I believe its to do with this addon.

1705666192387.webp

Any advice is greatly appreciated. I've disabled for now.
 
As per Bob's pm I'll need to fix it.
I will work on that this week most certainly rather by the end of the week.
 
Hi there XFA, I'm getting repeated errors (hundreds) - I believe its to do with this addon.

View attachment 296860

Any advice is greatly appreciated. I've disabled for now.
I checked and it doesn't seem to come from my code.

I don't call that method.
I think it shows my add-on's path just because I extend the article item entity but the error is from somewhere else.
 
In Options: [XFA] Tags generator, I listed words to not use for tags in the "Tag generator: Ignore words" field, however these tags are still being created when I run the Thread Tags Generator. How to run the thread tag generator and have it not use these stop words?

And can this be configured to not create any tags with punctuation or numbers? Many tags have apostrophe characters...

Thank you.
 
Top Bottom