• Extensions
  • FriendsOfFlarum upload, the intelligent file attachment extension

1.5.2

This should address HarMan also, but we were unable to specifically replicate your error. Please let us know if this release helps or not.

Updating
composer require fof/upload:"*"
php flarum cache:clear

hello sir,
thanks for the update, I can confirm that the sitemap route is accessible and the sitemap can be built

1.5.3

Updating
composer update fof/upload
php flarum cache:clear

    IanM
    Hi, Sir
    My media / User uploads , when performing file deletion, clicking "Confirm" does not refresh the page and return the result. I expect it to behave similarly to hiding files, where after execution, refresh & displays "File hidden."

    • IanM replied to this.

      Subarist please understand that the file deletion functionality is only available to admin users, and is experimental. Deleting an uploaded file will break any posts where that file is embedded.

      We will be improving this over time, but this is not something we can do at the moment due to time constraints and high workloads.

      We do welcome PR's if you would like to help contribute towards this feature 🙂

        IanM
        Thank you for pointing that out. I didn't realize it was restricted to admin users, so that's fine.

        After updating my site, it threw an error due to a conflict with the plugin JeromeGillard/flarum-map.. I have now reported this to the extension owner.

        6 days later

        @IanM Could you give me any pointer how to implement an AbstractTextFormatterTemplate for my MapTemplate?
        The view does not seem to register if it extends from AbstractTextFormatterTemplate altough it has all required methods.
        Extending AbstractTemplate does not render it.

        Thanks!

        I updated this extension and it is impossible to delete files for all users 🙁

          Wlork what exactly did you do and what files did you expect to be deleted, we need examples and a way to reproduce to get things resolved.

            luceos

            I updated this extension with :

            composer require fof/upload:"*"
            php flarum migrate
            php flarum cache:clear

            And for info : I use IMGUR comme uploader.

              luceos
              i've got somethink like that:
              (image\/(gif|jpeg|png))|(application\/(x-(7z|rar|zip)-compressed|zip|arj|x-(bzip2|gzip|lha|stuffit|tar)|pdf))|(text\/(plain|x-(yaml|python|shellscript)))
              Using from first post & there's still problem with upload.