Skip to content

If quotes are very long, the box is displayed in a smaller size. A mouse click displays the entire quote.

License

Notifications You must be signed in to change notification settings

IMC-GER/phpBB-Collapse-Quote

Repository files navigation

phpBB-Collapse-Quote

Description

The quoted text field is reduced in size for very long quots. To display the entire quote, click on the button below the quote field.

Settings in User Control Panel > Board preferences > Edit display options

  • Collapse Quote enable/disable.
  • Number of visible lines.
  • Text alignment in quotebox.

Settings in Administration Control Panel

  • Settings for guests and new user.
    • Collapse Quote enable/disable.
    • Number of visible lines.
    • Text alignment in quotebox.
  • expand/collapse button colours.
  • Settings from the UCP are available in the user administration

Screenshots

Requirements

  • php 7.1.3 or higher
  • phpBB 3.3.0 or higher

Installation

  • Copy the extension to phpBB3/ext/imcger/collapsequote.
  • Go to "ACP" > "Customise" > "Manage extensions" and enable the "Collapse Quote" extension.

Update

  • Navigate in the ACP to Customise -> Manage extensions.
  • Click the Disable link for "Collapse Quote".
  • Delete the collapsequote folder from phpBB3/ext/imcger/.
  • Copy the extension to phpBB3/ext/imcger/collapsequote.
  • Go to "ACP" > "Customise" > "Manage extensions" and enable the "Collapse Quote" extension.

Changelog

v1.4.0 (12-04-2025)

  • Fixed Don't set default data for guest when board email ist deactive
  • Fixed When resizing the document, the quotation boxes don't adjust there height when a boxes is nested.
  • Fixed Nested quotes do not scroll to the desired position when minimized
  • Changed Used only one template for user settings in UCP, ACP and user administrations panele
  • Changed Minimum number of visible lines
  • Changed Language vars renamed
  • Changed Template vars renamed
  • Changed The texts of the language files have been adapted
  • Changed text alignment setting in drop-down list
  • Changed Requirements phpBB min. 3.3.0 and php max. 8.4
  • Changed Set core event text_formatter_s9e_configure_after to priority one
  • Removed Redundant columen with user data in db config table
  • Removed Language file common.php
  • Added LukeWCSphpBBConfirmBox v1.4.3
  • Added Twig macro for colpick input field
  • Added User settings to ACP user administration

v1.3.2 (03-03-2024)

  • Fixed JS error when element undefined

v1.3.1 (21-02-2024)

  • Fixed don't toggle quotebox with nested quoteboxes

v1.3.0 (21-02-2024)

  • Fixed don't set default userdata for guest
  • Changed JS code to class
  • Changed security question in ACP to LukeWCSphpBBConfirmBox
  • Revised language variables
  • Added: Works also in preview and pm now

v1.2.1 (05-06-2023)

  • Fixed shadow overlaps dropdown menu

v1.2.0 (28-05-2023)

  • Added settings in UCP.
    • Collapse Quote enable/disable.
    • Number of visible lines.
    • Text alignment in quotebox.
  • Added collapse Quote enable/disable.
  • Added text alignment in quotebox top/bottom.
  • Changed php min to 7.0

v1.1.2 (28-06-2022)

  • Check system requirement
  • Controller for ACP template
  • Deprecated function removed

v1.1.1 (10-06-2022)

  • Bug in migration

v1.1.0 (07-06-2022)

  • Minore code change
  • Hover effect for togglebutton
  • Bug: ACP select foreground color

v1.0.1 (19-05-2022)

  • Bug: ACP display error

v1.0.0 (17-05-2022)

  • If the upper part of the quote box is outside the viewport, scroll it to top position wenn collapse.
  • Language adjustments
  • Add version check

v0.4.2 (19-03-2022)

  • Cleanup code

v0.4.1 (01-02-2022)

  • Minore code change

v0.4.0 (31-01-2022)

  • Language support
  • Settings in ACP

v0.3.0 (20-01-2022)

  • Minor code changes
  • Adjust Quotebox when window resize

v0.2.0 (19-01-2022)

  • Code changes
  • Add animation

v0.1.0 (16-01-2022)

Uninstallation

  • Navigate in the ACP to Customise -> Manage extensions.
  • Click the Disable link for "Collapse Quote".
  • To permanently uninstall, click Delete Data, then delete the collapsequote folder from phpBB3/ext/imcger/.

License

GPLv2

About

If quotes are very long, the box is displayed in a smaller size. A mouse click displays the entire quote.

Topics

Resources

License

Stars

Watchers

Forks

Packages

No packages published