zerosonesfun / bbbbcode
Big Beautiful BBCode (Installs multiple BBCode extensions.)
Installs: 1 376
Dependents: 0
Suggesters: 1
Security: 0
Stars: 5
Watchers: 0
Forks: 6
Open Issues: 0
Type:flarum-extension
Requires
- flarum/core: ^0.1.0-beta.8
- zerosonesfun/accordion: ^2.0
- zerosonesfun/action: ^1.0
- zerosonesfun/blur: ^1.0
- zerosonesfun/chat: ^1.0
- zerosonesfun/flarum-bbcode-audio: ^1.0
- zerosonesfun/font: ^1.0
- zerosonesfun/pop: ^1.0
- zerosonesfun/spoiler: ^1.0
- zerosonesfun/tooltip: ^1.0
- dev-master
- 3.3
- 3.2.2
- 3.2.1
- 3.2
- 3.1
- 3.0
- 2.9.6.1
- 2.9.6
- 2.9.5
- 2.9.4
- 2.9.3
- 2.9.2
- 2.9.1
- 2.9
- 2.8
- 2.7
- 2.6
- 2.5.1
- 2.5
- 2.4
- 2.3
- 2.2
- 2.1.4
- 2.1.3
- 2.1.2
- 2.1.1
- 2.1
- 2.0
- 1.2.5
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2
- 1.1.6
- 1.1.5
- 1.1.4.4
- 1.1.4.3
- 1.1.4.2
- 1.1.4.1
- 1.1.4
- 1.1.3.1
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0
- 0.3.4
- 0.3.3
- 0.3.2
- 0.3.1
- 0.3.0
- 0.2.9
- 0.2.8
- 0.2.7
- 0.2.6
- 0.2.5
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- v0.2.0.2-beta.8
- v0.2.0.1-beta.8
- v0.2.0-beta.8
- v0.1.9.9-beta.8
- v0.1.9.8-beta.8
- v0.1.9.7-beta.8
- v0.1.9.6-beta.8
- v0.1.9.5-beta.8
- v0.1.9.4-beta.8
- v0.1.9.3-beta.8
- v0.1.9.2-beta.8
- v0.1.9.1-beta.8
- v0.1.9-beta.8
- v0.1.8-beta.8
- v0.1.7-beta.8
- v0.1.6-beta.8
- v0.1.5-beta.8
- v0.1.4-beta.8
- v0.1.3-beta.8
- v0.1.2-beta.8
- v0.1.1-beta.8
- v0.1.0-beta.8
- v0.0.3-beta.8
- v0.0.2-beta.8
- v0.0.1-beta.8
This package is auto-updated.
Last update: 2020-05-09 08:16:32 UTC
README
Big Beautiful BBCode
A Flarum extension which adds additional BBCode. It installs multiple separate BBCode extensions so that you have the power to enable just what you need. Keep this extension (bbbbcode) enabled if you want HTML table, horizontal line, float, and possibly in the future, other BBCode. All BBCode is lightweight; most are HTML and CSS only.
Install
composer require zerosonesfun/bbbbcode
The above command will install all of the following. Then, simply activate what you want. Or, you could instead just install one or two of the following if that's all you want.
composer require zerosonesfun/spoiler
composer require zerosonesfun/blur
composer require zerosonesfun/tooltip
composer require zerosonesfun/accordion
composer require zerosonesfun/chat
composer require zerosonesfun/pop
composer require zerosonesfun/action
composer require zerosonesfun/font
composer require zerosonesfun/flarum-bbcode-audio
Update
-
composer update zerosonesfun/bbbbcode
-
Deactivate and reactivate the extension in your admin.
-
Go to your dashboard, click tools, click clear cache.
-
Clear your browser cache, and any other caches like Cloudflare, if applicable.
Uninstall
composer remove zerosonesfun/bbbbcode
Usage
The following BBCode are available:
Tooltip:
[tooltip="your tip here" placement="right"]word[/tooltip]
(for "placement" you may use: top, bottom, left, right)
Spoiler:
[spoiler="The text you click on"]The hidden text goes here.[/spoiler]
Blurred Hover Spoiler:
[blur]This is the blurred secret.[/blur]
(hover/press for 4 seconds to reveal)
Accordion:
[accordion header="YOUR HEADER TEXT"]The text that is hidden at first but then appears goes here[/accordion]
[accordion header="YOUR NEXT HEADER TEXT"]The text that is hidden at first but then appears goes here[/accordion]
(repeat the accordion BBcode as many times as needed)
Chat:
[chat-a="Why did the chicken cross the road?" who="Me"]
[chat-b="It was hungry?" who="Mary"]
[chat-a="No! Wrong!" who="Me"]
[space][/space]
(repeat as many times as needed alternating chat-a and chat-b)
("space" BBcode at end of chat is optional - it adds some extra space)
Quick font colors:
[red]This will be red.[/red]
(colors included: red, orange, yellow, green, blue, purple)
Highlighter:
[hl]This text will be highlighted.[/hl]
(That's a "L" not a one; it's hl for highlight.)
Audio:
[audio mp3="song.mp3" ogg="song.ogg"]
[audio mp3="song.mp3"]
[audio ogg="song.ogg"]
[audio m4a="song.m4a"]
[audio wav="song.wav"]
[audio flac="song.flac"]
[audio webm="song.webm"]
[audio mp3="song.mp3" width="50"]
(You may put a mp3 and ogg file together for maximum browser compatibility, or just post a mp3, ogg, wav, flac, webm or m4a file alone. Also, as the last example shows, you may modify the width. The width will become a percentage and by default, if you choose not to declare a width, the player will be 100% width.)
Action:
[action]Walks into a wall[/action]
Popup:
[pop button="Click Here" title="Hello" content="Thank you for being a friend."]
KBD:
Please type [kbd]Y[/kbd] for yes.
Also included:
[background]
, [font]
, [hr]
, and HTML table BBCodes. Finally, Flarum already comes with a core BBCode extension which adds other standard BBCodes such as bold, strikethrough, image, link, etc.