oe800 / flarum-ext-bbcode-alerts
Add visual alerts / warnings to Flarum posts
Installs: 2 135
Dependents: 0
Suggesters: 1
Security: 0
Stars: 4
Watchers: 2
Forks: 2
Open Issues: 1
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.8
This package is not auto-updated.
Last update: 2024-12-23 08:43:03 UTC
README
Add ALERTS, WARNINGS and other custom notifications to your Flarum posts.
0.2.0 ❤️
@Ralkage 's Remix
- ”°• ʙᴇᴛᴀ 8.(1) ᴄᴏᴍᴘᴀᴛɪʙɪʟɪᴛʏ. •°”
- MAJOR refactoring/restructuring of code.
- Friendlier way of updating FA4 icons to FA5 through our LESS savior/function
fa();
which I got after reviewing extensions that make use of FA5 icons through LESS (aka Tags ;);)) - Made use of those new extenders ❤️ (Formatter is 💝 )
- composer.json updated.
- README makeover.
- Added LICENSE file cause why not?
- Added .editorconfig
- Added .gitignore
P.S. There's more to come 🙈
Installation
composer require oe800/flarum-ext-bbcode-alerts
Updating
composer update oe800/flarum-ext-bbcode-alterts
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]
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]
Screenshots
Properly Formatted BBCode:
To Do
- Add more styles.
- Requests?