Register Members List Search Today's Posts Mark Forums Read

Reply
 
Mod Options
Automatic Thread Tagger for vB4.x Details »
Automatic Thread Tagger for vB4.x
Mod Version: 1.20, by Coroner (Coder) Coroner is offline
Developer Last Online: Dec 2011 I like it Show Printable Version Email this Page

vB Version: 4.1.0 Rating: (27 votes - 4.56 average) Installs: 296
Released: 15 Dec 2010 Last Update: Never Downloads: 2071
Not Supported DB Changes Uses Plugins Template Edits Additional Files Translations  

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

  • To receive notifications regarding updates -> Click to Mark as Installed.
  • If you like this modification support the author by donating.
  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Similar Mod
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  
Old 10 Oct 2013, 11:52
ozzy47's Avatar
ozzy47 ozzy47 is offline
 
Join Date: Aug 2009
Real name: Chris
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
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.
Reply With Quote
  #92  
Old 28 Oct 2013, 22:00
sadiq6210 sadiq6210 is offline
 
Join Date: Sep 2005
Real name: Sadiq
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
Reply With Quote
  #93  
Old 30 Nov 2013, 00:35
mooncreek mooncreek is offline
 
Join Date: Feb 2005
Getting same errors. Would appreciate update for 4.2.2

Noticed that when editing posts, errors do not allow post to load with edits.
Reply With Quote
  #94  
Old 30 Nov 2013, 06:09
tbworld tbworld is offline
 
Join Date: Oct 2008
@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.

Last edited by tbworld; 30 Nov 2013 at 07:12.
Reply With Quote
  #95  
Old 14 Jan 2014, 11:44
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Real name: Marcus
Hi,
i got an Error that the split function is deprecated.
File is includes/functions_autotagger.php Line 394

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

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
Reply With Quote
  #96  
Old 03 Feb 2014, 08:07
rootsxrocks rootsxrocks is offline
 
Join Date: Aug 2009
Originally Posted by ozzy47 View Post
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:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace with:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Find:

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Replace it with this:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.
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
__________________
Reply With Quote
  #97  
Old 06 Feb 2014, 12:35
MrD's Avatar
MrD MrD is offline
 
Join Date: Aug 2003
Real name: Marcus
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
Reply With Quote
  #98  
Old 13 Feb 2014, 10:37
ITDarasgah's Avatar
ITDarasgah ITDarasgah is offline
 
Join Date: Mar 2009
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?
Reply With Quote
  #99  
Old 13 Feb 2014, 18:06
rootsxrocks rootsxrocks is offline
 
Join Date: Aug 2009
Originally Posted by MrD View Post
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?
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
__________________
Reply With Quote
  #100  
Old 13 Feb 2014, 18:15
rootsxrocks rootsxrocks is offline
 
Join Date: Aug 2009
Originally Posted by sadiq6210 View Post
I got this errors in 4.2.2 / php5.4
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

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 23

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 32

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

Warning: Illegal string offset 'threadid' in ..../includes/functions_autotagger.php on line 33

Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.

__________________
Reply With Quote
  #101  
Old 20 Feb 2014, 11:36
gbicar gbicar is offline
 
Join Date: Jul 2012
Originally Posted by sadiq6210 View Post
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
same mistakes, I tried changing ozzy but has no effect

the plugin that generates the error is this
Automatic Thread Tagger threaddata_postsave
Reply With Quote
  #102  
Old 08 Apr 2014, 03:00
Phaedrus Phaedrus is offline
 
Join Date: Aug 2006
split/explode isn't enough to get rid of all the errors. This causes my forum to freeze on editing a post.

Last edited by Phaedrus; 09 Apr 2014 at 04:24. Reason: More significant information
Reply With Quote
  #103  
Old 09 Apr 2014, 05:09
Phaedrus Phaedrus is offline
 
Join Date: Aug 2006
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.
Reply With Quote
  #104  
Old 18 Apr 2014, 10:14
krimznheidiz krimznheidiz is offline
 
Join Date: May 2013
Is this working for 4.2.2?
Reply With Quote
  #105  
Old 04 Aug 2014, 03:52
pablodip pablodip is offline
 
Join Date: Mar 2014
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

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
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Mod Options

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 03:25.

Layout Options | Width: Wide Color: