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

Add event to submit_pm()

    XMLWordPrintable

Details

    Description

      [PHP] UCP PM submission hook

      Identifer: core.ucp_pm_submit

      Location: ucp_pm_compose.php
      Before // Store message, sync counters

      Parameters: Ideally, $pm_data, which is created after that line (but could be moved higher to be sent to the extension), $error, $submit, $preview, $refresh, $message_parser.

      Explanation: Allows extensions to do things with PMs before they can be submitted (such as check for spam content).

      Event requested by EXreaction

      Attachments

        Activity

          People

            nickvergessen Joas Schilling
            Lucifer4o Lucifer4o [X] (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: