vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 4.x Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=245)
-   -   New Posting Features - Automatic Thread Tagger for vB4.x (https://vborg.vbsupport.ru/showthread.php?t=255251)

Coroner 12-14-2010 10:00 PM

Automatic Thread Tagger for vB4.x
 
1 Attachment(s)
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:
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
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:
https://vborg.vbsupport.ru/showpost....&postcount=380

-------------------------------------------------------------

Text are taken from the original thread:
https://vborg.vbsupport.ru/showthread.php?t=201156

Thanks to Phalynx

zelnik 12-15-2010 07:14 AM

excellent been waiting for a vb4 version of this!

merk_aus 12-15-2010 07:29 AM

installed thanks

zelnik 12-15-2010 08:15 AM

Installed on my test site but the Ajax newthread autotag doesn't seem to be working?! but the cron set up worked fine when i ran it for the first time.

Settings set to "yes" are:

Enabled the complete auto tagger system, incl. maintenance?
Enabled the auto tagger for newthread?
Enabled the AJAX newthread?

Is there anything I'm doing wrong?

EDIT: Seems to be a conflict with VBSEO is there any chance you could look into this since vbseo is a very popular package?

Adem GEN? 12-15-2010 12:03 PM

Thanks, Installed

Sayid 12-15-2010 12:18 PM

tagged

Thanks

BadgerDog 12-15-2010 12:22 PM

Installed on 4.04pl1 with thanks and testing ... :up:

Regards,
Doug

Edit: I can't seem to find this under my Maintenance tab in our AdminCP? Is it somewhere else?

4. Run maintenance / Auto Tag Threads to tag existing threads (needed if you want to use the cron)

BadgerDog 12-15-2010 12:42 PM

Another question .... :)

We do have RSS feeds ...

The settings option says:

Quote:

In order for RSS tagging to work you will have to manually edit one of the default vbulletin files. Please refer to the product page on vBulletin.org for further information.
I can't seem to find anywhere here what I need to change where to have this work? :confused:

Thanks ...

Regards,
Doug

cyberchief 12-15-2010 02:34 PM

I am sorry for being such a newb... but can anyone explain what this tagging is and what it is good for? is it for spiders, etc for web searches? Just have no clue what this tagging is.. thanks.

mavigul 12-17-2010 04:04 AM

i have a queastion

Does it work with vb 408


All times are GMT. The time now is 05:05 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01290 seconds
  • Memory Usage 1,737KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)pagenav_pagelinkrel
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete