About

Simple Spoiler BBCode extension for phpBB.

Build Status Latest Stable Version Code Quality Translation Progress License

Allows you to 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].

Features

  • BBCodes can be nested
  • Full Unicode support in title for the [spoiler title=] BBCode
  • It's easily extensible and customizable for new styles
  • HTML5 markup

Requirements

  • PHP 7.1.3 or greater
  • phpBB 3.3 or greater

Support

If you like or found my work useful and want to show some appreciation, you can consider supporting its development by giving a donation.

Donate with PayPal

Donate with PayPal

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

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 customize the look and feel:

  • Move into {PHPBB_ROOT}/ext/alfredoramos/simplespoiler/
  • Copy the styles/prosilver/ directory to styles/{STYLE}/
  • Edit the following files as needed
    • styles/{STYLE}/theme/css/style.css
    • styles/{STYLE}/theme/css/colors.css

Note: If your style doesn't inherit from prosilver, you should follow the steps above even if you don't want to change any file.

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}/ext/alfredoramos/simplespoiler/
  • Download the new version
  • Install the extension

Credits

File view-hide.svg from Zoondicons by Steve Schoger is licensed under CC BY 4.0

Phpbb Ext Simple Spoiler

Simple Spoiler BBCode extension for phpBB

Phpbb Ext Simple Spoiler Info

⭐ Stars 11
πŸ”— Source Code github.com
πŸ•’ Last Update 8 months ago
πŸ•’ Created 4 years ago
🐞 Open Issues 0
βž— Star-Issue Ratio Infinity
😎 Author AlfredoRamos