Hide BBCode extension for phpBB

  • 2 min read

Hide BBCode extension for phpBB.

Build Status Latest Stable Version Code Quality License

Allows you to write [hide]text[/hide] or [hide inline=1]text[/hide] and it will hide the content to guests.

You can nest [hide] and use other BBCodes inside it.

Features

  • BBCodes can be nested
  • It adds visual help to recognize content that will be hidden
  • It can hide inline content
  • It doesn’t require extra configuration

Preview

Content as logged-in user

Content as guest

Requirements

  • PHP 5.6 or greater
  • phpBB 3.2 or greater

Support

If you like or found this extensions useful and want to show some appreciation, you can consider donating.

PayPal Donate

Configuration

To customize the look and feel:

  • Move into {PHPBB_ROOT}/ext/alfredoramos/hide/
  • 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.

Installation

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

Uninstallation

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

Upgrade

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