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 - AMP Quick Auto Tagger (https://vborg.vbsupport.ru/showthread.php?t=235469)

testbot 02-09-2010 10:00 PM

AMP Quick Auto Tagger
 
1 Attachment(s)
*Please mark installed, rate, and nominate!* :D

AMP Quick Auto Tagger
(Online tested on 4.01 and 4.1.2)

New in version 2.0.1!
The ability to remove all numbers
The ability to add other languages (this has not been tested very well because I am not bi-lingual)
CRON JOB TO ADD TAGS TO ALL THREADS OR PAST THREADS!
Automatically removes the default VB Badword tags and bad search tags (Remember to remove the default example keywords after installation).
Added Goodwods - These words are added to every tag during post and cron.

Description
After a user types a title this modification will automatically take keywords from the thread title and add them as tags with no database queries or modifications

This is designed to be faster due to it's simplicity. It takes the title, runs it against the badword filter, cleans it up using regex and then adds it to the tag field instantly. The user has the option to add or remove tags before they submit the thread.

Installation / Upgrade
IF UPDATING REMOVE PREVIOUS VERSION FIRST. If you have a large number of "Bad Words" save them before uninstalling.
Download and extract AMP Auto Tagger_2.0.1.zip
Upload all files in UPLOAD folder to the root of the forum
Import the product product-amp_tagger_2.0.1.xml
Enable and configure AdminCP>Options>AMP Auto Tagger

To Do (Future Releases)
[S]Make better regex. (DONE!)
Create Cron Job. (DONE!)[/S]
Add better support for multi-language.

Tip
Don't add two letter words to the badword filter. The auto tagger already limits the tags to three characters or more. Not only is it pointless but I also get strange results when having only two letter words.
If you enable 'CRON: Purge ALL Tags' only enable it once, run the scheduled task/cron and then disable it. Otherwise, it will delete and readd all tags every time the cron runs and your forum will take a performance hit.

Demo
You can create threads in the following forum to test it out. Sorry but you have to create an account to post on our board.
http://forum.ampprod.com/forumdispla...To-and-Support

Version History
1.0.0 (02/09/2010) - First Release
1.0.1 (02/10/2010) - Fix IE Bug
2.0.0 (02/17/2011) - Added Cron to tag old threads, updated regex, added goodwords, updated option settings to remove numbers and add languages.
2.0.1 (02/18/2010) - Fixed vbflush in cron and admincp badwords

testbot 02-10-2010 03:12 AM

Currently only supports English... sorry

Remember to enable it in the Admin Panel.

Oh yea, please mark installed if you like it and plan on using it. :D

Current Suggested AMP Tagger Bad Words:
Code:

according,able,about,above,accordingly,across,actually,after,afterwards,again,against,aint,all,allow,allows,almost,alone,along,already,also,although,always,among,amongst,amoungst,amount,and,another,any,anybody,anyhow,anyone,anything,anyway,anyways,anywhere,apart,appear,appreciate,appropriate,are,arent,around,aside,ask,asking,associated,available,away,awfully,back,became,because,become,becomes,becoming,been,before,beforehand,behind,being,believe,below,beside,besides,best,better,between,beyond,bill,both,bottom,brief,but,call,came,can,cannot,cant,cause,causes,certain,certainly,changes,clearly,cmon,com,come,comes,computer,con,concerning,consequently,consider,considering,contain,containing,contains,corresponding,could,couldnt,course,cry,currently,day,definitely,describe,described,despite,detail,did,didnt,different,does,doesnt,doing,done,dont,down,downwards,due,during,each,edu,eight,either,eleven,else,elsewhere,empty,enough,entirely,especially,etc,even,ever,every,everybody,everyone,everything,everywhere,exactly,example,except,far,few,fifteen,fifth,fify,fill,find,fire,first,five,followed,following,follows,for,former,formerly,forth,forty,found,four,from,front,full,further,furthermore,get,gets,getting,give,given,gives,goes,going,gone,got,gotten,greetings,guy,had,hadnt,happens,hardly,has,hasnt,have,havent,having,hello,help,hence,her,here,hereafter,hereby,herein,heres,hereupon,hers,herself,hes,hey,him,himself,his,hither,hopefully,how,howbeit,however,hundred,ignored,ill,immediate,inasmuch,inc,indeed,indicate,indicated,indicates,inner,insofar,instead,interest,into,inward,isnt,ist,itd,itll,its,itself,ive,just,keep,keeps,kept,know,known,knows,last,lately,later,latter,latterly,least,less,lest,let,lets,like,liked,likely,little,look,looking,looks,ltd,made,mainly,many,may,maybe,mean,meanwhile,merely,might,mill,mine,more,moreover,most,mostly,move,much,must,myself,name,namely,near,nearly,necessary,need,needs,neither,never,nevertheless,new,next,nine,nobody,non,none,noone,nor,normally,not,nothing,novel,now,nowhere,obviously,off,often,okay,old,once,one,ones,only,onto,originally,other,others,otherwise,ought,our,ours,ourselves,out,outside,over,overall,own,part,particular,particularly,per,perhaps,placed,please,plus,possible,posted,presumably,probably,provides,put,que,quite,quote,rather,really,reasonably,regarding,regardless,regards,relatively,respectively,right,said,same,saw,say,saying,says,second,secondly,see,seeing,seem,seemed,seeming,seems,seen,self,selves,sensible,sent,serious,seriously,seven,several,shall,she,should,shouldnt,show,side,since,sincere,six,sixty,some,somebody,somehow,someone,something,sometime,sometimes,somewhat,somewhere,soon,sorry,specified,specify,specifying,still,sub,such,sup,sure,system,take,taken,tell,ten,tends,than,thank,thanks,thanx,that,thats,the,their,theirs,them,themselves,then,thence,there,thereafter,thereby,therefore,therein,theres,thereupon,these,they,theyd,theyll,theyre,theyve,thick,thin,think,third,this,thorough,thoroughly,those,though,three,through,throughout,thru,thus,together,too,took,top,toward,towards,tried,tries,truly,try,trying,twelve,twenty,twice,two,under,unfortunately,unless,unlikely,until,unto,upon,use,used,useful,uses,using,usually,value,various,very,via,viz,want,wants,was,wasnt,way,wed,welcome,well,went,were,werent,weve,what,whatever,whats,when,whence,whenever,where,whereafter,whereas,whereby,wherein,wheres,whereupon,wherever,whether,which,while,whither,who,whoever,whole,whom,whos,whose,why,will,willing,wish,with,within,without,wonder,wont,would,wouldnt,yes,yet,you,youd,youll,your,youre,yours,yourself,yourselves,youve,zero

valendono 02-10-2010 06:33 AM

nice !

CRDeveloper 02-10-2010 06:45 AM

Nice, Will this mod update older threads?

tunerclub.net 02-10-2010 07:12 AM

Quote:

Originally Posted by ToxXxicas (Post 1978915)
Nice, Will this mod update older threads?

dosent look like it, shame

InsomniacP 02-10-2010 07:14 AM

Oh great I have been waiting for one of these! good job...

testbot 02-10-2010 07:14 AM

Quote:

Originally Posted by ToxXxicas (Post 1978915)
Nice, Will this mod update older threads?

sorry but no it won't. i'm debating creating a cron for scheduled tasks in future releases though.

rajubd 02-10-2010 08:50 AM

not working

Arsh 02-10-2010 09:23 AM

rajubd - did you turn it on from admin panel?

to the devolper - thanks! Installed.

could you quickly tell me what these are and weather I really need to do them?:

Make better regex.
Create Cron Job

djbaxter 02-10-2010 09:29 AM

Quote:

Originally Posted by Arsh (Post 1978979)
could you quickly tell me what these are and weather I really need to do them?:

Make better regex.
Create Cron Job

That's not for you. That's the coder's "To Do" list. :)


All times are GMT. The time now is 07:25 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.05867 seconds
  • Memory Usage 1,751KB
  • 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
  • (3)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