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

Reply
 
Thread Tools
#Twitter Like Thread Tagging by BOP5 (Quick Thread Tagging) for VB4 Details »»
#Twitter Like Thread Tagging by BOP5 (Quick Thread Tagging) for VB4
Version: 0.9, by BirdOPrey5 (Senior Member) BirdOPrey5 is offline
Developer Last Online: Aug 2023 Show Printable Version Email this Page

Category: New Posting Features - Version: 4.x.x Rating:
Released: 10-06-2011 Last Update: Never Installs: 34
Supported Uses Plugins
Translations  

For a while I have had a VB3 Version of this mod out that was only partly compatible with VB4. This new version is designed around VB4 from the ground-up and has more features.

Version 0.9 Beta
I consider this a "stable beta" release. You should not get any errors but I am keeping it in Beta until it is proven reliable on other forums. If you run into any issues please report them here. Please be sure to include your exact VB version in any report.

Live Demo Available At: Qapla.com Demo Forums

This mod was the idea of "zethon" another vBulletin.org coder who asked me to code this.

The purpose of this mod is to make it easier for users to tag threads with relevant keywords. Although VB allows for thread tags very few people will take the time to properly tag a thread. They have to remember to go to another box and add keywords, separate them by commas, and only then finally submit the thread. VB4 made adding additional keywords even more annoying.

But if you give people an easier way to tag threads they will use the feature much more. One of the more common ways of tagging keywords is "hash" tagging, that is preceding the word with a "hash" or "number-sign" (#example #keywords).

This has become popular with Twitter and for many people it is already second nature so many people will naturally jump right in to this new tagging method.

NOTE: If you have the VB3 Version of this mod installed you MUST UNINSTALL IT before installing this one. They will conflict if both are installed together.

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

Please "Mark as Installed" if you use this.
Donations always appreciated. :up:
Nominate MOTM if you LOVE it!

Download Now

File Type: zip Twitter Like Thread Tagging by BOP5 VB4.zip (6.2 KB, 153 views)

Screenshots

File Type: jpg vb4_twitter_post.jpg (54.6 KB, 0 views)
File Type: jpg vb4_twitter_settings.jpg (105.9 KB, 0 views)

Show Your Support

  • This modification may not be copied, reproduced or published elsewhere without author's permission.
Благодарность от:
puertoblack2003

Comments
  #12  
Old 12-30-2011, 02:26 AM
OldSchoolDSL OldSchoolDSL is offline
 
Join Date: Oct 2010
Posts: 1,196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I kept getting this error when posting.

Quote:
Tags cannot be overly common words
Except now tags were being added. Any advise?
Reply With Quote
  #13  
Old 12-31-2011, 11:09 AM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What tags were you attempting when you get/got this error?
Reply With Quote
  #14  
Old 03-25-2012, 11:23 AM
babyv0x babyv0x is offline
 
Join Date: Jan 2012
Posts: 24
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

when i try #1234/TCT-KHTH and i only get tag 1234 . please fix it

Thanx !
Reply With Quote
  #15  
Old 03-25-2012, 11:50 AM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Nice work!

A few suggestions which come into my mind:

Would it be hard to implement a method which replaces the #hash words with actual links to the tag? It seems a bit weird to have #some words in a #post look like this without actually doing something.

Also: Maybe it would be a good idea to add an escape mechanism to the system. Lets say, all #hash tags which have a \ before like \#this don't count as tags. For example in a coding forum:
Code:
#include <stdio.h>
morecode
Would create the hashtag #include where it probably shouldn't.
Reply With Quote
  #16  
Old 03-25-2012, 12:31 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by babyv0x View Post
when i try #1234/TCT-KHTH and i only get tag 1234 . please fix it

Thanx !
Go to the Plugin Manager in Admin CP and edit ALL 3 plugins.

In each find this line:

Code:
 $pattern = "~#[\w]+~";
and change it to:

Code:
 $pattern = "~#[\w/]+~";
Then it will work with slashes (/).

Quote:
Originally Posted by Disasterpiece View Post
Nice work!

A few suggestions which come into my mind:

Would it be hard to implement a method which replaces the #hash words with actual links to the tag? It seems a bit weird to have #some words in a #post look like this without actually doing something.

Also: Maybe it would be a good idea to add an escape mechanism to the system. Lets say, all #hash tags which have a \ before like \#this don't count as tags. For example in a coding forum:
Code:
#include <stdio.h>
morecode
Would create the hashtag #include where it probably shouldn't.
The links to tags was something I was considering... or perhaps removing # after it was posted... will see- it's more complex code for sure.

A means to disable it is a good idea, especially in CODE blocks would be very useful... but seeing \#word looks even more annoying then #word... Maybe I can disable it per post, will think about this too for the next version. :up:
Reply With Quote
Благодарность от:
babyv0x
  #17  
Old 03-25-2012, 01:40 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

\#word would be changed to #word (without tagging/linking) ofc. Just so that you can exclude some words you don't want to appear as tags.

Or maybe even a checkbox under the post "disable automatic hash-tagging" like the "disable smileys" tickbox.
Reply With Quote
  #18  
Old 03-25-2012, 02:15 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by Disasterpiece View Post
\#word would be changed to #word (without tagging/linking) ofc. Just so that you can exclude some words you don't want to appear as tags.

Or maybe even a checkbox under the post "disable automatic hash-tagging" like the "disable smileys" tickbox.
The second option sounds more practical because if I remove the / after submitting the post then if it is ever edited or quoted the / will be missing and the words will be saved as tags.
Reply With Quote
  #19  
Old 03-25-2012, 02:33 PM
Disasterpiece's Avatar
Disasterpiece Disasterpiece is offline
 
Join Date: Apr 2007
Location: GER
Posts: 765
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Great, looking forward to the next version. :up:
Reply With Quote
  #20  
Old 05-27-2012, 11:58 AM
woffie's Avatar
woffie woffie is offline
 
Join Date: Jan 2009
Location: Michigan
Posts: 264
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Strange, I installed this. It worked perfectly when I tested it. It created the tags just fine. I tried to do another tag in a reply and all the tags disappeared. VB 4.2
Reply With Quote
  #21  
Old 05-27-2012, 01:50 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I can't duplicate the issue: http://www.qapla.com/mods/showthread...d-tagging-test

As you can see new tags were added (4.2.0)

Did you install any other mods recently?
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:58 PM.


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.06736 seconds
  • Memory Usage 2,350KB
  • 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
  • (4)bbcode_code
  • (4)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
  • (2)pagenav_pagelink
  • (11)post_thanks_box
  • (2)post_thanks_box_bit
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (3)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