• Extensions
  • FriendsOfFlarum upload, the intelligent file attachment extension

FrankXayachack now I know why it doesn't work because it conflicts something with Quill Editor after I disabled the editor it works normally now

Have a look here too: Pollux

a month later

@luceos Hey, your patreon link is busted in the first post that most people will see.
I found it on your homepage though.

That being said.. i've been trying to switch from phpbb for years and this functionality is part of what i need. You've made a $25/mo patreon supporter out of me. More once we are out of beta or at least at late release candidate stage and i can devote some user donated money to the cause.. ( can't justify it with something that is still speculative for us - although i'd like to! )

    neptronix we dropped the patreon for flagrow. Feel free to spend your money on the opencollective.com for flarum at opencollective.com/flarum 👌

      15 days later

      luceos Who can I order to improve extensions for me for money?

        Pirat feel free to get in touch with me personally on discord, I'm available under the same username.

          How do i connect jquery correctly?
          I want to add this slider to the extension functionality
          https://codepen.io/digistate/pen/MvapbE

          luceos Why doesn't the javascript code interact with the extension?
          I set strict conditions for working with classes, but it does nothing
          Separate from expansion works fine.

          luceos Where is the code that is responsible for connecting this file?
          image.blade.php
          and this file too
          image.preview.blade.php

          I need to wrap all the pictures in a separate class.

          @luceos I installed the extension in Beta 8, but it does not work, it just attached as a url but it does not show the image, nor does it save the configuration in the administration menu.

          Work perfect Beta 8 Solved.

          After upgrading to the latest Flarum 0.1.0-beta.8PHP and Upload 0.7.0, all my links now return the following:

          {"errors":[{"status":"404","code":"resource_not_found"}]}

          Is there an update step that got missed?

          I thought perhaps it would be related to how the newer Flarum moves the assets directory into /public/ so I recreated the old assets folder. Same result.

          Sample link URL is https://community.langrisser.info/api/flagrow/download/36d62891-6529-4e6d-9668-3c37db9705fa/15781/xnFUNDDviPG9w1qtzD7NSR6DtP85cg3fkBrIoT72

          Output of the update script:

          mandritto:/www/langrisser.info/community$ composer update flagrow/upload
          Loading composer repositories with package information
          Updating dependencies (including require-dev)
          Nothing to install or update
          Generating autoload files
          mandritto:/www/langrisser.info/community$ sudo php flarum cache:clear
          Clearing the cache...
          mandritto:/www/langrisser.info/community

            sobodash

            I had the same problem. I was able to resolve temporarily by making the following configuration in the admin:

            Disabling hotlink and logging.

              jaison_v Thanks, it works for now. Hope there's a better solution coming.

              Hi, anybody knows, why am I see only this types of tags, not clickable file, or image previwe, after upgrade to Flarum Beta 8?
              [upl-image-preview url=http://myIP/assets/files/2018-10-30/1540907972-334389-cmd.png]

              Thanks

              EDIT: Ok, that was, because of Markdown extension. If you enable this extension before flaglow/upload, then it is buggy. You have to enable it in order 1. flaglow/upload, 2. Markdown.

              5 days later

              Hi, on one of my forums (running 0.7 beta2 still) I was never able to upload any rar or txt files.

              I even whitelisted in Flagrow Upload configs as: application\/(rar|txt).

              I know this is not the latest version available, but until I can update my critical forums, anyone has any idea what should be preventing me from accomplishing this?
              Maybe something in php or apache that is blocking me?

              According to this the mimetype for rar is: application/x-rar-compressed. Simply using the extension isn't the same 😉

                luceos

                Hum... I tried changing to that mymetype, but I continue getting a 422 unsupported file type.

                422 Unprocessable Entity
                
                {
                  "errors": [
                    {
                      "status": "422",
                      "code": "validation_error",
                      "detail": "Uploading files of this type is not allowed.",
                      "source": {
                        "pointer": "/data/attributes/upload"
                      }
                    }
                  ]
                }

                Same thing with TXT files... For some reason, I just can't upload them.

                When I try to upload a picture, I only see a broken file icon.
                Using image download or file download I got an 404 Error:

                JSON
                errors
                0
                status "404"
                code "resource_not_found"

                Response headers:
                X-Firefox-Spdy h2
                cf-ray 48bcba4c1baac2a1-FRA
                content-encoding br
                content-type application/vnd.api+json
                date Wed, 19 Dec 2018 20:48:02 GMT
                expect-ct max-age=604800, report-uri="https://report-uri.cloudflare.com/cdn-cgi/beacon/expect-ct"
                referrer-policy strict-origin-when-cross-origin
                server cloudflare
                strict-transport-security max-age=172800
                x-content-type-options nosniff
                x-frame-options SAMEORIGIN
                x-xss-protection 1; mode=block