Uploaded image for project: 'phpBB'
  1. phpBB
  2. PHPBB-13791

Add more post buttons template events to viewtopic_body.html

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.1.5-RC1
    • 3.1.3, 3.1.4-RC1
    • Events
    • None

      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.

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

              Created:
              Updated:
              Resolved: