Simple Spoiler BBCode Extension for phpBB 3.2.x
PHP CSS XSLT Ruby JavaScript Shell HTML

README.md

About

Simple Spoiler Extension for phpBB 3.2.x

Build Status Latest Stable Version License

Dependencies

  • php 5.6 or greater
  • phpBB 3.2 or greater

Installation

  • Download the latest release
  • Decompress the *.zip or *.tar.gz file
  • Copy the files and directories inside {PHPBB_ROOT}/ext/alfredoramos/simplespoiler/
  • Go to your Administration Control Panel > Customize > Manage extensions
  • Click on Enable and confirm

Usage

Write [spoiler]text[/spoiler] or [spoiler title=title]text[/spoiler] and it will hide the content on anywhere that you can render BBCodes.

You can nest [spoiler] and write unicode titles in [spoiler title=title].

Preview

Nested spoilers

[spoiler title=Nested spoilers]First level
[spoiler title=«µǹï¢øð€»]Second level[/spoiler][/spoiler]

Spoiler title with emojis

[spoiler title=🇩🇪 🇲🇽 🇺🇸 Title with emojis 😁 🤗 🔱]Some text 🦏[/spoiler]

(Click to view in full size)

Configuration

To add support for more styles:

  • Copy the styles/prosilver/ directory into styles/{NEW_STYLE}/
  • Edit the following files as needed
    • styles/{NEW_STYLE}/theme/css/style.css
    • styles/{NEW_STYLE}/theme/css/colors.css

Uninstallation

  • Go to your Administration Control Panel > Customize > Manage extensions
  • Click on Disable and confirm
  • Go back to Manage extensions > Simple Spoiler > Delete data and confirm

Upgrade

  • Uninstall the extension
  • Delete all the files inside {PHPBB_ROOT}/alfredoramos/simplespoiler/
  • Download the new version
  • Install the extension

Contributors

Thanks to the following people for contributing to the extension: