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

Reply
 
Thread Tools
Automatic Thread Tagger Details »»
Automatic Thread Tagger
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.7.x Rating:
Released: 07-15-2008 Last Update: 01-08-2009 Installs: 841
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

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.

Comments
  #462  
Old 10-13-2008, 07:30 PM
Netunt Netunt is offline
 
Join Date: Oct 2008
Location: England
Posts: 107
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Joppe111 View Post
Yes. I have:

Ran the cron job, deleted all tags, and then tried to run the thread tagger under the maintenance section, and now it freezes on thread #411. I have tried setting the number of threads to process down to 250, but the same thing still happens.


I have tried upgrading to the beta now to see if that would solve my problems, but I still run into the same thing.
Is there a particular problem with that thread? If it is not important, you could try deleting it.
Reply With Quote
  #463  
Old 10-14-2008, 01:32 AM
MonkYZ MonkYZ is offline
 
Join Date: Jul 2008
Posts: 334
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice module ! Is there a way to remove tags from the Popular Tags module in vBadvanced that are not used anymore ?

I just replaced 'x360'=>'xbox 360' and now if i click on 'x360' tag, i get an "Invalid Tag specified. If you followed a valid link, please notify the administrator"

I also tried using Maintanance - Delete Auto tag and then - Auto tag threads, but the 'x360' is still there. Thx in advance !
Reply With Quote
  #464  
Old 10-14-2008, 02:06 AM
Zachariah's Avatar
Zachariah Zachariah is offline
 
Join Date: Feb 2002
Location: Canoga Park, CA
Posts: 2,125
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

groovy work I am running it for a burn in test
- 35 RSS feeds

[high]* Zachariah runs to try and break something[/high]
Reply With Quote
  #465  
Old 10-14-2008, 02:08 AM
ehsanix ehsanix is offline
 
Join Date: Oct 2003
Posts: 154
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

superb
thanks dude
Reply With Quote
  #466  
Old 10-14-2008, 07:50 AM
trstudent trstudent is offline
 
Join Date: Jul 2008
Location: Istanbul
Posts: 7
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i have installed it but have a little problem. automatic taggin works fine. But when i get into tags.php or any tagged word it list the threads but they are not linked to the thread. All of them sends me to the main page.
Theese will help you to understand better.
go to this page http://www.trstudent.com/tags.php
then choose one word like this http://www.trstudent.com/tags.php?tag=tercihler
then you will see the thread list but all of them sends you to www.trstudent.com ... I couldn't solve it...
Reply With Quote
  #467  
Old 10-14-2008, 05:48 PM
Joppe111's Avatar
Joppe111 Joppe111 is offline
 
Join Date: Nov 2007
Location: Stockholm
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Netunt View Post
Is there a particular problem with that thread? If it is not important, you could try deleting it.
Tried it but the problem just moved further, it looks like all threads having a combination of auto-tags and manual tags doesn't work...

After saying yes to "Disable Auto Tag if Tagged?" it started to work though...!!

It's a great mod, perfect for SEO!
Reply With Quote
  #468  
Old 10-14-2008, 06:00 PM
Joppe111's Avatar
Joppe111 Joppe111 is offline
 
Join Date: Nov 2007
Location: Stockholm
Posts: 13
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by trstudent View Post
i have installed it but have a little problem. automatic taggin works fine. But when i get into tags.php or any tagged word it list the threads but they are not linked to the thread. All of them sends me to the main page.
Theese will help you to understand better.
go to this page http://www.trstudent.com/tags.php
then choose one word like this http://www.trstudent.com/tags.php?tag=hakkindaki
then you will see the thread list but all of them sends you to www.trstudent.com ... I couldn't solve it...
I'm not sure as I don't understand the message exactly, BUT, I think the problem is:

In Admin CP under "Maintenance":
1. You have run the auto-tagger = "Auto Tag Threads" - "Creates new tags. Please delete old auto tags before you run this."
2. Then run it another time without first running "Delete Auto Tags" - "Deletes all Auto Tags - run this before running auto tagging."

It looks like it is NOT enough to click yes for "Delete Auto Tags" under "Auto Tag Threads".
One must first run the separate job "Delete Auto Tags"...

A bit confusing...
Reply With Quote
  #469  
Old 10-21-2008, 11:57 PM
bobtomay bobtomay is offline
 
Join Date: Jul 2008
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Just installed this evening and seems to be functioning good.
Our small forum really does appreciate your work on this.

One thing, especially for a newbie overseeing a forum, which I am, the installation instructions, #1 specifically.
1. Upload all files from "upload" to your server, take care of the directory structure

Sorry, but "take care of the directory structure" tells me nothing. It took reading to post 416 and 420 to find out those two files belong in the includes folder. The functions_autotagger.php was pretty clear since you have it in the includes folder in the download, but the autotagger_ajax.php file is not in that folder which left a big question mark related to "take care of the directory structure" as to where it belonged.

Am still not sure if I've put autotagger.php in the proper folder or not. I have assumed it belongs in the includes/cron folder. Is this correct, or based on your response in post # 420, it also belongs in the includes folder?
Reply With Quote
  #470  
Old 10-22-2008, 05:39 AM
Mark Dunnigan's Avatar
Mark Dunnigan Mark Dunnigan is offline
 
Join Date: Aug 2008
Location: Baltimore, Maryland
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm running vB3.7.3 PL1 and I'm getting the following error when I try to install the product:

"XML Error: not well-formed (Invalid Token) at Line 1"
Reply With Quote
  #471  
Old 10-22-2008, 11:05 AM
Morrus Morrus is offline
 
Join Date: Jan 2002
Posts: 494
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ugggh.

Quote:
The following dependencies were not met:
This product is not compatible with version 3.8.0 Beta 1 of vBulletin. (Compatible starting with 3.7.0 / Incompatible with 3.7.99 and greater)
Oh well.
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 04:54 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.05368 seconds
  • Memory Usage 2,330KB
  • Queries Executed 25 (?)
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
  • (4)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_post
  • (1)navbar
  • (6)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (2)pagenav_pagelinkrel
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (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
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete