vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3.8 Add-ons (https://vborg.vbsupport.ru/forumdisplay.php?f=235)
-   -   New Posting Features - Automatic Thread Tagger for vB3.8 (https://vborg.vbsupport.ru/showthread.php?t=201156)

Phalynx 01-08-2009 10:00 PM

Automatic Thread Tagger for vB3.8
 
1 Attachment(s)
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

egerci 01-09-2009 09:45 AM

Hello
I have just installed ATT for Vb3.7*
Is there any differecens beetween ATT for VB3.7 and VB3.8 versions?

Phalynx 01-09-2009 09:47 AM

No, it's just to make clear it's compatible with both vBulletin version.

egerci 01-09-2009 09:51 AM

Thanks very much for your mod.
It is the most useful mod for me.

Skyrider 01-09-2009 11:25 AM

Thanks for this plugin! :D

Arcade Fire 01-09-2009 11:59 AM

Thanks!

My Excluded Words in Spanish:

PHP Code:

para,del,toda,vende,la,el,las,los,en,entre,por,con,contra,sin,posible,bien,muy,
as?,
asi,como,con,del,todo,todas,todos,una,mas,menos,m?s,
qu?,a?os,aqu?,dos,est?,hilo,llegar?,mensajes,
podria,post,primer,primera,primeras,red,segunda,semana,ser,sigue,sobre,sus,
tendr?,tiempo,tiene,tres,?qu?,ahora,aqu?,aqui,esto,eso,hay,m?s,mis,nos,otra,pero,
ser?,solo,tambi?n,yo,tu,el,nosotros,vosotros,ellos,llega,paso,pas?,podr?a,real,s?lo,voy,
a?o,antes,cinco,hasta,hilo,c?mo,alta,d?a,despu?s,iii,parte,xataka,?ste,otro,quiere,
tus


Max Paint 01-09-2009 02:33 PM

One Problem: If the option "Add prefix as a tag?" is enabled, all existing threads with a prefix are NOT auto tagged.

digicom 01-09-2009 03:55 PM

Installed Much Apprciated :up:

cafenetland 01-09-2009 06:00 PM

this is just AMAZING !!

a very big thanks from Sweden.

u maded my day !

today i was fighting with tags on my site.

and u read my mind i guess :D:D

thx again. ! keep it up.

installed rated nominated

rmxs 01-09-2009 09:58 PM

Installed like before but now dont make new threads tags :(

Phalynx 01-10-2009 05:24 AM

To get support, you will need to click "Mark as Installed".

vbob 01-10-2009 05:02 PM

Thanks. Here are most of the English Excluded Words included in the txt file of the plugin (plus some others), translated into the Greek language (in case any people from Greece are interesting).

Code:

η, ή, ο, τα, οι, περίπου, παραπάνω, στο σύνολο, αφού, στη συνέχεια, και πάλι, κατά, όλες, σχεδόν, μόνος του, καθώς, ήδη, επίσης,
αν και, πάντα, είμαι μεταξύ, μεταξύ, ποσό, μια και, άλλο, υπάρχει, ούτως ή άλλως, κανείς, τίποτα, ούτως ή άλλως, σε οποιοδήποτε
σημείο, είναι, περίπου, όπως, σε, πίσω, να είναι, έγινε, επειδή, να γίνει, γίνεται, να γίνει, ήταν πριν από την έναρξη, από πριν, πίσω,
που, κάτω, δίπλα, παράλληλα, μεταξύ, πέρα, νομοσχέδιο, τόσο προς την κορυφή, αλλά, από, κλήση, μπορεί, δεν μπορεί, επίκλιση,
τη συμπαραγωγή, υπολογιστή, θα μπορούσε, δεν μπορούσε, κραυγή, περιγράφουν, λεπτομέρεια, κάνει, γίνεται, κάτω, που
οφείλεται, κατά τη διάρκεια, η καθεμία, π.χ., οκτώ, είτε, έντεκα, αλλιώς, αλλού, άδειες, αρκετά, κτλ, ακόμη και, ποτέ, όλα, ο
καθένας, τα πάντα, παντού, με εξαίρεση, μερικά, δεκαπέντε, την κάλυψη, να βρουν, φωτιά, πρώτα, πέντε, για, πρώην, πρώην,
σαράντα, που βρέθηκαν, τέσσερις, από μπροστά, η πλήρης, ακόμη, να, να, να, είχε, έχει, δεν έχει, έχουν, ο ίδιος, ως εκ τούτου, το,
εδώ, στο εξής, αποφασίζει, στο παρόν, επί τούτου, το δικό της, εαυτό της, αυτόν, ο ίδιος, ο, τι, όμως, εκατό, εγώ, δηλαδή, αν, σε,
πράγματι, ενδιαφέρον, σε, είναι, ότι, την ίδια τηρεί, τελευταία, τελευταία, τελευταία, τουλάχιστον, λιγότερο, που έγιναν, πολλά,
μπορεί να μου, εν τω μεταξύ, ίσως, ελαιοτριβείο, η δική μου, περισσότερο, άλλωστε, τα περισσότερα, κυρίως, κίνηση, πολύ, πρέπει,
και η δική μου, εγώ ο ίδιος, το όνομα, δηλαδή, δεν, δεν, ωστόσο, την επόμενη, εννέα, δεν, δεν, δεν, δεν, δεν, δεν, δεν, τώρα, το
πουθενά, από, εκτός, συχνά, με, μόλις, μία, μόνο, πάνω, ή, άλλα, άλλα, διαφορετικά, μας, η δική μας, τους εαυτούς μας, από,
πάνω, οι ίδιοι, τμήμα, ανά, ίσως, σε παρακαλώ, που, μάλλον, εκ νέου, το ίδιο, βλέπε, φαίνεται, φάνηκε, φαινομενικά, φαίνεται,
σοβαρό, αρκετά, αυτή, θα πρέπει, δείχνουν, πλευρά, δεδομένου ότι, ειλικρινή, έξι, εξήντα, ναι, κάποιες, κατά κάποιο τρόπο,
κάποιον, κάτι, κάποια στιγμή, μερικές φορές, κάπου, ακόμη, τέτοια, σύστημα, να λάβει, δέκα, από ό, τι, ότι, την, τους, τους, οι
ίδιοι, τότε, από εκεί, εκεί, στη συνέχεια, ως εκ τούτου, λοιπόν, εκεί, στη συνέχεια, αυτά, αυτές, σε πάχος, λεπτός, το τρίτο, αυτό,
αυτών, όμως, τρεις, μέσω της, κατά τη διάρκεια, μέσω της, κατά συνέπεια, να, καθώς, επίσης, αρχή, προς την κατεύθυνση, προς
την κατεύθυνση, δώδεκα, είκοσι, δύο, ένα, δυνάμει, μέχρι, μέχρι, μετά, μας, ιδιαίτερα, μέσω της, ήταν, εμείς, καλά, ήταν, τι, ό, τι,
πότε, από όπου, όποτε, όπου, ενώ, λαμβάνοντας υπόψη ότι, σύμφωνα με την οποία, στο οποίο, κατόπιν αυτού, οπουδήποτε, είτε,
το οποίο, παράλληλα, προς τα, το οποίο, όποιος και αν, συνολικά, τα οποία, των οποίων, ο λόγος για τον οποίο, θα είναι, με την,
εντός, ΧΩΡΙΣ, θα ήταν, ακόμη, μπορείτε, σας, δικό σας, εσείς, εσείς,


Of course anyone can use his own Excluded Words that fits better to their situations. I did the translation only for help. :-)

Lee Roberts 01-10-2009 11:21 PM

Marked as Installed !
Marked for Nomination !

Phalynx 01-11-2009 06:54 AM

Quote:

Originally Posted by Arcade Fire (Post 1706211)
My Excluded Words in Spanish:

Quote:

Originally Posted by vbob (Post 1707503)
Here are most of the English Excluded Words included in the txt file of the plugin (plus some others), translated into the Greek language (in case any people from Greece are interesting).

Thanks for sharing!

anestetic 01-11-2009 11:28 AM

Turkish words?

rbecking 01-11-2009 12:24 PM

How do you delete the words in the search tag cloud?

Phalynx 01-11-2009 06:48 PM

Quote:

Originally Posted by rbecking (Post 1708473)
How do you delete the words in the search tag cloud?

Tags created by the mod you can delete via maintenance tools. Otherwise click in the tag cloud on a word, there you will the threads with that words. You will go into the thread and delete them.

The other way is to delete it via SQL query.

Dekard 01-20-2009 04:46 PM

I've got the product installed and it seems to be working. Once I ran the cron job manually I'm showing tags on threads that didn't have anyone. However the options page isn't showing up. I've got the product listed, installed and working but I can't get to options... any suggestions?

Phalynx 01-21-2009 09:34 AM

To get support, you will need to click "Mark as Installed".

You mean you don't see the options or the options don't work?

dmknights 01-21-2009 09:40 AM

Nice mod

River_rush 01-22-2009 08:08 AM

how do you stop the (no prefix) coming up in the tag cloud please?

iardon 01-27-2009 11:10 PM

Installed, thanks for this mod.

So if I understand the mod options correctly, it'll process 500 threads via cron at a time and will eventually tag *all* threads?

GlamRockTalk 01-31-2009 12:39 PM

It states in the vBoptions section when clicking "yes" for tagging of RSS feeds....

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.
Which files do we need to edit and what do we do to them?

KevinL 01-31-2009 12:49 PM

You dont have to do that anymore...

GlamRockTalk 01-31-2009 01:12 PM

Oh, okay. Great. I guess that part should be edited out then ;)

Thanks for the answer! :up:

KevinL 01-31-2009 01:15 PM

hahah yeah it should be. It was for an earlier version.

This works great. Set it and forget it...it's like that rotisserie lol

jeffinj 02-01-2009 03:01 AM

This could be a good seo tool. Installed and Thanks!!

fragov 02-06-2009 10:01 AM

Product not follow setting "Tag to lower case", and create Upper-cased tags.

shlomot 02-10-2009 04:18 AM

Thanks you for taking this MOD so much further past its initial horizon.

Two issues that are coming up (version 1.2.0):

1. Threads with prefix are not being tagged (not the prefix nor the title) if "Add prefix as a tag?" is flagged as YES.

2. usernames are not excluded - even if flagged so. Example: martin101 is tagged in "Happy Birthday Martin101".

INSTALLED | NOMINATED | VOTED (5)

yotsume 02-10-2009 10:23 AM

vBadvanced Popular Tags Module Problem

I just installed this mod. However there seems to be a bug where no tags are showing in you have vBadvanced installed. On the vba homepage we have a module for popular tags. The auto tags generated by this mod do not show in the vba module.

How can this be fixed please?

THANKS!

n.sinha.p 02-10-2009 10:33 AM

Reserved!

Yonatan 02-10-2009 07:04 PM

Great Mod!
Please add to option to tagging to threads that was before we was install this mod.

derzok 02-10-2009 07:22 PM

Excellent mod! I can't seem to access the settings page for it in the ACP, though. I click vBulletin Options and look for "Automatic Thread Tagger" in the list but it's not there.

Linos-1 02-10-2009 10:13 PM

Thank you very much

Phalynx 02-11-2009 02:26 PM

Quote:

Originally Posted by fragov (Post 1735958)
Product not follow setting "Tag to lower case", and create Upper-cased tags.

Will take a deeper look into this.

Quote:

Originally Posted by shlomot (Post 1739384)
Thanks you for taking this MOD so much further past its initial horizon.

Two issues that are coming up (version 1.2.0):

1. Threads with prefix are not being tagged (not the prefix nor the title) if "Add prefix as a tag?" is flagged as YES.

Will take a deeper look into this.
Quote:

Originally Posted by shlomot (Post 1739384)
2. usernames are not excluded - even if flagged so. Example: martin101 is tagged in "Happy Birthday Martin101".

INSTALLED | NOMINATED | VOTED (5)

Will take a deeper look into this.

Quote:

Originally Posted by yotsume (Post 1739637)
vBadvanced Popular Tags Module Problem

I just installed this mod. However there seems to be a bug where no tags are showing in you have vBadvanced installed. On the vba homepage we have a module for popular tags. The auto tags generated by this mod do not show in the vba module.

How can this be fixed please?

THANKS!

Try to disable the caching. I'm also using VBA Module and it's working great with that tags - they are normal tags, nothing special.

Quote:

Originally Posted by Yonatan (Post 1740130)
Great Mod!
Please add to option to tagging to threads that was before we was install this mod.

Already included, check maintenance tools.

Quote:

Originally Posted by derzok (Post 1740155)
Excellent mod! I can't seem to access the settings page for it in the ACP, though. I click vBulletin Options and look for "Automatic Thread Tagger" in the list but it's not there.

It's called "Tagging Options (Automatic Thread Tagger)"

Yonatan 02-11-2009 03:53 PM

Quote:

Originally Posted by Phalynx (Post 1740907)
Will take a deeper look into this.


Will take a deeper look into this.

Will take a deeper look into this.


Try to disable the caching. I'm also using VBA Module and it's working great with that tags - they are normal tags, nothing special.


Already included, check maintenance tools.


It's called "Tagging Options (Automatic Thread Tagger)"

I don't find it.
Can you tell me where is it?

--Edit--
I was find that.
But after i run it (Delete Auto Tags) &(Auto Tag Threads) i don't see new tags :S (it's delete the tags but not creat newer).

