PDA

View Full Version : BB Code Enhancements - HashTags (like twitter)


orange gold
07-12-2011, 10:00 PM
Mark as installed if you like it!
This mod will allow your users to add HashTags to their posts! When one clicks on a hashtag they will be brought to a search query list of all other posts containing the tagged phrase
It's very simple to install!

Live demo (At bottom of post): Click here (http://www.decimology.com/forums/showthread.php?45-Featured-HM-Square-numbers-ending-in-5-JCasara&p=109#post109)

Step 1: Log into your adminCP

Step 2: Locate the BBCode Manager (on the left side bar)

Step 3: Click add new BBCode.

Step 4:
Enter the following information:
?Title: HashTags
?BBCode Tag Name: #
?Replacement:
(* In the code below be sure to change /forum to the name of whatever your forum is located under possible /forums or perhaps none at all (if it is just www.**.com/forum.php on the home page then delete the /forum))
<a href="forum/search.php?query={param}&do=process" style="color:#00B2EE;"><b>#{param}</b></a>
?Example: I like to [#]multiply[/#]
?Description: Adds a hashtag to enclosed text. Clicking the enclosed texts takes you to a list of threads that have the same text in them and threads that have been tagged with the same hashtag!
?Use {option}: No
?Button image (I recommend you download this and re-upload it to your forums): http://www.decimology.com/forums/images/hash.pnghttp://www.decimology.com/forums/images/hash.png
?Remove Tag If Empty: Yes
?Disable BB Code Within This BB Code: Yes
?Disable Smilies Within This BB Code: Yes
?Disable Word Wrapping Within This BB Code: Yes
?Disable Automatic Link Parsing Within This BB Code: Yes


Step 5: Hit continue and if a warning message occurs on the next page ignore it and hit continue again.

Step 6: Complete, if the code doesn't work go back and read the asterixed (*) part of step 4 again.. Make sure you did everything it said. If an error still occurs post below.


Mark as installed and don't forget to rate!

MagicThemeParks
07-13-2011, 11:25 AM
Seems like a simple premise, but do you have a demo to ensure it's working nicely?

Boofo
07-13-2011, 11:47 AM
It works fine if you follow the directions.

orange gold
07-13-2011, 12:03 PM
Seems like a simple premise, but do you have a demo to ensure it's working nicely?

Added one...

Brandon Sheley
07-13-2011, 01:09 PM
It might be nice if this pulled in the thread tags as well in the 'search'

Eplexx
08-25-2011, 12:32 AM
I tested it in vB 3.8.7 and it works great <3

Nimaveli
08-25-2011, 04:54 PM
Would be great if upon clicking on it you'd actually see posts tagged with ''#tag'' instead of a search result.

maracerella
04-30-2014, 01:26 AM
you have to type [#]hashtagword[/#] for this to work, right?

what if you want this enabled even if you just type #hashtagword?

john7911
06-04-2014, 02:51 PM
?Button image (I recommend you download this and re-upload it to your forums): http://www.decimology.com/forums/images/hash.png
The link does not work :(
Thank you :)

RichieBoy67
06-10-2014, 04:17 AM
The link does not work :(
Thank you :)

Here ya go

http://talkdevelopment.net/img/Hash.png

john7911
06-10-2014, 05:44 AM
Thank you RichieBoy67 :)

Snowhog
09-20-2017, 04:47 PM
Works fine in vBulletin 4.2.4.