Quote:
Originally Posted by babyv0x
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
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: