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.

        @malago i've noticed some error in @[deleted] forum, and on mine too,

        here the console:

        Uncaught (in promise) TypeError: Cannot read property 'new_achievements' of null
            at index.js:75
          19 days later

          malago try to add the achievements to the database directly.

          can anyone give me an example? Like how to kind of thing.

            I was looking for a way to increase the fontawesome icon size of this extension as I didn't opted for image. So for people who thought like me and was looking for a way, here it is,

            .Achievements--User .Badge {
                font-size: 20px;
                color: #68BBE3;
                background: none;
            }

            Remeber if you have turned on alternative layout for upvotes/downvotes in gamification, increasing font-size beyond 25px seems little disturbing. 20px seemed good to me.

            malago is there any list of value to be placed in the computation field in the database table so to extend this further ?

              Justoverclock I believe this should be ready for 1.0, it is now compatible with beta16 so I will keep an eye on 1.0 when it releases to check that nothing is broken.

              User24 This must be done separately on phpmyadmin or another script you might have, you just have to add a row on the table flarum_achievements_user with the user_id, achievement_id, created_at (this is a datetime) and you can put the column new to 1 so the user will get a notification when they log in next time. This is only for very customized achievements or events that happen outside the forum.

              User24 I am not sure what are you trying to do, can you explain a little more your goal and maybe I can find a workaround for that purpose or I can modify the extension.

                malago I am not sure what are you trying to do, can you explain a little more your goal and maybe I can find a workaround for that purpose or I can modify the extension.

                I planning to give users - say if they visit continuously the site for 7 days, thinking of to give a 7 day streak badge to them. So list of possible events can help me add more achievements right?

                  User24 That would be a cool achievement!

                  I wonder if Flarum has any way to check this... Otherwise I don't see any other way to do it that is not storing a list of the days the user logged in the forum and then check if there are 7 days in a row. That can be a little out of the scope of this extension...

                  Anyone knows an extension that already does or checks the days a user had logged in? Maybe I can use that logic or rely on another extension for this achievement.

                    malago I wonder if Flarum has any way to check this... Otherwise I don't see any other way to do it that is not storing a list of the days the user logged in the forum

                    Maybe, online user extention can be helpful in recording the login activity of users?