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

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

No permission to buy (€15.00)
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?
The options are applicable to the automated generation.
However, for the page you manually run in admin you have to input them again if I am not mistaken.

Can you please elaborate exactly the process you applied ?
And can this be configured to not create any tags with punctuation or numbers? Many tags have apostrophe characters...
As a matter of fact no, but that would make sense.
You had examples where it did ?

You can suggest this as a new feature on our website.
 
XF 2.2.15 Tags Generator - XF2 3.2.0
@XFA After uninstalling a 'tag' table was left. Is this from this addon? I reinstalled and uninstalled and it is still there.
Thanks,

Table:
tag4.webp

Even with XF showing no tags:
tag3.webp

Thread view:
tag1.webp
 
Last edited:
It is based on google API usage (free up to a certain amount of calls):
Media tags generation works only for images and is based on Artificial Intelligence recognition thanks to the Google Cloud Vision label dection API. This API is free for a defined number of calls each month and then charged (see pricing here: https://cloud.google.com/vision/pricing).
 
It is based on google API usage (free up to a certain amount of calls):
Hi,
Just bought and I thought I followed all the instructions but I'm getting a server error.
  • Error: Class "Google\Cloud\Vision\V1\ImageAnnotatorClient" not found
  • src/addons/XFA/TagsGenerator/XFMG/Entity/MediaItem.php:55

  • Aug 6, 2024 at 1:08 PM

Stack trace​



#0 src/addons/XFA/TagsGenerator/Admin/Controller/Media.php(74): XFA\TagsGenerator\XFMG\Entity\MediaItem->getLabelsWithGoogleVision(Array)
#1 src/XF/Mvc/Dispatcher.php(362): XFA\TagsGenerator\Admin\Controller\Media->actionSearch(Object(XF\Mvc\ParameterBag))
#2 src/XF/Mvc/Dispatcher.php(265): XF\Mvc\Dispatcher->dispatchClass('XFA\\TagsGenerat...', 'Search', Object(XF\Mvc\RouteMatch), Object(XFA\TagsGenerator\Admin\Controller\Media), NULL)
#3 src/XF/Mvc/Dispatcher.php(121): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(XFA\TagsGenerator\Admin\Controller\Media), NULL)
#4 src/XF/Mvc/Dispatcher.php(63): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#5 src/XF/App.php(2813): XF\Mvc\Dispatcher->run()
#6 src/XF.php(802): XF\App->run()
#7 admin.php(15): XF::runApp('XF\\Admin\\App')
#8 {main}
 
The download version on your site says 3.0.0b but the download is still 3.0.0.
You are right, there will be a discrepency of files if I don't update the version.
I'll release it.

Yeah but some insight as to what to do in each section would be helpful. You're just tossing us a scalpel and telling us to do brain surgery with that mess on Google.

I have not just tossed a scalpel, the first link ("here") redirects to the following page:

That's what I followed when I set-up during my development, but maybe some parts are not 100% clear for you ?
If you have specific questions on each of the step, don't hesitate to let me know, and I'll do my best to help you.

The only part that is perhaps not 100% crystal clear is that the generated private key at the last step needs to be uploaded to your ftp in the internal_data folder after renaming it to xfa_tg_google.json.
 
Downloaded and installed 3.0.0b, the file was there this time but still has issues. I think I'm going to give up on this and uninstall.


Error: Class "Google\Cloud\Vision\V1\ImageAnnotatorClient" not found in src/addons/XFA/TagsGenerator/XFMG/Entity/MediaItem.php at line 55

  1. XFA\TagsGenerator\XFMG\Entity\MediaItem->getLabelsWithGoogleVision() in src/addons/XFA/TagsGenerator/Admin/Controller/Media.php at line 74
  2. XFA\TagsGenerator\Admin\Controller\Media->actionSearch() in src/XF/Mvc/Dispatcher.php at line 362
  3. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 265
  4. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  5. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  6. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2813
  7. XF\App->run() in src/XF.php at line 802
  8. XF::runApp() in admin.php at line 15
 
Downloaded and installed 3.0.0b, the file was there this time but still has issues. I think I'm going to give up on this and uninstall.


Error: Class "Google\Cloud\Vision\V1\ImageAnnotatorClient" not found in src/addons/XFA/TagsGenerator/XFMG/Entity/MediaItem.php at line 55

  1. XFA\TagsGenerator\XFMG\Entity\MediaItem->getLabelsWithGoogleVision() in src/addons/XFA/TagsGenerator/Admin/Controller/Media.php at line 74
  2. XFA\TagsGenerator\Admin\Controller\Media->actionSearch() in src/XF/Mvc/Dispatcher.php at line 362
  3. XF\Mvc\Dispatcher->dispatchClass() in src/XF/Mvc/Dispatcher.php at line 265
  4. XF\Mvc\Dispatcher->dispatchFromMatch() in src/XF/Mvc/Dispatcher.php at line 121
  5. XF\Mvc\Dispatcher->dispatchLoop() in src/XF/Mvc/Dispatcher.php at line 63
  6. XF\Mvc\Dispatcher->run() in src/XF/App.php at line 2813
  7. XF\App->run() in src/XF.php at line 802
  8. XF::runApp() in admin.php at line 15
I'll dive further, test and get back to you.
Sorry for the inconvenience.
 
I admit I didn't test tagging media with the new version of XF/PHP and while it was missing something in the addon definition file, I need to upgrade the cloud vision api version.

I am currently on holidays and it seems that I can't get composer to work with my phone connection so I won't be able to fix that before a week and a half when I get back.

Sorry for the delay.
 
upgrade broke embedding media, worked upgraded it didnt, disabled embed worked again
As stated in the log I have to fix it but I am not able to right now due to connection issues while on holidays. (due date 2 weeks)
 
Back
Top Bottom