0E800's BBCode Alerts

Add visual alerts / warnings to Flarum posts

Incompatible with Flarum 0.1.0-beta.14

1,947 downloads

released on Jun 19, 2017

Tags

  • bbcode

  • notifications

  • alerts

  • warnings

  • oe800

0
0

BBCode Alerts / Notifications by 0E800

GitHub license Latest Stable Version Total Downloads

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

Imgur Imgur Imgur

Properly Formatted BBCode:

Imgur

To Do

  • Add more styles.
  • Requests?

Links

© 2020 Hyn by Daniël "Luceos" Klabbers. All rights reserved. · Extensions and extension information is provided by the respective (copyright holding) authors. · Images on Extiverse pages are from Unsplash.