Kyrne Honestly, it's not that bad, other than the navigation bar that moves to the top of the page, it's overall acceptable. Even the navigation bar can be moved back to the left with some simple css.

Kyrne actually, when you first showed me before we decided to release it, you were really excited about it 😏 I guess the more code and UI you see the more your eyes tend to open up wider 😂

6 days later

0.2.0

This update may break some custom styles and/or extensions that integrate with gamification (are there any? not sure).

This is a large update because many behind-the-scenes changes took place to improve the overall experience.

  • Fix regular layout votes counter position
  • Add optional Reddit-like layout for upvotes & downvotes (FriendsOfFlarum/gamification16)
  • Many improvements & fixes (FriendsOfFlarum/gamification15)
    • Move to vote value system (upvotes = 1, downvotes = -1, extendable in the future)
    • Improve vote calculation performance by allowing the database to sum up vote values
    • Fix issues with deleted post authors
    • Move permissions to posts instead of discussions (current permissions should be migrated on update)
    • Improve & maybe fix Pusher integration
    • Load all voters only when opening voters modal
    • Fix issue when calculating user ranks
    • Fix issue when showing user ranks
    • Only pass setting values to forum (instead of to admin twice)
    • Recalculate discussion & user votes/points on every vote change (instead of simply incrementing or decreasing value)

Updating

!!! Make a backup of your database in case issues arise while updating.

If issues arise, run composer require fof/gamification ^0.1.0 to downgrade gamification before restoring DB from backup.

composer require fof/gamification
php flarum migrate
php flarum cache:clear

    DursunCan

    0.2.1

    • Fix issue with discussions that have no firstPost relationship

    Updating

    composer require fof/gamification

      datitisev I installed the extension and set ranks. But ranks do not appear in discussions. Is there a php command to update?
      I set the bagde to the right in the discussions. How can I add ranks next to the badges. Can you help for css codes?

      .PostUser-badges.badges
      {
          position: relative;
          width: auto;
          margin-left: 5px;
          display: inline;
          float: none;
          top: -2px;
      }
      
      .PostUser-badges.badges li span
      {
          margin-left: 1px;
      }
      
      time
      {
          padding-left: 5px;
          display: inline;
      }

      Picture:

        DursunCan The ranks only update when a vote changes for one of the user's posts. The CSS code should not be affecting it not showing up (it'd probably be behind those badges, but still visible).

          DursunCan Can you add a command to check the extension of all users?

          What do you mean by extensions? Can you clarify this request?

            datitisev controlling the number of votes of all users and then giving roles; can you add php command?

              DursunCan You mean calculating the votes & assigning ranks to users if the rank settings are changed, for example? I'm still not sure.

                Any way to make posts also counted for the ranking calculation? Not just votes? I want to also reward my users for posting not just for receiving votes.

                  Mark73 I'm torn between these two extensions, I believe the one you linked does not have ranks, only level numbers and that is a bit boring in my opinion.

                  I want something similar to what phpbb does, users get new ranks by posting and I want to choose what those ranks are in terms of name or icons.

                  If some day you add user's post count to your ranking system I will be the first in line waiting!

                    malago during it's initial conception, I had always imagined this gamification extension to be modular to the point where you were able to install a core version with basic functionality and then the ability for developers to extend on it to add additional features and event 😀 this would include adding events for posts, discussions, etc and in turn would have it's own rank extension as well. But who knows, I've been working on different forms of gamification lately such as a user reputation system but what you are explaining to us is something I would love to see as an extension as well so you don't have to be torn between the two 🙂

                    how can i show/filter rankings monthly or for last 30 days ?

                    I don't know if it's only me, but after the last update, upvote/downvote permissions doesn't work anymore.

                    • Even with permission set on admin only, every other user can upvote/downvote posts.
                    • Every user (except admin) can't upvote/downvote posts in private tags even with all permissions enabled

                    Can someone check does it have the same problems as I am?

                      • [deleted]

                      hrvoje_hr datitisev another potential issue I can see in my Dev environment is that the notifications say "xyz downvoted your post" when in fact it's the opposite ??