![]() |
|
Mod Options |
![]() |
|||||||||||
Automatic Thread Tagger for vB4.x
![]() Developer Last Online: Dec 2011 ![]() ![]() ![]()
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: http://www.vbulletin.org/forum/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: http://www.vbulletin.org/forum/showp...&postcount=380 ------------------------------------------------------------- Text are taken from the original thread: http://www.vbulletin.org/forum/showthread.php?t=201156 Thanks to Phalynx Download Now Only licensed members can download files, Click Here for more information. Supporters / CoAuthors Show Your Support
The following members like this post: pablodip
|
![]() |
||||
Mod | Developer | Type | Replies | Last Post |
New Posting Features Automatic Thread Tagger for vB3.8 | Phalynx | vBulletin 3.8 Add-ons | 256 | 04 Jul 2018 22:57 |
New Posting Features Automatic Thread Tagger | Phalynx | vBulletin 3.7 Add-ons | 620 | 25 Sep 2014 07:45 |
#91
|
||||||||||||||||
|
||||||||||||||||
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:
Replace with:
Find:
Replace it with this:
__________________
You can get access to my 180 mods for vB 3.6 - 4.x at The Admin Zone as well as the professional support you are used to. New vBulletin Spider Definitions, vBulletin Spiders List Hits 1000 Spiders! OzzModz down. Site has had a data breach, checking how the intrusion happened. Change your PW if you use the same one on my site and others. The following members like this post: sadiq6210, rootsxrocks
|
#92
|
|||
|
|||
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 No members have liked this post.
|
#93
|
|||
|
|||
Getting same errors. Would appreciate update for 4.2.2
Noticed that when editing posts, errors do not allow post to load with edits. No members have liked this post.
|
#94
|
|||
|
|||
@Sadig6210, @Mooncreek:
Please read the modification's thread before posting. @Ozzy47 graciously posted several fixes in post #91, http://www.vbulletin.org/forum/showpost.php?p=2451721&postcount=91. The author has not been online since 2011. No members have liked this post.
Last edited by tbworld; 30 Nov 2013 at 07:12. |
#95
|
||||
|
||||
Hi,
i got an Error that the split function is deprecated. File is includes/functions_autotagger.php Line 394
Can i replace all split to explode? I ask Phalynx for Permission and Coroner for Coding in 2010 for that Addon.
__________________
Greetz from Dortmund/Germany Marcus The following members like this post: rootsxrocks
|
#96
|
||||||||||||||||
|
||||||||||||||||
Originally Posted by ozzy47
I just wanted to add I had done this edit without success and turned the mod off till I could get back to it , but just went back and changed several more instances of the split to explode and it appears to be working. ![]()
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
__________________
![]() No members have liked this post.
|
#97
|
||||
|
||||
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?
__________________
Greetz from Dortmund/Germany Marcus No members have liked this post.
|
#98
|
||||
|
||||
I have done
http://www.vbulletin.org/forum/showp...1&postcount=91 but still found http://www.vbulletin.org/forum/showp...3&postcount=92 any idea? No members have liked this post.
|
#99
|
|||
|
|||
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
__________________
![]() No members have liked this post.
|
#100
|
||||||||||||||||
|
||||||||||||||||
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
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
__________________
![]() No members have liked this post.
|
#101
|
|||
|
|||
Originally Posted by sadiq6210
same mistakes, I tried changing ozzy but has no effect![]()
the plugin that generates the error is this Automatic Thread Tagger threaddata_postsave No members have liked this post.
|
#102
|
|||
|
|||
split/explode isn't enough to get rid of all the errors. This causes my forum to freeze on editing a post.
No members have liked this post.
Last edited by Phaedrus; 09 Apr 2014 at 04:24. Reason: More significant information |
#103
|
|||
|
|||
Uninstalled but tagged just in case it works later. Even with the updates listed previously in this thread this caused errors on my forum. Tried the other auto tagger, but it too caused errors. 4.2.2 PL1
Here's to hoping to update this later. No members have liked this post.
|
#104
|
|||
|
|||
Is this working for 4.2.2?
No members have liked this post.
|
#105
|
|||
|
|||
Thanks you ozzy47, is mod run good 4.2.2
![]() EDIT: Hi, I've had to disable as it brought me problems in threads, when a user edits and gives branded store stays .. and have to refresh the page to see the results No members have liked this post.
Last edited by pablodip; 11 Aug 2014 at 22:24. Reason: Hi, I've had to disable as it brought me problems in threads, when a user edits and gives branded store stays .. and have to |
![]() |
«
Previous Mod
|
Next Mod
»
Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
Mod Options | |
|
|
New To Site? | Need Help? |
All times are GMT. The time now is 03:25.