How do Tags work? Filterable in future realeases?
Replies 3
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
No filter scheduled for now and I do not know if its will be.
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.
Suggested Topics
RED-LINE@42796168
started 🐞 fixed Case NO sensitivity Captcha
Bug reports
Manuel@fbac1efa
started just a test
International Discussions
SurveyBuilder-Admin
started solved See more doesn't toggle right box
Bug reports
613c11e7
started solved How to change date posted?
General Questions