ramesh-dada / bbcode-alerts
Add visual alerts / warnings to Flarum posts
Installs: 1 635
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- flarum/core: ^1.0
README
Add ALERTS, WARNINGS and other custom notifications to your Flarum posts.
Install
composer require ramesh-dada/bbcode-alerts
Update
composer update ramesh-dada/bbcode-alerts
Uninstall
composer remove ramesh-dada/bbcode-alerts
Usage
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]
[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]