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 for vB3.8 Details »»
Automatic Thread Tagger for vB3.8
Version: 1.2.0, by Phalynx Phalynx is offline
Developer Last Online: Nov 2015 Show Printable Version Email this Page

Category: New Posting Features - Version: 3.8.x Rating:
Released: 01-08-2009 Last Update: Never Installs: 1000
DB Changes Uses Plugins Auto-Templates
Additional Files Translations  
No support by the author.

Automatic Thread Tagger


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 / Upgrade
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.


Troubleshooting
If you report a bug please post the thread title that created it, without this I cannot test it and improve the language parsers.

* If no threads are tagged you will have to check the following:
- Is the modification enabled? Is the action you are testing enabled? (vBulletin tagging, whole auto thread tagger system, AJAX, new threads)
- Are the words you are using badwords or filtered out?

* Cron/Scheduled Task is not tagging all threads.
- The cron is limited to 500 (you can change this via settings) threads per run to avoid heavy impact on server. Make sure you run maintenance auto tagger before this to tag old threads. You can check the scheduled tasks log to see if it is running correctly.
Important: If a thread title does not meet minimum requirements to be included in tags (f.e. one word thread titles, too short words), it will be forever in this queue.

* I'm using polish, arabic, turkish, etc.. language and the tagger is not working like it should.
- If not already replaced, replace the filter replacement '&'=>'and' with ' & '=>'and' (a space before and after &)



Todo
What comes next? You decide. Tell me what you are missing and I'll look if it can be integrated.


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



History
1.2.0, 9th August 2008
- Fixed error with missing threadid's
- Fixed error with AJAX and prefix
- Fixed error with not indexing tags via cron
- Added polish, spain, english stopwords
- Compatibel with vBulletin 3.8

Download Now

File Type: zip product-auto_thread_tagger120.zip (18.7 KB, 7222 views)

Show Your Support

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

Comments
  #62  
Old 02-26-2009, 10:38 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by ericdesmontagne View Post
I have a very big problem with this mod
After installing this mod, i have many white page when editing a discussion, or merging 2 discussions, or when i need to actualise the discussions via admin pannel...

Moreover, how can we do to delete all autotags ? I can't find this very useful option...

For french list :
Thanks for sharing french words.
As for your problem when editing: Cannot confirm this. Even with larger tags.
Delete auto tags is in Maintenance Tools.

Quote:
Originally Posted by FF|Skyrider View Post
I found a small issue:

My title was long, but the automatic tagger adds more than 25 characters.
Will take a deeper look.

Quote:
Originally Posted by SevenUp View Post
Russian Stopwords :-)
Thanks for sharing.

Quote:
Originally Posted by jGas View Post
hi!! thanks for this great mod!
how do i disable the cache for tags?
thanks!
Which cache? This mod does not touch any functionality of vBulletin, it just adds tags.

Quote:
Originally Posted by lane View Post
Hi,

Is it possible to setup the MOD in order to pull key words from the post itself? I believe using only forum titles greatly reduces how relevant the actual tags are.
There was a discussion few month ago about this, with the result that it would eat to much cpu with an uninteresting result on bigger posts.
Reply With Quote
  #63  
Old 02-26-2009, 10:40 AM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by jskoh View Post
ive tried to install this mod but couldnt find it appearing at my page. what have gone wrong?

i also couldnt see this Run maintenance /" Auto Tag Threads"
To get support, you will need to click "Mark as Installed".

Quote:
Originally Posted by Lima Bean View Post
Any hints or ideas on what to do when it doesn't tag the RSS feeds? I've set the option to yes and filled in the information, however it never tags any incoming feed.
Did you run the "Maintenance Tools", Recount before?

Quote:
Originally Posted by admin0 View Post
I just installed.

But i don't see this anywhere

"4. Run maintenance / Auto Tag Threads to tag existing threads (needed if you want to use the cron)"
See "Maintenance Tools"
Reply With Quote
  #64  
Old 02-26-2009, 11:08 AM
externalaw.com externalaw.com is offline
 
Join Date: Nov 2008
Posts: 51
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

externalaw.com is using this mod! Thank you so much!
Reply With Quote
  #65  
Old 02-26-2009, 12:56 PM
Yonatan Yonatan is offline
 
Join Date: Jun 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by admin0 View Post
I just installed.

But i don't see this anywhere

"4. Run maintenance / Auto Tag Threads to tag existing threads (needed if you want to use the cron)"
GO to ACP -> Maintenance -> Update Counters - Then go to "Delete Auto Tags" and run it.
Now go to "Auto Tag Threads" and run it.

Good Lock

- - - - - - - -

Phalynx.
Please change the "radio" button to "select" button in "Maintenance Tools"(Because now i cant unselect it).

And i try to run "Delete Auto Tags", then "Auto Tag Threads". and the old thread(before i install this mod) still untagged.

Help Please,
Yonatan
Reply With Quote
  #66  
Old 02-26-2009, 01:09 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yonatan View Post
Please change the "radio" button to "select" button in "Maintenance Tools"(Because now i cat unselect it).

And i try to run "Delete Auto Tags", then "Auto Tag Threads". and the old thread(before i install this mod) still untagged.

Help Please,
Yonatan
Changed in next version.
Reply With Quote
  #67  
Old 02-26-2009, 01:13 PM
Yonatan Yonatan is offline
 
Join Date: Jun 2008
Posts: 46
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phalynx View Post
Changed in next version.
And what about my other question?
Reply With Quote
  #68  
Old 02-26-2009, 01:29 PM
Phalynx Phalynx is offline
 
Join Date: Feb 2004
Location: Erlangen, Germany
Posts: 2,747
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Yonatan View Post
And i try to run "Delete Auto Tags", then "Auto Tag Threads". and the old thread(before i install this mod) still untagged.
You should check the settings if the old threads meet the conditions, like f.e. no existing tags.
Reply With Quote
  #69  
Old 02-26-2009, 01:49 PM
admin0's Avatar
admin0 admin0 is offline
 
Join Date: Mar 2003
Posts: 123
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This worked great. Running on www.nepalhub.com
Now will also put it on www.callshub.com

voted for MOTM
Reply With Quote
  #70  
Old 02-26-2009, 06:20 PM
jskoh jskoh is offline
 
Join Date: Dec 2008
Posts: 125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Phaedrus View Post
1. You will notice in the "upload to ftp" folder in your download there is one autotagger_ajax.php that you would install to your forumhome. Inside that there is an "Includes" file and a .php. You would open your includes file on your server, open that file on your computer and transfer the one .php file into that. You will notice inside there, there is a "cron" folder. You would again open your "cron" folder on your server and the one on your computer and transfer the one .php file in there.

2. If you have never installed it before "allow rewrite" would be unnecessary. If you have and were upgrading you would need to select "allow rewrite" when you upload. If you forgot the first time, you would need to do it again. You install by going to products manager and click "upload/install new product" then clicking the "browse" button, installing the product onto your version of vBulletin.

I hope this helps you. (I haven't installed it yet, it was unpopular because of the "too many tags" that users kept getting. I realize now it was because I had limited them to 5. Is there a setting where it will only select the first "x" number of tags?)

I noticed that you said it now follows the limits on one of your updates... I guess I should read. Installed and working.
i have follow your step, but i couldnt see it at my forums home page. i can only find the tag cloud in the search page. does that count? if so, can i move to the main?
Reply With Quote
  #71  
Old 02-26-2009, 11:01 PM
RedGTiVR6 RedGTiVR6 is offline
 
Join Date: Dec 2006
Location: Little Elm, TX
Posts: 817
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm having a slight problem with this mod. For some reason, it is not tagging words in a newly created forum. I had this mod installed first, then I created a new forum. Should I run the maintenance to have it see this new forum?

Any help would be greatly appreciated!

Great mod btw!
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 07:16 AM.


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.05110 seconds
  • Memory Usage 2,362KB
  • 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
  • (13)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
  • (4)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (1)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_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