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

Add file object to event core.avatar_driver_upload_move_file_before

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Unverified Fix (View Workflow)
    • Priority: Minor
    • Resolution: Fixed
    • Affects Version/s: 3.2.2
    • Fix Version/s: 3.2.3-RC1
    • Component/s: Events
    • Labels:
    • Environment:
      PHP 5.4.45 / PHP 7.1.11

      Description

      For handling the uploaded avatars it would really help if the event core.avatar_driver_upload_move_file_before should also pass the $file object as a var. This way I can quite easily create an extension that offers the functionality of this idea: https://www.phpbb.com/community/viewtopic.php?f=436&t=2437796

      I can than simply call $event['file']->set_upload_ary($upload_ary) to overwrite some vars.

        Attachments

          Activity

            People

            • Assignee:
              Marc Marc
              Reporter:
              Ger Ger
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved: