danielunited that's certainly weird, are you sure the user was deleted ? does the user's data no longer exist in the users table ?

    SychO No, it doesn't.

    I ended up restoring a backup, so everything is ok now.

    2 months later

    🔔 v1.2.0 Released

    • ⬆️ Now compatible with Flarum v0.1.0-beta.14 only
    • 🔑 Adds a setProfileCover permission.
    • ❌ Removes the cover images size calculations (too inconsistent and ended with wrong values in certain cases)
    • 🐞 Fixes a bug with the create thumbnails checkbox

    Updating

    $ composer update sycho/flarum-profile-cover
      • [deleted]

      SychO Thank you! BTW, i saw this action logs repo, will you tell us more about it? 😃

        [deleted] I'll publish that one soon, just gotta make some tweaks to it, but it's as the name suggests, a log for different kinds of admin/moderation actions taken in the forum. It's a very simple one though (for now).

          • [deleted]

          SychO Thats great, thank you 🙂

          2 months later
          5 days later

          hello, I can't uplaod .JPG images to the cover in beta-15
          it's seams to be something like this profil problem for the message

          i tried to upload an .jpg image to my profil photo, and it work

          sorry for my bad english :S

          in CoverValidator.php I add 'jpg' and works 😉

            Amarok Hello, thank you for the report!

            Yes it seems like this was affected by the same change in symfony/mime, I'll take a look at this and push a fix soon.

              a month later

              Hi @SychO, I'm having a problem with your extension. Users can delete my cover and that of others.
              They are simple users, but I have created user groups via the Register role extension, I don't know if it can hit something.
              https://discuss.flarum.org/d/24500-registration-roles

              These are screen:
              https://i.imgur.com/59BPyVY_d.webp?maxwidth=640&shape=thumb&fidelity=medium
              https://i.imgur.com/KKvTE0j_d.webp?maxwidth=640&shape=thumb&fidelity=medium

                Gatsu Thank you very much for reporting this! I just investigated the code, and found where I made a mistake when I added beta 15 compatibility. Sorry about that.

                I just tagged a new v1.2.3 release that fixes the issue. Just run the following command:

                composer update sycho/flarum-profile-cover
                5 days later

                SychO Do you have to make it compatible with FOF user-bio plugin on your to-do list? Because it causes bad appearance.

                profile-cover

                profile-cover-1

                  mekici well, the user card's height changes depending on the user's bio size, so only thing I can think of that could make it better, is to stretch the thumbnail and use a light blur effect to hide the bad quality of the image. I've created an issue about it for now SychO9/flarum-profile-cover24, will look into it at some point.

                  Also, this doesn't happen when thumbnails are disabled I believe.

                    2 months later
                    3 months later

                    is it compatible with stable version? Currently maksimum file size is not correct on front end side. I set 512kb on admin panel but it shows as 2mb at profile page. How can I solve? I use flarum v,1.0.2