By the way;
Please change the radio option "Delete Auto Tags" with checkbox.

Seerkan 02-11-2009 04:30 PM

Anyone know a mod or product to select one or more tags from a list when you write a post?
(instead of write new tags every time you post a message)

thanks

sorry about my english

Seerkan 02-11-2009 06:03 PM

I can?t find a definition of this option:

Quote:

Enabled AJAX?
Enabled the AJAX newthread?
Please, could anyone explain it to me?

thanks

Seerkan 02-11-2009 06:12 PM

Hi

This is my list of excluded words
Notes:
- i have join the one with the product with the one of Arcade Fire Arcade Fire Member
- i have delete words with spanish accents (see my "replacements characters" and you understant)
- only general words.
Quote:

a, ahora, al, algun, alguna, algunas, alguno, algunos, ambos, ante, antes, a?o, a?os, aquel, aquellas, aquellos, aqui, arriba, asi, atras, bajo, bastante, bien, cada, cierta, ciertas, cierto, ciertos, cinco, como, con, conseguimos, conseguir, consigo, consigue, consiguen, consigues, contra, cual, cuando, de, del, dentro, desde, despues, dia, donde, dos, e, el, ellas, ellos, empleais, empleamos, emplean, emplear, empleas, empleo, en, encima, entonces, entre, era, eramos, eran, eras, eres, es, eso, esta, estaba, estado, estais, estamos, estan, este, esto, estoy, fin, fue, fueron, fui, fuimos, ha, hace, haceis, hacemos, hacen, hacer, haces, hago, hasta, hay, hilo, hilo, i, iii, incluso, intenta, intentais, intentamos, intentan, intentar, intentas, intento, ir, la, largo, las, llega, llegara, lo, los, mas, mas, menos, mensajes, mientras, mio, mis, modo, muchos, muy, nos, nosotros, o, otra, otro, para, parte, paso, pero, podeis, podemos, poder, podria, podriais, podriamos, podrian, podrias, por, porque, posible, post, primer, primera, primeras, primero, puede, pueden, puedo, que, quien, quiere, sabe, sabeis, sabemos, saben, saber, sabes, segunda, semana, ser, sera, si, siendo, sigue, sin, sobre, sois, solamente, solo, s?lo, somos, soy, su, sus, tambien, tendra, teneis, tenemos, tener, tengo, tiempo, tiene, tienen, toda, todas, todo, todos, trabaja, trabajais, trabajamos, trabajan, trabajar, trabajas, tras, tres, tu, tus, tuyo, u, ultimo, un, una, unas, uno, unos, usa, usais, usamos, usan, usar, usas, uso, va, vais, valor, vamos, van, vaya, vende, verdad, verdadera, vosotras, vosotros, voy, y, yo
This is my Replacement Characters for spanish language:
Quote:

'?'=>'a'
'?'=>'e'
'?'=>'i'
'?'=>'o'
'?'=>'u'
'!'=>''
'?'=>''
'?'=>''
'?'=>''
Thanks to the developer (i think that tags are very important!)

The mod is very usefull, and the options are incredible!!! great mod with great options!

Greettings from spaing
Sorry about my english

Yonatan 02-11-2009 06:15 PM

Quote:

Originally Posted by Seerkan (Post 1741103)
I can?t find a definition of this option:



Please, could anyone explain it to me?

thanks

ACP -> vBulletin Options -> Tagging Options (Automatic Thread Tagger)


All times are GMT. The time now is 10:28 PM.

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.01628 seconds
  • Memory Usage 1,916KB
  • 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_code_printable
  • (1)bbcode_php_printable
  • (15)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)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