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

Add file object to event core.avatar_driver_upload_move_file_before

XMLWordPrintable

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Minor Minor
    • 3.2.3-RC1
    • 3.2.2
    • Events
    • PHP 5.4.45 / PHP 7.1.11

      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.

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

              Created:
              Updated:
              Resolved: