Add ALERTS, WARNINGS and other custom notifications to your Flarum posts.
fa();
which I got after reviewing extensions that make use of FA5 icons through LESS (aka Tags ;);))P.S. There's more to come 🙈
composer require oe800/flarum-ext-bbcode-alerts
composer update oe800/flarum-ext-bbcode-alterts
Basic Notification Alerts:
[AWARNING]This is an AWARNING message.[/AWARNING]
[ASUCCESS]This is an ASUCCESS message.[/ASUCCESS]
[AINFO]This is an AINFO message.[/AINFO]
[ABASIC]This is an ABASIC message.[/ABASIC]
[ACUSTOM]red,black,green,This is an ACUSTOM message.[/ACUSTOM]
More Styled Notifications:
[BWARNING]This is n BWARNING message.[/BWARNING]
[BSUCCESS]This is a BSUCCESS message.[/BSUCCESS]
[BERROR]This is a BERROR message.[/BERROR]
[CWARNING]darkorange,white,darkorange,THIS IS A CWARNING TITLE,This is a CWARNING message.[/CWARNING]
[CNOTICE]teal,white,teal,THIS IS A CNOTICE TITLE,This is a CNOTICE message.[/CNOTICE]
[CERROR]red,white,red,THIS IS A CERROR TITLE,This is a CERROR message.[/CERROR]
[CSUCCESS]green,white,green,THIS IS A CERROR TITLE,This is a CSUCCESS message.[/CSUCCESS]
Added Proper BBCode Formatting (Thanks to JoshyPHP):
[BCUSTOM]title=THIS IS A BCUSTOM TITLE font=red bg=black border=green[/BCUSTOM]
[DNOTICE title="This is a DNOTICE title" font="teal" bg="white" border="teal"]This is a DNOTICE message.[/DNOTICE]
[DERROR title="This is a DERROR title" font="red" bg="white" border="red"]This is a DERROR message.[/DERROR]
[DWARNING title="This is a DWARNING title" font="darkorange" bg="white" border="darkorange"]This is a DWARNING message.[/DWARNING]
[DSUCCESS title="This is a DSUCCESS title" font="green" bg="white" border="green"]This is a DSUCCESS message.[/DSUCCESS]
Properly Formatted BBCode: