No. You’re talking about processing the tags in the box at the point the thread is created. How would the system know whether a tag is irrelevant or not?Does the addon also automatically remove and replace irrelevant tags?
This is an interesting idea. I would say that the most important factor is that the tags are relevant to the thread. Because if you force ChatGPT to create a lot of tags (30 may be an awful lot if the first post only has a few words in it), then some may be more relevant than others and you may be choosing those based on them trending in Google rather than being relevant to the thread. Then you could have people arriving at the thread and being disappointed because the thread is not about the topic they expected. Something to consider.Please add integration with Google Trends API so that the most popular Tags are added to the thread. i.e. so that Tags that most people are searching for on Google are added or get priority to be added. This should result in more traffic from Google.
I don’t know anything about Google trends or search volume. But on the surface, it seems worthy of exploration.Display Google Search volume for tag suggestions, so that the admin knows which tags are useful to add for SEO.
This can be decided by ChatGPT for existing threads by evaluating thread content. it would be useful if thread tags can be evaluated by chatgpt and irrelevant tags removed or replaced.No. You’re talking about processing the tags in the box at the point the thread is created. How would the system know whether a tag is irrelevant or not?
If ChatGPT can select highly relevant tags only and then rank those by search volume, and select the top 5, then that should be a good result.This is an interesting idea. I would say that the most important factor is that the tags are relevant to the thread. Because if you force ChatGPT to create a lot of tags (30 may be an awful lot if the first post only has a few words in it), then some may be more relevant than others and you may be choosing those based on them trending in Google rather than being relevant to the thread. Then you could have people arriving at the thread and being disappointed because the thread is not about the topic they expected. Something to consider.
Ah so you're asking for the ability to re-AI-tag existing threads. The reason I didn't add this initially is because of the potential monetary cost.This can be decided by ChatGPT for existing threads by evaluating thread content. it would be useful if thread tags can be evaluated by chatgpt and irrelevant tags removed or replaced.
The best chance you have to creating relevant tags is by analysing the combination of forum name, thread title and first post text. That's what we do. There is no guarantee that any of the replies are relevant at all.I think cost could be controlled if it would be done in a process similar to batch update threads. i.e. by having criteria like node, word count, reply count, thread age, views, etc. If I only select threads/content that have at least 5 replies, visible to guests/google and in main content forums, then it reduces the number of threads to re-AI-tag by a factor of 7.
If I also factor in thread quality and post quality parameters to filter out low quality threads, then the number of threads goes down further very significantly. But that is something I do not yet have for XF2.
I think it would be valuable to be able to include more posts besides the first one as it would lead to better results. Especially since replies often add a lot of valuable information and new topics/keywords.
The cost would increase with the number of posts per thread analyzed, so being able to limit it would be needed. Some of our threads have thousands of replies, so analyzing replies without limit is probably not optimal.
@Xon is this an error in the regex or the weird character being used?Dear Stuart Wright,
Thank you for developing such an excellent add-on.
I am currently experiencing an issue as follows, and I'm not sure if it is related to your add-on.
However, after disabling your add-on, I no longer encounter the error.
Thank you for looking into this matter.
View attachment 288274
Server error log
- ErrorException: Error with tag validation regex: [E_WARNING] preg_match(): Unknown modifier '{'
- src/XF/Repository/Tag.php:84
Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] pre...', '/home/almalinux...', 84)
#1 src/XF/Repository/Tag.php(84): preg_match('[a-zA-Z0-9_-]{3...', 'khu trượt kh...')
#2 src/addons/AVForums/TagEssentials/XF/Repository/Tag.php(56): XF\Repository\Tag->isValidTag('khu trượt kh...')
#3 src/XF/Entity/Tag.php(32): AVForums\TagEssentials\XF\Repository\Tag->isValidTag('khu trượt kh...')
#4 src/XF/Mvc/Entity/Entity.php(798): XF\Entity\Tag->verifyTag('khu trượt kh...', 'tag', 5, Array)
#5 src/XF/Mvc/Entity/Entity.php(643): XF\Mvc\Entity\Entity->_verifyValueCustom('khu trượt kh...', 'tag', 5, Array)
#6 src/XF/Mvc/Entity/Entity.php(577): XF\Mvc\Entity\Entity->set('tag', 'khu trượt kh...')
#7 src/XF/Repository/Tag.php(138): XF\Mvc\Entity\Entity->__set('tag', 'khu trượt kh...')
#8 src/XF/Service/Tag/Changer.php(314): XF\Repository\Tag->createTag('khu trượt kh...')
#9 src/XF/Service/Thread/Creator.php(503): XF\Service\Tag\Changer->save(true)
#10 src/addons/DigitalPoint/Analytics/XF/Service/Thread/Creator.php(9): XF\Service\Thread\Creator->_save()
#11 src/addons/OzzModz/ScheduledContent/XF/Service/Thread/Creator.php(19): DigitalPoint\Analytics\XF\Service\Thread\Creator->_save()
#12 src/XF/Service/ValidateAndSavableTrait.php(42): OzzModz\ScheduledContent\XF\Service\Thread\Creator->_save()
#13 src/XF/Pub/Controller/Forum.php(920): XF\Service\Thread\Creator->save()
#14 src/addons/AVForums/TagEssentials/XF/Pub/Controller/Forum.php(24): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#15 src/addons/Snog/Movies/XF/Pub/Controller/Forum.php(25): AVForums\TagEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#16 src/addons/Snog/TV/XF/Pub/Controller/Forum.php(34): Snog\Movies\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#17 src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php(112): Snog\TV\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#18 src/addons/SV/Threadmarks/XF/Pub/Controller/Forum.php(145): Truonglv\Groups\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(352): SV\Threadmarks\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#20 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#21 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#22 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#23 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#24 src/XF.php(524): XF\App->run()
#25 index.php(20): XF::runApp('XF\\Pub\\App')
#26 {main}
View attachment 288275
trượt
This is because the regex you've put into the stock XF option "tagValidation" is not valid for your version of phpDear Stuart Wright,
Thank you for developing such an excellent add-on.
I am currently experiencing an issue as follows, and I'm not sure if it is related to your add-on.
However, after disabling your add-on, I no longer encounter the error.
Thank you for looking into this matter.
View attachment 288274
Server error log
- ErrorException: Error with tag validation regex: [E_WARNING] preg_match(): Unknown modifier '{'
- src/XF/Repository/Tag.php:84
Stack trace
#0 [internal function]: XF::handlePhpError(2, '[E_WARNING] pre...', '/home/almalinux...', 84)
#1 src/XF/Repository/Tag.php(84): preg_match('[a-zA-Z0-9_-]{3...', 'khu trượt kh...')
#2 src/addons/AVForums/TagEssentials/XF/Repository/Tag.php(56): XF\Repository\Tag->isValidTag('khu trượt kh...')
#3 src/XF/Entity/Tag.php(32): AVForums\TagEssentials\XF\Repository\Tag->isValidTag('khu trượt kh...')
#4 src/XF/Mvc/Entity/Entity.php(798): XF\Entity\Tag->verifyTag('khu trượt kh...', 'tag', 5, Array)
#5 src/XF/Mvc/Entity/Entity.php(643): XF\Mvc\Entity\Entity->_verifyValueCustom('khu trượt kh...', 'tag', 5, Array)
#6 src/XF/Mvc/Entity/Entity.php(577): XF\Mvc\Entity\Entity->set('tag', 'khu trượt kh...')
#7 src/XF/Repository/Tag.php(138): XF\Mvc\Entity\Entity->__set('tag', 'khu trượt kh...')
#8 src/XF/Service/Tag/Changer.php(314): XF\Repository\Tag->createTag('khu trượt kh...')
#9 src/XF/Service/Thread/Creator.php(503): XF\Service\Tag\Changer->save(true)
#10 src/addons/DigitalPoint/Analytics/XF/Service/Thread/Creator.php(9): XF\Service\Thread\Creator->_save()
#11 src/addons/OzzModz/ScheduledContent/XF/Service/Thread/Creator.php(19): DigitalPoint\Analytics\XF\Service\Thread\Creator->_save()
#12 src/XF/Service/ValidateAndSavableTrait.php(42): OzzModz\ScheduledContent\XF\Service\Thread\Creator->_save()
#13 src/XF/Pub/Controller/Forum.php(920): XF\Service\Thread\Creator->save()
#14 src/addons/AVForums/TagEssentials/XF/Pub/Controller/Forum.php(24): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#15 src/addons/Snog/Movies/XF/Pub/Controller/Forum.php(25): AVForums\TagEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#16 src/addons/Snog/TV/XF/Pub/Controller/Forum.php(34): Snog\Movies\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#17 src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php(112): Snog\TV\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#18 src/addons/SV/Threadmarks/XF/Pub/Controller/Forum.php(145): Truonglv\Groups\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#19 src/XF/Mvc/Dispatcher.php(352): SV\Threadmarks\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#20 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#21 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#22 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#23 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#24 src/XF.php(524): XF\App->run()
#25 index.php(20): XF::runApp('XF\\Pub\\App')
#26 {main}
View attachment 288275
Thank you very much. After removing the regex, it started working and no longer reports any errors.This is because the regex you've put into the stock XF option "tagValidation" is not valid for your version of php
Auto tagging XFRM resource tags
Note that I do not use or have XFRM, so I have not tested the new features on AVForums.
- A major new feature to auto tag new resources in the same way that threads are auto tagged from titles and AI.
- A batch update resources facility allow the batch update of resources to add tags from the resource titles (not AI).
thanks to
for funding this update.vape.to
xenforo.com
Note to any Tag Essentials license holders who use the XFRM, please feed back how well this is working as I haven't seen it in action.
Thanks
I haven't seen it in action, so I can't provide any feedback on how well it's working.
I believe that this add-on is not functioning properly for XFRM.
auto-tagging works well in XFRM, batch update function still not working for me. Hoping someone else can try batch update and confirm.
What is dokuwiki?@Stuart Wright I am experiencing an error like this, and I'm not sure if it is related to your add-on or not.
View attachment 288601
Server error log
- TypeError: mb_strtolower(): Argument #1 ($string) must be of type string, array given
- src/vendor/dokuwiki/utf8/utf8.php:334
- Generated by:
- 15 July 2023 at 6:08 PM
Stack trace
#0 src/vendor/dokuwiki/utf8/utf8.php(334): mb_strtolower(Array, 'utf-8')
#1 src/XF/Repository/Tag.php(19): utf8_strtolower(Array)
#2 src/XF/Repository/Tag.php(208): XF\Repository\Tag->normalizeTag(Array)
#3 src/addons/AVForums/TagEssentials/XF/Service/Tag/Changer.php(52): XF\Repository\Tag->getTags(Array, Array)
#4 src/addons/AVForums/TagEssentials/XF/Service/Thread/Creator.php(115): AVForums\TagEssentials\XF\Service\Tag\Changer->_addTags(Array)
#5 src/addons/Snog/Movies/XF/Service/Thread/Creator.php(9): AVForums\TagEssentials\XF\Service\Thread\Creator->finalSetup()
#6 src/addons/Snog/TV/XF/Service/Thread/Creator.php(9): Snog\Movies\XF\Service\Thread\Creator->finalSetup()
#7 src/XF/Service/Thread/Creator.php(446): Snog\TV\XF\Service\Thread\Creator->finalSetup()
#8 src/addons/OzzModz/ScheduledContent/XF/Service/Thread/Creator.php(14): XF\Service\Thread\Creator->_validate()
#9 src/addons/SV/Threadmarks/XF/Service/Thread/Creator.php(87): OzzModz\ScheduledContent\XF\Service\Thread\Creator->_validate()
#10 src/XF/Service/ValidateAndSavableTrait.php(19): SV\Threadmarks\XF\Service\Thread\Creator->_validate()
#11 src/XF/Pub/Controller/Forum.php(901): XF\Service\Thread\Creator->validate(NULL)
#12 src/addons/AVForums/TagEssentials/XF/Pub/Controller/Forum.php(24): XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#13 src/addons/Snog/Movies/XF/Pub/Controller/Forum.php(25): AVForums\TagEssentials\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#14 src/addons/Snog/TV/XF/Pub/Controller/Forum.php(93): Snog\Movies\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#15 src/addons/Truonglv/Groups/XF/Pub/Controller/Forum.php(112): Snog\TV\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#16 src/addons/SV/Threadmarks/XF/Pub/Controller/Forum.php(145): Truonglv\Groups\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#17 src/XF/Mvc/Dispatcher.php(352): SV\Threadmarks\XF\Pub\Controller\Forum->actionPostThread(Object(XF\Mvc\ParameterBag))
#18 src/XF/Mvc/Dispatcher.php(259): XF\Mvc\Dispatcher->dispatchClass('XF:Forum', 'PostThread', Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#19 src/XF/Mvc/Dispatcher.php(115): XF\Mvc\Dispatcher->dispatchFromMatch(Object(XF\Mvc\RouteMatch), Object(SV\RedisCache\XF\Pub\Controller\Forum), NULL)
#20 src/XF/Mvc/Dispatcher.php(57): XF\Mvc\Dispatcher->dispatchLoop(Object(XF\Mvc\RouteMatch))
#21 src/XF/App.php(2487): XF\Mvc\Dispatcher->run()
#22 src/XF.php(524): XF\App->run()
#23 index.php(20): XF::runApp('XF\\Pub\\App')
#24 {main}
We use essential cookies to make this site work, and optional cookies to enhance your experience.