The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
Automatic Thread Tagger for vB4.x Details »» | |||||||||||||||||||||||||||
Automatic Thread Tagger
This is the vB4 conversation of the original by Phalynx (with permission) Description When a user submits a new thread this modification will automatically take keywords from the thread title and use these as tags. You can use Automatic Thread Tagger to propose the user AJAX tags for his new thread, or it assigns new tags after saving the new thread. It can add the translated thread prefix to the tags. Additionally, you can tag existing threads via maintenance and also scheduled tasks. This modification is a successor to the terminated Automatic Thread Tagger by MrEyes: https://vborg.vbsupport.ru/showthread.php?t=179927 As an example, if a user submits a thread with a title of: "Fish Food for Cats!" The thread will be automatically tagged with: - Fish - Food - Cats If the user also submits an actual tag of "Fish" this will not be duplicated. Any rules you have setup for tagging will be respected. If you choose to do so this product will also automatically tag threads created by incoming RSS feeds. Demo I cannot show you the process of creation, but here is a list of tags generated by Auto Thread Tagger: http://www.insideearth.net/tags.php?langid=5 http://www.insidesupcom.de/tags.php?langid=1 Automatic Tagging of existing threads You can tag existing threads via maintenance or scheduled task/cron. They will be created with a special flag so they can be easily identified and deleted. Manual assigned tags are not touched. Maintenance is also working if Automatic Tagging is disabled via settings. Great if you want to test some settings. Automatic Tagging will take the date of the thread creation and also the userid of the creator. This process can be automated by running a scheduled job once a night. Please keep in mind that tags that were proposed via AJAX are not tagged as auto tagged and therefore cannot be identified as such (and therefore not deleted automatically). If you want to retain the auto tagged flag you should disable AJAX and enable the tagging after the thread has been saved. As an alternative way you can also disable this and let new threads be tagged in the night from the scheduled job. Installation 1. Upload all files from "upload" to your server, take care of the directory structure 2. Import "product-auto_thread_tagger110.xml" as a product, overwrite if it's already installed 3. Check settings 4. Run maintenance / Auto Tag Threads to tag existing threads (needed if you want to use the cron) After install, and by default the modification is disabled, this will allow you to play around with configuration before switching it on. Why thread title and not thread text? Parsing the thread text for tags is an extremely unlikely addition as this would require some fairly heavy processing to ensure quality of tags. What are Stopwords? Stopwords is the name given to words which are filtered out prior to processing of tags. The user Hostboard on vBulletin.org posted some resources regardings this: https://vborg.vbsupport.ru/showpost....&postcount=380 ------------------------------------------------------------- Text are taken from the original thread: https://vborg.vbsupport.ru/showthread.php?t=201156 Thanks to Phalynx Download Now
Supporters / CoAuthors Show Your Support
|
Благодарность от: | ||
pablodip |
Comments |
#92
|
||||
|
||||
Warning: Assigning the return value of new by reference is deprecated in ....Bla Bla Bla
How to fix. Open the file, includes/functions_autotagger.php on line 191, in that file find the following: Code:
$excludedForums = split('\|', $vbulletin->options['autotag_exclude_forums']); Code:
$excludedForums = explode('\|', $vbulletin->options['autotag_exclude_forums']); Code:
$excludedUsers = split('\|', $vbulletin->options['autotag_exclude_users']); Code:
$excludedUsers = explode('\|', $vbulletin->options['autotag_exclude_users']); |
2 благодарности(ей) от: | ||
rootsxrocks, sadiq6210 |
#93
|
|||
|
|||
I got this errors in 4.2.2 / php5.4
Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 15 Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 23 Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 32 Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 33 |
#94
|
|||
|
|||
Getting same errors. Would appreciate update for 4.2.2
Noticed that when editing posts, errors do not allow post to load with edits. |
#95
|
|||
|
|||
@Sadig6210, @Mooncreek:
Please read the modification's thread before posting. @Ozzy47 graciously posted several fixes in post #91, https://vborg.vbsupport.ru/showpost.php?p=2451721&postcount=91. The author has not been online since 2011. |
#96
|
||||
|
||||
Hi,
i got an Error that the split function is deprecated. File is includes/functions_autotagger.php Line 394 PHP Code:
I ask Phalynx for Permission and Coroner for Coding in 2010 for that Addon. |
Благодарность от: | ||
rootsxrocks |
#97
|
|||
|
|||
Quote:
It was hard to catch the errors shown before the page changed. I ignored other lines that included this $subjectTopreg_split(kens = '/\s(?=([^"]*"[^"]*"[^"]*)*$|[^"]*$)/', $title, -1, PREG_SPLIT_NO_EMPTY); Other lines changed include but are not limited to line 338 line 421 line 389 line 375 line 394 |
#98
|
||||
|
||||
Exclude from Forums are not Working.
I have a lot of ID´s in the Settings, but the Forums are all Tagged. Maybe a User or Coder can Fix it? |
#99
|
||||
|
||||
I have done
https://vborg.vbsupport.ru/showpost....1&postcount=91 but still found https://vborg.vbsupport.ru/showpost....3&postcount=92 any idea? |
#100
|
|||
|
|||
I was able to exclude 1 forum delete all tags and re run and it worked fine and did not retag all the weather threads
|
#101
|
|||
|
|||
this is the lines as they are in my file im running PHP Version 5.4.24 and it seems to be working without errors but i may have just missed them.
Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 15 PHP Code:
PHP Code:
PHP Code:
PHP Code:
|
Thread Tools | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|