1.2.12

Updating
composer require fof/gamification:"*"
php flarum cache:clear

MartinJD hmm, I’ll check this out asap, but I’m away from my laptop for another hour or so

MartinJD on first check, everything seems ok for me:

Are you able to share a link to an example of this happening on a live forum at all?

    IanM Same here, no console errors. Only if I downvote it appears, but upvotes still don't appear. Here you have a link, but this setting cannot be set for everyone to see it, only for members as a minimum.

    • IanM replied to this.

      Darkle thanks, just figured out what's causing it. Starting to work on a fix now

      1.2.13

      Thanks both for the assistance in debugging the issue!

      Updating
      composer require fof/gamification:"*"
      php flarum cache:clear

      Thanks for the super quick update Ian! all working perfectly now 🙂

      13 days later
      10 days later

      1.3.1

      • Use custom icon in notifications (where one is set) FriendsOfFlarum/gamification65
      • Remove ordering workaround from sidebarItems
      • Recompile JS using Webpack 5
      Upgrading
      composer require fof/gamification:"*"
      php flarum cache:clear

        IanM the gamification extension is not listed on mercury extension's page.

        • IanM replied to this.
          8 days later

          1.3.2

          Updating
          composer require fof/gamification:"*"
          php flarum migrate
          php flarum cache:clear
          Sponsored

          This feature was sponsored by @glowingblue 💝

          a month later

          I am using FoF Gamification but nobody can upvote / downvote even tho the permission is properly set, I don't have Likes Ext installed.

          Hi all ! Thanks for this extension. I've just seen that an error is raised in console when opening discussions, it looks like it appeared recently (maybe since 1.3.2 ?) and it concerns Pusher.

          Uncaught (in promise) TypeError: t.main is undefined addPusher.js:23:8

          I think it is when Gamification sends 'newVote' to Pusher. Does anyone see the same ?

            sylv38 my issue has been anyone that doesn't have the admin or mod role can't upvote

              Hey I met a question that when I try to cancel an upvote or downvote, it returns a 404.

              I've opened an issue on GitHub with detailed log and hope to get some help. Thanks a lot.

              8 days later

              When I click on view voter's, on a post nothing comes up. No error in log.

              Edit: this error was caused by achievements extension and has been fixed by that extension in its latest update.

              10 days later

              I can't upvote any post from the discussion list with the alternative layout, it gives this console issue:

              Uncaught TypeError: t.discussion is not a function
                  at Z (forum.js?v=e9373c2f:378:122168)
                  at f (forum.js?v=e9373c2f:378:133869)
                  at HTMLButtonElement.onclick (forum.js?v=e9373c2f:378:134238)
                  at L.handleEvent (forum.js?v=e9373c2f:1:153074)

              I think it happened after first approving a post from a user with Approval does that make any sense?

              Note that it has happened to me with two new installations, the first on Windows and the second on CentOS same problem in both running the same scenario.

              I have seen that 1.3.4 has been released fixing some issues, although this one in particular seems to persist, the console error now seems clearer and is somewhat different to the previous one:

              saveVote.jss:4 Uncaught TypeError: t.discussion is not a function
                  at Z (saveVote.jss:4:67)
                  at f (addAlternateLayout.jss:53:45)
                  at HTMLButtonElement.onclick (addAlternateLayout.jss:62:26)
                  at L.handleEvent (render.jss:888:55)
              Z	@	saveVote.jss:4
              f	@	addAlternateLayout.jss:53
              onclick	@	addAlternateLayout.jss:62
              L.handleEvent	@	render.jss:888