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
Alexander Liebrecht started Can not make config changes 1.1K / 3 General Questions
hmmy started How to get last reply trip/avatar in forum list 1.2K / 1 General Questions
Fan#17562 started solved King size messages 1.1K / 2 Feature Requests
Simon started 🇫🇷 Scroll infini 1.7K / 2 International Discussions
Top