How do Tags work? Filterable in future realeases?
identicon
4e2d9e
DISCUSSION OF ORIGIN

4e2d9e Wednesday 3rd May 2017, 20:25:04

How do Tags work? Filterable in future realeases?

Hi Fred, how do tags work currently?  Any plans to have them fulterable in the future? So I can filter and see all solved topics is an example
DISCUSSION OF ORIGIN
Fred_3c4613
Fred#3c4613

Administrator

Fred_3c4613

See their activity.

Fred#3c4613 Wednesday 3rd May 2017, 23:38:51

Hi,
Actually the tag work with a simple parser text title, e.g: [SOLVED] My title, [PLUGIN] My Plug.
Place anywhere in title post, you have a example in lib/Parser.lib.php
    public static function title($string)
 {
 global $lang;
 $string = str_replace(array('[SOLVED]','[solved]'), '<span class="label success upper outline">' .$lang['solved']. '</span>', $string);
 $string = str_replace(array('[PLUGIN]','[plugin]'), '<span class="label focus">Plugin</span>', $string);
 $string = str_replace(array('[TRANSLATION]','[translation]'), '<span class="label black">Translation</span>', $string);
 $string = str_replace(array('[FRENCH]','[french]'), '<img src="./uploads/flags/fr.png" alt="German Flag">', $string);
 $string = str_replace(array('[GERMAN]','[german]'), '<img src="./uploads/flags/de.png" alt="German Flag">', $string);
 $string = str_replace(array('[THEME]','[theme]'), '<span class="label warning">Theme</span>', $string);
 return $string;
 }

No filter scheduled for now and I do not know if its will be.
anonymous
056853

056853 Sunday 7th May 2017, 19:07:40

  any plan to add the ability to add tags from admin editing post?  Think this would be useful. 
Fred_3c4613
Fred#3c4613

Administrator

Fred_3c4613

See their activity.

Fred#3c4613 Monday 8th May 2017, 11:15:02

This is not planned at the moment, sorry.
Suggested Topics View / Reply Forum
Cyrille BORNE started 🇫🇷 Quelques remarques 380 / 21 International Discussions
hmmy started Timedate Help 181 / 7 General Questions
Fred#4346f29d started plugin Shariff (social share) 364 / 15 Resources
AlexanderLiebrecht started solved Something went wrong when updating 123 / 4 General Questions
Top