Simple Spoiler Extension for phpBB 3.2.x
php
5.6 or greaterphpBB
3.2 or greater
- 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.
Write [spoiler]text[/spoiler]
or [spoiler=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]
.
(Click to view in full size)
To add support for more styles simply copy the content of the styles/prosilver/theme/
directory into styles/<NEW_STYLE>/theme/
.
To customize the look and colors, edit the following files:
styles/<STYLE>/theme/css/style.css
styles/<STYLE>/theme/css/colors.css
Note: By default it's hidden from the posting box, if you want to show it follow these steps:
- Go to your
Administration Control Panel
>Posting
>BBCodes
- Click on the
Edit
button (green gear) - Go to
Settings
and check the optionDisplay on posting
- Click on
Submit
- 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.
- Uninstall the extension.
- Delete all the files inside
<PHPBB_ROOT>/alfredoramos/simplespoiler/
. - Download the new version.
- Install the extension.
Thanks to the following people for contributing to the extension:
- Smayliks - Russian translation
- pikachuturkey - Turkish translation
- Nokorbis - French translation
- manicx - Greek translation