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

Add file object to event core.avatar_driver_upload_move_file_before

    XMLWordPrintable

Details

    • Improvement
    • Status: Unverified Fix (View Workflow)
    • Minor
    • Resolution: Fixed
    • 3.2.2
    • 3.2.3-RC1
    • Events
    • 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

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

            Dates

              Created:
              Updated:
              Resolved: