Go Back   vb.org Archive > vBulletin Modifications > vBulletin 3.8 Modifications > vBulletin 3.8 Add-ons
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools
Automatic Thread Tagger From Post Content and Title Details »»
Automatic Thread Tagger From Post Content and Title
Version: 4.1.3, by NLP-er NLP-er is offline
Developer Last Online: Jan 2019 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.2 Rating:
Released: 07-10-2009 Last Update: 10-09-2009 Installs: 396
DB Changes Uses Plugins
Additional Files  
No support by the author.

VERSION 4.1.2 RELEASED - prepare for real revolution in tags!

What this mod do:
Each time new post arrives (as new thread or reply) this mod will automatically add tags according to post content, title and existing tags in forum. It will also automatically add new tags to old threads.

In details:
It will add only tags which already exists in your forum if it will be included in your post title or content.

It works simple - if title or content includes tag word, then tag will be added to this thread.
Simple and fast. And also have lot of sophisticated functionalities - see below

In more details :
I.e. if you already have in forum such tags as autohypnosis, hypnosis, nlp, and submodalities. Now someone will write post like this (as reply or new thread):

Title: Hello NLP fans
Content: I like to use autohypnosis!

So this mod will automatically add for thread where post is written such tags: autohypnosis, nlp

nlp - cause it is in title; autohypnosis - cause it is in content

hypnosis is included in word autohypnosis, but this mod is smart enough to see that there is no separate word hypnosis neither in title nor in content - so it is not added
submodalities and any other existing tag is not added here, cause it is not included either in content or title of new post.

In more details with sophisticated functionalities :
Also this mod will add tags propositions for each word existing in post title which is not a tag yet. So for this example 2 tags propositions will be added: hello and fans.
You can approve tags propositions manually or set quarantine time after which propositions will automaticaly change to tags.

This mod allows you to define related words for each tag. It means that now tag word don't have to be included in post - it is enough if any of related words is included to add tag :up:
I.e. if you have tag cat then you can define for it related words like: cats,kitty,kitties,lion,tiger. Now if any of those words appears in post then tag cat will be added

This is really great if you want have tag added no matter does word will be used singular or plural, or in which time it will be or maybe in your language you have to inflect words. Like in Polish we have: krowa, krowy, krowie, krową - for same word krowa. Now no matter how is inflected tag word in post and no matter in which language is your forum - this mod will appropriately add this tag!

You can also use this functionality to define tag packs. I.e. I want that every time when someone is writing about hypnosis or trans, booth hypnosis and trans tags to be added. In such case I simply define trans as related word for hypnosis tag and hypnosis as related word for trans tag

This mod also allows you to set default tags for forum. So each new and old thread in forum will be tagged by those tags It could be very useful - for example I have forum with good news and I want each thread in this forum to be tagged by newspaper, and news - so I simply write it in forum configuration and mod cares about everything! Is it great or just amazing?

Also with this mod You can just click one link in menu and it will add tags to all already existing threads. So If you was happy that now all new posts will be properly tagged, I have great news for you - now all threads will be properly tagged - even old one

Also every day this mod will automatically check does some new tags appears and in such case it will add new tags to all already existing threads which includes this keyword in content or title. So now not only all threads will be properly tagged for moment when you use functionality described above. It will keep all tags in all threads up to date continuously



Features:
  • Automatically adds tags to new posts/threads according to content, title and already existing tags in forum.
  • Allows you to set default tags for forum and will create those tags if don't exists
  • Tags related words functionality
  • Automatically creates tags propositions according to posts titles for words which are not tags yet
  • Configurable creation tags proposition (on/off)
  • Configurable quarantine time for tags propositions - after this time propositins will be automatically changed to tags (can be dissabled)
  • Allows manually approve and disapprove tags propositions
  • Aliases for setting tag min and max length with this mod options
  • Respects tag min and max length settings when creates tags propositions
  • Configurable set of ignored words during tags propositions creation
  • Allows you to create tags propositions from all posts titles
  • You can configure this mod to work only for new threads, or for each post - even replies.
  • Sophisticated keyword searching (will not add as tags words included in other words)
  • Configurable words separators for sophisticated searching
  • Automatically adds new tags to old threads (daily)
  • Allows you to add tags to all threads
  • Allows you to clear all tags associations to threads
  • Gives you alias to Tags form, so you can easy manage them
  • Gives you alias to Forum Manager form, so you can easily set default tags for forum
  • Creates new tags if defined ad default tags for forum and not exists
  • Allows you to add new tag and related words in one step.
  • You can configure, to how many threads should be added tags, per one page of execution of "Add tags to all threads" task
  • Respects Maximum Tags per Thread setting
  • Gives you alias to set native vBulletin Maximum Tags per Thread setting in one menu with other settings of this mod
  • Version checking supported
