PDA

View Full Version : Major Additions - Yilmaz - Automatic Topic Tagger vB5


yilmaz
09-30-2020, 09:00 PM
Automatic Topic Tagger (Compatible 5.6.x)

The first vBulletin 5 connect auto tagger, auto tagger will automatically generate the tags from the content title, It's also will work in the background to update the old content in your forum, And generate the tags for all of your old content, Don't worry you don't have to run any scripts to generate the old content tags it will do all of this for you in the background.

Video showing how the scheduled task works https://youtu.be/RN_d54uIElw


Multiple Selected tags delete feature

No issues left in version 1.1.4

15.10.2022
Version 1.1.8 adapted the current vbulletin version.

========================================
How to install:
========================================
Upload the content of "Yilmaz - Automatic Topic Tagger vB5" to your root.
that's all it.
enjoy..
-----


========================================
How to uninstall:
========================================
1. Remove the package "yilmazautotagger" that located in /core/packages/
2. Go to "Manage Products" in the admincp and delete the product named "Yilmaz - Automatic Topic Tagger vB5"

How to update:
========================================
After uploading files
-Import XML file (as product) through AdminCP: Plugin System > Manage Products > [Add/Import Product]
OR import the XML file from your server

./core/packages/yilmazautotagger/xml/product_yilmazautotagger.xml


Please Mark as Installed if you use this. :)
Donations always appreciated (https://www.paypal.com/paypalme/yilmaztv/5). :up:

Blackhorse
11-01-2020, 02:57 AM
What about other files such as cron, api, xml don't we upload?

yilmaz
11-01-2020, 01:22 PM
What about other files such as cron, api, xml don't we upload?

When you upload the downloaded file to ftp, it will be installed automatically.

Scheduled task automatically generates missing topic tags.

Blackhorse
11-01-2020, 03:04 PM
When you upload the downloaded file to ftp, it will be installed automatically.

Scheduled task automatically generates missing topic tags.

Thank you yilmaz, where can i follow up to confirm it is working?

I don't see change right mow in cron jobs or in tagging pages.

migratoria
01-31-2021, 05:21 PM
I uploaded the files contained in the upload_to_root folder.
What should we do about the api cron and xml folders?

In the options what we have to put on:
"Content Type: Enter the Content Type to be tagged"

yilmaz
01-31-2021, 05:53 PM
I uploaded the files contained in the upload_to_root folder.
What should we do about the api cron and xml folders?

In the options what we have to put on:
"Content Type: Enter the Content Type to be tagged"
Don't do anything.
Leave it to time, there will be no untagged topics

DamasGate
02-06-2021, 10:35 AM
Installed and working, It is good if an exception is made for numbers and words are less than three letters to be NOT taged.

Thank you very much,

milforum
02-06-2021, 03:29 PM
Unfortunately it doesn't work for me, and it's been running several days.

Every 10 minutes, when it is set to run, I receive an e-mail with unreadable content and the title: "Subject: Cron <myuser@myserver> /usr/local/bin/php /home/myuser/public_html/includes/vbcron.php"

I'm not sure if this is related, but my public_html/error_log is getting huge. 10-20 times every second it gets error messages like these:

[06-Feb-2021 18:23:03 Europe/Berlin] PHP Warning: include(/home/myuser/public_html/core/cache/template/template7387.php): failed to open stream: No such file or directory in /home/myuser/public_html/includes/vb5/template.php on line 405
[06-Feb-2021 18:23:03 Europe/Berlin] PHP Warning: include(): Failed opening '/home/myuser/public_html/core/cache/template/template7387.php' for inclusion (include_path='.:/opt/alt/php74/usr/share/pear') in /home/myuser/public_html/includes/vb5/template.php on line 405

milforum
02-08-2021, 04:47 PM
The last error was due to that I had the forum set to cache the templates as files rather than relying on the database. However, somehow one of the templates didn't write correctly to the file system so every time the software tried to call it, it couldn't find it. By turning off that option, that missing file isn't called.

This fixed another one of my problems with another product, but it seems that the automatic topic tagger still doesn't work. I assume it is not meant to give me an e-mail as mentioned in the previous post every 10 minutes?

milforum
02-09-2021, 03:17 PM
To elaborate: Every 10 minutes CRON gives me an e-mail with the following title and unreadable contents: /usr/local/bin/php /home/myuser/public_html/includes/vbcron.php . I'm assuming this is an error message.

The tagger has been running for several days without any visible results, and I'd really like to get all my threads tagged. Any idea what this could be?

yilmaz
02-09-2021, 04:18 PM
To elaborate: Every 10 minutes CRON gives me an e-mail with the following title and unreadable contents: /usr/local/bin/php /home/myuser/public_html/includes/vbcron.php . I'm assuming this is an error message.

The tagger has been running for several days without any visible results, and I'd really like to get all my threads tagged. Any idea what this could be?

Is there a similar error code in the incoming e-mail

https://vborg.vbsupport.ru/attachment.php?attachmentid=158541&stc=1&d=1612894695

milforum
02-09-2021, 05:46 PM
I'm not sure. The e-mail client says, "There are no parts that can be shown inline." I can't find any contents in the e-mail, just the address fields and timestamp.

milforum
02-10-2021, 03:49 PM
It seems to be an e-mail that is sent every time a CRON job which provides output runs, so it might be OK. But how can I see what your product produces every time it runs? The tag list is still empty.

Events
02-11-2021, 02:50 AM
For me it worked once, then its not running anymore. When I looked into the scheduled tasks log there is nothing for the auto tagger.

milforum
02-11-2021, 04:47 AM
Yes, strange. It is scheduled to run every 10 minutes with logging, but the log is empty.

yilmaz
02-11-2021, 11:47 AM
Yes, strange. It is scheduled to run every 10 minutes with logging, but the log is empty.

yousite/admincp/cronadmin.php?do=modify&

Would you try to run it manually

https://vborg.vbsupport.ru/attachment.php?attachmentid=158544&stc=1&d=1613051205


yousite/admincp/options.php?do=options&dogroup=tagging

Enable Topic Tagging, is it enabled?

https://vborg.vbsupport.ru/attachment.php?attachmentid=158545&stc=1&d=1613051439

milforum
02-11-2021, 12:24 PM
I tried to run it manually. Nothing is logged, and no tags are created.

Also, topic tagging is enabled globally. I don't know if it's relevant, but tag minimum length is 3 and max 50. Tag separators is blank and tags are forced to be lower case.

Events
02-13-2021, 03:38 AM
same here

mito22
02-16-2021, 11:40 AM
If I already have some topics WITH tags (10%)... this plugins... act on ALL forum or only on topics without tags?

yilmaz
02-17-2021, 06:22 PM
If I already have some topics WITH tags (10%)... this plugins... act on ALL forum or only on topics without tags?

Checks for untagged topics, if there is no tag, converts the title to a tag.

yousite/admincp/yilmaztag.php?

You can see the list of tags from this link, if you delete all of them, it tags again.

milforum
02-18-2021, 01:11 PM
Content type is set to 21,22,23,24,26,27,29,30,32,33.

I'm not sure what these numbers are, but could there be something wrong here, since the module doesn't work for me?

yilmaz
02-18-2021, 02:20 PM
Content type is set to 21,22,23,24,26,27,29,30,32,33.

I'm not sure what these numbers are, but could there be something wrong here, since the module doesn't work for me?

Version 1.1.2 updated

The last version does not have this, the contenttypeid automatically finds it

yilmaz
02-19-2021, 06:16 AM
For me it worked once, then its not running anymore. When I looked into the scheduled tasks log there is nothing for the auto tagger.

Yes, strange. It is scheduled to run every 10 minutes with logging, but the log is empty.

I revisited the log setting now it works

https://vborg.vbsupport.ru/attachment.php?attachmentid=158627&d=1613722358

Events
02-19-2021, 06:55 AM
Updated to the new version, now is working fine for me!!

yilmaz
02-19-2021, 07:20 AM
Video showing how the scheduled task works https://youtu.be/RN_d54uIElw

milforum
02-19-2021, 06:42 PM
Great! Now it seems to be working, @Yilmaz. Uploaded your latest version, and it's tagging threads as we speak.

I also installed your "Similar threads" now, and it has started finding matches. Guess I'll have to wait a while for the topic tagger to run through a couple of thousand threads.

mito22
02-19-2021, 07:11 PM
Installed.... tomorrow I'll try to set up all... thanks! ;)

DamasGate
02-20-2021, 09:47 PM
Upgraded and working fine.

I have a question please:
Is it possible to display it in the first post of all the topic pages (Multi-page topics)?

Thank you

milforum
02-21-2021, 08:40 AM
It seems to be working almost OK for me: It has tagged many threads, but now I see in the log that it tries to tag the same threads over and over again without succeeding. The threads in question haven't received any tags.

Any way to come around this?

yilmaz
02-21-2021, 04:36 PM
It seems to be working almost OK for me: It has tagged many threads, but now I see in the log that it tries to tag the same threads over and over again without succeeding. The threads in question haven't received any tags.

Any way to come around this?
I updated the version again.
No issues left in version 1.1.4

milforum
02-21-2021, 06:39 PM
I updated the version again.
No issues left in version 1.1.4Thanks, but actually I think you have the wrong zip-file here; it's the one for hiding text from guests.

yilmaz
02-21-2021, 06:47 PM
Thanks, but actually I think you have the wrong zip-file here; it's the one for hiding text from guests.

Sorry, now I've uploaded the correct one. :p

milforum
02-21-2021, 07:47 PM
Thanks a lot. It seems to work now. I'll check in tomorrow.

milforum
02-22-2021, 04:05 PM
Some more information: It worked to a certain point, but then there were many threads that it didn't manage to tag. When I changed in AdminCP -> Tagging Options and set it to run as Super Moderator it worked, since many of the threads in question were in hidden sub-forums. From some point earlier today all that is logged is "Tags are not added", which is good.

However, some new public threads have been created today, and these have not been tagged, even though it's been a few hours and the autotagger still runs. Is there a setting somewhere that stops it from tagging new threads?

yilmaz
02-22-2021, 04:28 PM
Some more information: It worked to a certain point, but then there were many threads that it didn't manage to tag. When I changed in AdminCP -> Tagging Options and set it to run as Super Moderator it worked, since many of the threads in question were in hidden sub-forums. From some point earlier today all that is logged is "Tags are not added", which is good.

However, some new public threads have been created today, and these have not been tagged, even though it's been a few hours and the autotagger still runs. Is there a setting somewhere that stops it from tagging new threads?

That the problem was fixed with a small change.

Upload files back to FTP, nothing else is needed.

milforum
02-23-2021, 07:29 AM
Maybe I did something wrong, because I uploaded the files and also did the add/import XML again. Now it tries to tag a lot of old threads over and over again, but without success. I have set tagging to be done using Super Moderator privileges, but to no avail.

milforum
02-23-2021, 11:34 AM
I just found that I get a lot of database errors, one every few minutes. One example below (slightly redacted with xxx):

Invalid SQL:
SELECT * FROM node WHERE nodeid = ORDER BY created DESC LIMIT 0,1;

MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY created DESC LIMIT 0,1' at line 1
Error Number : 1064
Request Date : Tuesday, February 23rd 2021 @ 09:23:44 AM
Error Date : Tuesday, February 23rd 2021 @ 09:23:44 AM
Script : https://xxx/create-content/loadnewposts
Referrer : https://xxx/node/18353/page2
IP Address : xxx
Username : xxx
Classname : vB_Database_MySQLi
MySQL Version :


Stack Trace:
#0 vB_Database->getErrorData() called in phar://[path]/vb/vb.phar/database.php on line 1214
#1 vB_Database->halt() called in phar://[path]/vb/vb.phar/database/mysqli.php on line 249
#2 vB_Database_MySQLi->execute_query() called in phar://[path]/vb/vb.phar/database.php on line 627
#3 vB_Database->query_first() called in [path]/packages/yilmazsimilarthreads/api/template.php on line 33
#4 YilmazSimilarThreads_Api_Template::fetchBulk() called in phar://[path]/vb/vb.phar/api/wrapper.php on line 223
#5 vB_Api_Wrapper->__call() called in /home/xxx/public_html/includes/api/interface/collapsed.php on line 105
#6 Api_Interface_Collapsed->callApi() called in /home/xxx/public_html/includes/vb5/template/cache.php on line 224
#7 vB5_Template_Cache->fetchTemplate() called in /home/xxx/public_html/includes/vb5/template/cache.php on line 110
#8 vB5_Template_Cache->replacePlaceholders() called in /home/xxx/public_html/includes/vb5/template.php on line 421
#9 vB5_Template->render() called in /home/xxx/public_html/includes/vb5/frontend/controller/createcontent.php on line 2442
#10 vB5_Frontend_Controller_CreateContent->renderSinglePostTemplate() called in /home/xxx/public_html/includes/vb5/frontend/controller/createcontent.php on line 2246
#11 vB5_Frontend_Controller_CreateContent->actionLoadNewPosts() called in /home/xxx/public_html/index.php on line 75

yilmaz
02-23-2021, 12:18 PM
MySQL Error : You have an error in your SQL syntax; check the manual that corresponds to your MariaDB server version for the right syntax to use near 'ORDER BY created DESC LIMIT 0,1' at line 1

Judging by the mysql error, the files belong to the old version.

https://vborg.vbsupport.ru/showthread.php?t=328436

webnsn
05-02-2021, 03:47 PM
Will it work for 3.8 version?

And what happens to already old tags ?

dorans
05-27-2023, 07:45 PM
Too bad, it works on 5.7.4 and PHP 8.26 but I turned it off.
It automatically created tags from all moderator topics, for example with message reports, so that in similar topics there is "xxx reported a message" ...
Can this be resolved?