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.

        With the important flag maybe?

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

        If it doesn't work I will remove the Badge class for only custom images, I will leave it for font awesome icons.

          Justoverclock what border are you trying to delete? There is a box shadow and a border radius. The example I put here only deletes the border but try first with: background-color: red and see if that picks up. Try a to remove the border with your code.

          I will change the class later anyway 😁

            malago i need to remove the shadow border around the little achievement image...maybe i'm doing something wrong?

              Justoverclock This?

              .Achievements--User .Badge {
              box-shadow: none;
              }

              Try with the !important too.

                eddiewebb That's a nice suggestion, I will definitely consider adding that. I am taking a break for now and focusing on other projects but I will definitely come back to this extension.

                The extension is stable now so that was my short-term goal 🙂

                Having said that, I made a little change today so that points are not showing if the sum is 0. You can update if you want this.

                @malago - for the "posts in tag" does that use similar comma notation?

                tagname,10 or something else?

                EDIT: Yes, that seems to work.

                  eddiewebb You already figured it out but just to confirm: yes. Here are some examples:

                  • General,10 --> 10 or more posts on the "General" tag
                  • Chit Chat,20,39 --> between 20 and 39 posts (both inclusive) on the "Chit Chat" tag

                  One of the things I wanted to do at some point is to make this notation a bit more friendly, but I wanted to release the extension.

                    malago If you're open to PRs it might be easy enough to make UI dynamically add a
                    qualifier, min, and max field instead of single text box. Types without the restrictionm/qualifier can drop the first

                      eddiewebb Absolutely! I will be happy to take contributions to improve usability and features.

                      I don't have all the time I want to do it myself so feel free to contribute.

                      • [deleted]

                      Just installed this, and loving it. Feeling my way around somewhat, but looking great.