How to Install Post Content Expander Extension on phpBB
Post Content Expander is a great extension to keep your forum clean by automatically collapsing long posts. Below is a detailed step-by-step guide to help you install it correctly.
1. Prerequisites
Before starting, ensure you have:
- [] Administrator Access: You need permissions to access the Admin Control Panel (ACP).
[] FTP/SFTP Access: Use a tool like FileZilla or your hosting's File Manager. - Backup: Always back up your database and server files before installing new extensions.
Step 1: Download the Extension
Download the official version (usually a .zip file) from the phpBB Extension Database.
Step 2: Prepare the Folders
phpBB requires a specific directory structure: /ext/vendor_name/extension_name/.
- [] Unzip the downloaded file on your computer.
[] Check the composer.json file inside to find the vendor and name. - Create a matching folder structure. For example:
Mã: Chọn tất cả
ext/vse/postcontentexpander/
Upload the entire vendor folder into the
Mã: Chọn tất cả
/ext/Step 4: Enable in ACP
- [] Go to your Admin Control Panel (ACP).
[] Navigate to the Customise tab.
[] Click Manage extensions in the left menu.
[] Find Post Content Expander and click Enable.
Check the Extensions tab in the ACP to set the maximum height or word limits for your posts.
3. Troubleshooting
- [] Not showing in ACP? Double-check the path: /ext/vendor/extension/.
[] Changes not appearing? Purge the forum cache in the ACP (General Tab). - Broken Layout? If using a custom style, copy files from styles/prosilver/ to styles/your_style_name/.
Pro Tip: To make the "Expand" button match your theme, you can customize the CSS file located in the extension's theme folder.
Good luck with your forum management!