How do Tags work? Filterable in future realeases?
![](https://flatboard.org/uploads/avatars/generates/8c1108235x50dot.png)
Replies 3
![Fred](https://flatboard.org/uploads/avatars/Fred_4346f29d.png)
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.
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
![anonymous](https://flatboard.org/plugin/identicon/anonymous.png)
![Fred](https://flatboard.org/uploads/avatars/Fred_4346f29d.png)
This is not planned at the moment, sorry.
- Before ask a question, read the documentation.
- 🎉 Featured as #1 product of the day on Product Hunt
- Please like in alternativeto.net 👍🏻
- ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
- <TextField>, my new CMS project designed by a passionate developer, for developers!
- I am currently busy 😫.
Suggested Topics
![SurveyBuilder-Admin](https://flatboard.org/uploads/avatars/SurveyBuilder-Admin_58600212.png)
SurveyBuilder-Admin
started translation Greek Translatation
Resources
![SurveyBuilder-Admin](https://flatboard.org/uploads/avatars/SurveyBuilder-Admin_58600212.png)
SurveyBuilder-Admin
started Sorry for any delays!
Announcements
![Tillreetree](https://flatboard.org/uploads/avatars/generates/04db9b531x50dot.png)
Tillreetree@fc7e1f5a
started Where can I get an older version of Flatboard?
General Questions
![shoaiyb](https://flatboard.org/uploads/avatars/generates/a1ceb643bx50dot.png)
shoaiyb@b4cd1e7b
started theme Where do I find themes? Or, how do I create one?
General Questions