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 - #Twitter Like Thread Tagging by BOP5 (Quick Thread Tagging) for VB4 (https://vborg.vbsupport.ru/showthread.php?t=271543)

BirdOPrey5 10-06-2011 10:00 PM

#Twitter Like Thread Tagging by BOP5 (Quick Thread Tagging) for VB4
 
1 Attachment(s)
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! ;)

BirdOPrey5 10-06-2011 10:28 PM

Reserved.

River J 10-06-2011 11:10 PM

You should also code a twitter like @user tagging system that notifies them when they get tagged. DBTech made a modification like that but I like your work :p

BirdOPrey5 10-06-2011 11:33 PM

LOL Thanks... I saw the DBTech one and figured no need... will look into it though.

thecore762 10-06-2011 11:57 PM

Same, I like your work too :)

Dr.osamA 10-07-2011 10:57 AM

thank you sir

installed

but not working with Arabic incoding

showing number not words
http://www.qapla.com/mods/showthread...full=1#post168

plz take look to make it work with

sticky 10-07-2011 11:53 PM

Great idea!

BirdOPrey5 10-08-2011 12:57 PM

Quote:

Originally Posted by Dr.osamA (Post 2254308)
thank you sir

installed

but not working with Arabic incoding

showing number not words
http://www.qapla.com/mods/showthread...full=1#post168

plz take look to make it work with

From what I see if the server or php installation is configured with arabic as the language, this mod should work as is... but if English is the language of the server then it will only work with English.

This is because the regex used to match words will match the characters for the server language.

If anyone has a regular expression to match all Arabic characters I'll add it to the mod though.

Dr.osamA 10-10-2011 02:11 AM

Quote:

Originally Posted by BirdOPrey5 (Post 2254672)
From what I see if the server or php installation is configured with arabic as the language, this mod should work as is... but if English is the language of the server then it will only work with English.

This is because the regex used to match words will match the characters for the server language.

If anyone has a regular expression to match all Arabic characters I'll add it to the mod though.

thank you sir but i dont know about any server with arabic or other language then english
i will try wih it
thank you

8thos 10-10-2011 06:01 PM

oh wow

OldSchoolDSL 12-30-2011 02:26 AM

I kept getting this error when posting.

Quote:

Tags cannot be overly common words
Except now tags were being added. Any advise?

BirdOPrey5 12-31-2011 11:09 AM

What tags were you attempting when you get/got this error?

babyv0x 03-25-2012 11:23 AM

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

Thanx !

Disasterpiece 03-25-2012 11:50 AM

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.

BirdOPrey5 03-25-2012 12:31 PM

Quote:

Originally Posted by babyv0x (Post 2313093)
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 (Post 2313097)
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:

Disasterpiece 03-25-2012 01:40 PM

\#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.

BirdOPrey5 03-25-2012 02:15 PM

Quote:

Originally Posted by Disasterpiece (Post 2313127)
\#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.

Disasterpiece 03-25-2012 02:33 PM

Great, looking forward to the next version. :up:

woffie 05-27-2012 11:58 AM

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

BirdOPrey5 05-27-2012 01:50 PM

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?

Nirjonadda 12-30-2012 06:02 PM

Any Update Fix Font Support for Unicode Characters ?

BeoRski 06-25-2013 03:30 PM

Hi Joe, it seems like it isn't really save in the tag tables. Whenever I make a new #tag it shows on the tag list below the thread but when I click it it's blank. When I click edit tags, it also shows blank. Any ideas?

BirdOPrey5 07-06-2013 09:32 PM

Clicking on a tag should bring up search results. I am not having either issue on the demo site linked in the first post.

I would try disabling other modifications and see if you still have the issue.

Conehead555 04-16-2015 04:51 PM

Set one word tags to lowercase contrary to settings.

Multi word tag worked with uppercase.

Still a cool mod.

4.1.7

CAG CheechDogg 07-19-2015 10:16 AM

Hmmm...for some reason the tags are not linked to anything in the actual post ... are the not supposed to do this?

CAG CheechDogg 12-23-2015 04:57 PM

Quote:

Originally Posted by BeoRski (Post 2430453)
Hi Joe, it seems like it isn't really save in the tag tables. Whenever I make a new #tag it shows on the tag list below the thread but when I click it it's blank. When I click edit tags, it also shows blank. Any ideas?

I am still have this same issue .... have disabled every mod one by one and nothing ....


All times are GMT. The time now is 03:28 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.01219 seconds
  • Memory Usage 1,792KB
  • 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
  • (4)bbcode_code_printable
  • (7)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (26)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
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete