Uploaded image for project: 'phpBB3'
  1. phpBB3
  2. PHPBB3-13791

Add more post buttons template events to viewtopic_body.html

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.1.3, 3.1.4-RC1
    • 3.1.5-RC1
    • Events
    • None

    Description

      Currently viewtopic_body_post_buttons_after / viewtopic_body_post_buttons_before template events are placed within the condition

      <!-- IF not S_IS_BOT -->
      			<!-- IF postrow.U_EDIT or postrow.U_DELETE or postrow.U_REPORT or postrow.U_WARN or postrow.U_INFO or postrow.U_QUOTE -->

      Thus, there're cases when user is unable to see custom buttons which don't depend on conditions mentioned above, as well as unable to add a custom button with its own condition (alike build-in post buttons).
      The decision would be adding another events outside of those conditions to allow ext authors creating their own 'independent' post buttons list.

      This issue is prosilver-only, as in subsilver2 original events aren't wrapped with the conditions.

      Attachments

        Activity

          People

            Elsensee Oliver Schramm [X] (Inactive)
            rxu rxu
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: