i don't understand why i've included the translation on my language pack, but not work @luceos

Justoverclock You are probably not using the image URL, it has to end in .jpg or .png

For instance, I am trying to upload something to ImgBB but I have to right click on the picture and get the URL of the image.

It is not https://ibb.co/y5gT6xw, it is: https://i.ibb.co/4M4y806/free-glyph-icons-1x-1.png

As for the translation... I have no clue why it does not work...

Also:

Version 0.2.1

  • Added the option to use Font Awesome icons instead of an external image for the achievement icon. Use the icon code (e.g. far fa-comments) and it will understand that it is not a URL.
  • Added two achievement examples in the README
  • Solved a problem with the communication with the Middleware and the Listeners

Let me know if you find problems with this version.

    malago i always used absolute image url 🙂 anyway i try this version tomorrow

    p.s. the idea of fontawesome icon is amazing 🙂

    @malago maybe i'm doing something wrong....but...

    i can't see the image

    and here the issue:

    maybe u can change with a simple text inline with like/reply

      Justoverclock I'm having a hard time with the git and forgot to include some files 🤦‍♂️🤦‍♂️🤦‍♂️🤦‍♂️

      I just updated with the compiled js files, try to update to 0.2.2... sorry about that 🙂

      Justoverclock maybe u can change with a simple text inline with like/reply

      I tried that, but the like/reply buttons are not always visible, they only appear on mouse hover so I decided to put it just below. Having said that, you can try to change the position with some CSS, I will try to find another solution asap.

      i've added some css to make it more "modern".

      but idk how can i change the position

      @malago maybe could be awesome to have an "achievements" page on the sidebar, that show all the available achievements that a user could reach

      edit: is it normal that i see this in console?

        Justoverclock Hello again, I made the some changes to where the achievement list is showing up. There are more span elements that will give you more flexibility for the CSS customization. I also removed the console.log line that was spamming.

        Please update to Version 0.2.3 and let me know how it works for you!

        flarum update malago/flarum-achievements

        I believe the extension is quite stable now, I might take a break and think about what to add next:

        • List of achievements
        • Add the option to hide an achievement from this list to make it a suprise

          malago i can't wait to see this new feauture! keep up the good work!! and let me know if i can do something (i'm not a developer, but i have experience with graphics stuff)

          malago List of achievements

          I would love to see an Admin setting in the future to hide user's achievements from posts, especially if user achievements gets it's own UserPage 😉

          new version installed, all works fine, but i see messages on console, maybe a log.

          found a bug, i try to like a post but i receive an error: "oops something went wrong"
          here the console:

            Justoverclock check your Flarum log file at <flarum>/storage/log. The message in the console says there was a 500 response from the API, so the full error should have been logged by the backend.

              anyone knows how to remove the log? maybe is some options that i have?
              there are all images for the achievements:

                Justoverclock Hi! Sorry for the delay, I found the log and removed it. Also, the comments in discussion achievement was not calculating it the right way so that was also fixed, please update!

                0.2.5

                • Removed JS log
                • Fixed calculation for comments on discussion achievements

                flarum update malago/flarum-achievements

                I will keep an eye open for more issues.

                  @malago can u assign another css clas to .Badge? actually is used by goup badges, so i cannot apply styles without touching them.

                    Justoverclock Did you try with .Achievements .Badge (or similar, I can't remember the exact div that wraps the achievements)? I can change it yes, but I could do two classes to get only to that badge class.

                    for example, i would remove the border from achievement, but i cannot without modify the group badges, if u know solution tell me what i have to do 🙂

                      Justoverclock Try this:

                      .Achievements--User .Badge {
                      border: none;
                      }

                      Or whatever you want to change on the badge class inside the Achievements--User div.