How to install Post Content Expander extension

Nơi Ban Quản Trị sẽ đăng những thông báo mới nhẩt
Trả lời
Avatar người dùng
Test Verified
Bài viết: 16
Tham gia ngày: 18/01/2025, 07:23
Điểm Reactions: 11

How to install Post Content Expander extension

  • Copy Link
  • Trích dẫn

Bài viết bởi Test Verified » - #1

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.
2. Step-by-Step Installation
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/.
  1. [] Unzip the downloaded file on your computer.
    [] Check the composer.json file inside to find the vendor and name.
  2. Create a matching folder structure. For example:

    Mã: Chọn tất cả

    ext/vse/postcontentexpander/
Step 3: Upload to Server
Upload the entire vendor folder into the directory of your phpBB root via FTP.
Step 4: Enable in ACP
  1. [] 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.
Step 5: Final Configuration
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!
Trả lời