And commercial :
It is very useful for everyone who wants to keep an eye on tags, and doesn't want just each word from title automatically added.

So with this mod you know that only valuable tags are automatically added.

In some languages (like mine - Polish) same word is different according to whole sentence - i.e. in English is just cow and cows - in Polish we have: krowa, krowy, krowie, krową... And I didn't want all of those to make garbage of my tags, so I was not able to mod which was just adding every word which appears in title - it was too weak for me. I really wan to have only valuable tags ant that’s why I created this mod
Also with this mod thanks to related words functionality I'm sure that tag will be added no matter in which person, time or quantity the tag word is used in post! And also allows me to create groups of related tags!

When I wrote post I just to add tags myself, but also had to do this for other users who just add post and doesn't care about tags.
You know that? Now this mod will do it for you and also you will forget about tags writing, because after some time in most forums new tags are very rare, and mostly are used tags which already exist.

It was very important for me to have such solution and I want to share Enjoy!

NOTE if you made update from version older than 4.1.1 then please read first this message before update: additional update steps
In other cases - just install/update to last release

Version History:
4.1.3 Small fix for php4 users. Do not need to update if you have working version
4.1.2 Bug corrected for related words finished with comma
4.1.1 Removed aliases for native vBulletin settings.
4.1.0 Respects tag min and max length settings when creates tags propositions, also aliases for this settings added to this mod settings group. Fixed bug for changing propositions to tags with special characters.
4.0.1 Solved bug in creation propositions for all posts with option threads only
4.0.0 Mod creates new tags - first as tags propositions, after that as tags (automatically or after manual approve - configurable). Also added set of configuration options to handle tags propositions and option to add tags propositions from titles of all posts. See first post to know how exactly works tags propositions.
3.0.1 Small bug fixed in alias
3.0.0 Related words functionality, sophisticated searching, default forum tags and others
NOTE: upgrading from version 1.X.X or 2.X.X to 3.0.X you have to uninstall previous version! In Admin CP -> Plugins & Products -> Manage Products
2.1.0 Mod respects native vBulletin Maximum Tags per Thread setting
2.0.2 Added param which allows to configure, to how many threads should be added tags, per one page of execution of "Add tags to all threads" task.
2.0.1 Small bug fixed with table prefixes.
2.0.0 Added scheduled task, which adds new tags to old posts. Also added function allowing to add tags to all existing posts.
1.1.0 Added option which allows to choose do you want this mod works only for new threads or for each post - even replies. By default it works for all new posts.
1.0.0 Just great mod released

Installation:
1. Download
zip file from here (download last release - see index at the end of file name - nothing more - other files are only history)
2. Upload
to your forum directory everything what is included in upload directory
3. Import
in vB Admin CP -> Plugins & Products -> Manage Products -> Add/Import Product -> Choose product file, set Allow Overwrite to yes and click Import
4. Click : "Mark as Installed" Thanks!
5. (Optional) Customize settings
in Admin CP -> Thread Tagger -> Options
6. (Optional) Define default tags for forums
in Admin CP -> Thread Tagger -> Forum Manager choose forum and find Automatic Thread Tagger From Post Content and Title settings (see screenshots)
7. (Optional) Define tag related words
see Thread Tagger menu. Can be done in any time and in parts.
8. (Optional) Clear all tags assotiations
see Thread Tagger menu.
9. (Optional) Add tags to old threads
Admin CP -> Thread Tagger -> Add Tags To All Threads (NOTE: if you want to do this it is advised to make clean-up in your tags, especially if you had other - the old tag adder which was adding every word from title and probably already made a garbage in your tags)

Download Now

File Type: zip autotaggerfromcontentandtitle412.zip (16.3 KB, 778 views)
File Type: zip autotaggerfromcontentandtitle413.zip (16.4 KB, 2059 views)

Screenshots

File Type: jpg autotaggerfromcontentandtitle_adder.jpg (15.9 KB, 0 views)
File Type: jpg autotaggerfromcontentandtitle_clear.jpg (34.6 KB, 0 views)
File Type: jpg autotaggerfromcontentandtitle_cron.jpg (25.1 KB, 0 views)
File Type: jpg autotaggerfromcontentandtitle_forum.jpg (30.4 KB, 0 views)
File Type: jpg autotaggerfromcontentandtitle_related.jpg (71.8 KB, 0 views)
File Type: jpg autotaggerfromcontentandtitle_propositions.jpg (52.8 KB, 0 views)
File Type: jpg autotaggerfromcontentandtitle_menu.jpg (6.2 KB, 0 views)
File Type: jpg autotaggerfromcontentandtitle_options.jpg (130.1 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
3 благодарности(ей) от:
JohorBahru, m7sen, tumboor

Comments
  #2  
Old 07-11-2009, 01:48 AM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hello

Content of this post will change in time, because it will summarize most common questions/issues, presented by users. So If you don't feel happy to read whole discussion - here you have shortcut

1. On which vB versions it will work?
It is tested for 3.8.2 but can work on other versions. For older vB versions you have to modify product file and set minversion="3.8.2" to your version. Right now it is confirmed to work on vB versions:
- 3.8.0
- 3.8.2
- 3.8.3
Please confirm other versions

2. Will this mod work with Persian(Farsi), Arabic or any other language?
Yes. I have confirmed that it works with Arabic, and should with any other
Already confirmed languages:
- Arabic
- English
- Polish
I will be grateful if you confirm other languages - it will help the others who are thinking about, install this mod
Also will motivate me to give you more great plugins

3. How this mod adds new tags? I don't want to have garbage in my tags...
Remember - creating new tag and assigning it to thread those are 2 different things.
This mod NEVER creates new tags directly, so it will never mess up your tags. Automatic creation of new tags is fast way to have garbage in tags.
This mod only assigns already existing tags to threads - new and old one. It will assign a tag to thread if this thread contains tag keyword in content or title of any of its posts (or first one - it's configurable).
It will also create tags propositions for each word in post title which is not tag yet. You can manage those propositions and approve it or dissaprove. Propositions are not viwible by any user! You can manage those only in Admin CP.
Such way You define what is important for you by creating tags (and you do it only once per tag), and this mod assures you that whenever people are writing about any of important things - those threads will be appropriately tagged
No automat can decide for you what is important - so this mod says: "You are the master my lord - just tell me what's important and I'm gonna fallow your orders".
Note that you are able to configure tags propositions for automatic approve after quarantine time if you want.

4. How can I create new tags?
You can create new tags in 6 ways.
1st when you create new post and suspect that some important keyword doesn’t exists as tag yet - then you just add it when write a post. After that this mod will add new tags to all appropriate threads.
2nd when you already created post and see that something what you expected to exist as tag really doesn't - then just add tag for this thread. After that this mod will add new tags to all appropriate threads.
3rd in AdminCP -> Thread Tagger -> Tags Related Words -> Add Tag
4th you can manually approve tags propositions what will change those to tags
5th you can set quarantine time after which tags propositions will be automatically approved and changed to tags
6th allow old thread tagger to create new tags. This is also a way, but it will make a garbage in your tags, since you will have absolutely no control what is added as new tag.

Note - no matter which way you use mod will work. You just have to create tags - mod will assign those to threads. 2 first ways already assign tag to one thread (mod will assign it to rest), 3rd way only create tag without any assignment - also mod will take care of this 4th allows you easly response for new posts content. 5th and 6th are messy and not advised.

5. How much work I will have with tags creation?
It depends of your forum. You don't have to set all possible tags at once. You can add new whenever are needed - mod will handle this At my forum which is about 2 main topics (nlp and hypnosis), when I started to use tags, after few posts I was mainly adding same tags over and over again. That's why I created this mod. Add tag once, and let mod to assign it where it's appropriate.
Right now when tags proposal are rated automatically it can be few clicks

6. Do I have to create all tags myself?
Of course no - some of your users for sure cares about tags and add those. As owner you probably know what keywords are most important and which should exists as tags, so it is wise to add it. But as I already wrote you can add new ones whenever you want - this mod will assign it to old threads where is appropriate. If you want to have full tag control you can also limit other users and take theme right to create new tags (in Usergroup Manager) - it is up to you. You are the master here Of course you can also allow the old tagger mod to be master and automatically add every word from title, but this way you finish with lot of garbage. One more time - it's up to you which way you prefer

7. How this mod differs from old thread tagger mod?
This mod never creates new tags directly - only assigns existing tags to threads.
This mod creates for you tags propositions according to posts titles - you can approve or disapprove those manually or set quarantine time after which will be automatically approved.
This mod parses not only title but also content of post.
This mod works not only for first post, but for all posts in thread (you can configure it).
This mod adds you such funtionalities as tag related words, forum default tags, and many others

8. When this mod adds new tags to old posts?
It is scheduled and executed daily

9. I approved some of tags propositions - what now?
For you it's everything Whenever tag proposition is approved (manually or after quarantine time) it automatically becomes tag. So it will be assigned just when scheduled job for new tags will be executed. If you want you can run it manually from Admin CP, but it is not necessary because it is executed daily
Reply With Quote
  #3  
Old 07-11-2009, 02:09 AM
KevinL KevinL is offline
 
Join Date: Apr 2005
Posts: 1,287
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

could be very useful. I will keep an eye on this.
Reply With Quote
  #4  
Old 07-11-2009, 02:22 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

If it works with Ajax (unlike the other auto thread tagger), I'll try it. Somebody else go first.
Reply With Quote
  #5  
Old 07-11-2009, 02:32 AM
NLP-er's Avatar
NLP-er NLP-er is offline
 
Join Date: Aug 2008
Location: Wrocław
Posts: 1,353
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Videx View Post
If it works with Ajax (unlike the other auto thread tagger), I'll try it. Somebody else go first.
No - it just add new tags when post is send - no Ajax here
Thanks that it is fast and able to parse whole (even long) post - not only title

Also - I made it mostly thinking about forum users who don’t think about tags So they don't care at all about seeing tags with Ajax feature - they don't care about tags at all. And good - cause now cares this mod!

So you still can try this one
Reply With Quote
  #6  
Old 07-11-2009, 02:46 AM
Videx's Avatar
Videx Videx is offline
 
Join Date: Feb 2007
Posts: 3,085
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

No, you misunderstand. I wasn't asking for Ajax. The problem with the other thread tagger is it breaks the functionality of other Ajax mods. Specifically, the one I linked to in the other thread.
Reply With Quote
  #7  
Old 07-11-2009, 04:29 AM
CThiessen CThiessen is offline
 
Join Date: May 2007
Posts: 66
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Good Morning,
Very good Idea. Thank you for hat Add on.
Is just installed that one.
[S]Has anybody an Idea how to delete all Tags that I don?t like from the old post?
I used the old thread tagger so I do have some Tags in I don?t like.[/S]
just see there is an optoin in the ACP - 373 pages

Christian
Reply With Quote
  #8  
Old 07-11-2009, 10:06 AM
merkaz merkaz is offline
 
Join Date: Sep 2008
Posts: 81
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Very Nice ..
Installed

Thanks NLP-er .
Reply With Quote
  #9  
Old 07-11-2009, 05:19 PM
Tilly Tilly is offline
 
Join Date: Sep 2007
Posts: 86
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Works well, you just need to establish your tags yourself and then it will search for them and add them after every new post
Reply With Quote
  #10  
Old 07-11-2009, 05:56 PM
Brandon Sheley's Avatar
Brandon Sheley Brandon Sheley is offline
 
Join Date: Mar 2005
Location: Google Kansas
Posts: 4,678
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

nice mod, thanks for sharing

how is it different that the other auto tagger?
I can find a link if you don't know what mod I'm talking about
I use the other one on my forum, just wondering how this one is better/different as I might use this one instead
Reply With Quote
Reply


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

Forum Jump


All times are GMT. The time now is 03:36 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.05524 seconds
  • Memory Usage 2,393KB
  • Queries Executed 26 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (10)post_thanks_box
  • (3)post_thanks_box_bit
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (10)post_thanks_postbit_info
  • (9)postbit
  • (10)postbit_attachment
  • (10)postbit_onlinestatus
  • (10)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_postinfo_query
  • fetch_postinfo
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • fetch_musername
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • post_thanks_function_fetch_thanks_bit_start
  • post_thanks_function_show_thanks_date_start
  • post_thanks_function_show_thanks_date_end
  • post_thanks_function_fetch_thanks_bit_end
  • post_thanks_function_fetch_post_thanks_template_start
  • post_thanks_function_fetch_post_thanks_template_end
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete