Gamification by ReFlar
I love your extension but would love it even more, if it would sort replies by votes, or show the most upvoted reply as "best answer" like in the Best Answer extension.
I know this is quite a specific feature request, but could you imagine implementing something like this?
It will show the highest level ranks each user has. but now if i set show 1 badge, but just show for the first badge, not the last budge, please fix this soon ?
- Edited
Hello, I ran into an issue with this extension.
I made a Issue on both github & GitLab: https://gitlab.com/ReDevelopers/ReFlar/gamification/issues/23
@Kyrne
Hi,
So iam facing a few issues with this extension, one of them is that im not able to change the expressions:
reflar-gamification.forum.ranking.rank
reflar-gamification.forum.ranking.name
reflar-gamification.forum.ranking.amount
This happens when i change the language of the community to portuguese.
jonnnie Gamification hasn't been translated to Portuguese.
You can try to use flagrow/linguist to provide translations, and contribute a translations file if you want.
English locale located at https://gitlab.com/ReDevelopers/ReFlar/gamification/blob/master/locale/en.yml
There is an issue now, when i try to edit a topic it crashes with this log:
200 OK
POST https-----/api/posts/21
<br />
<b>Notice</b>: Undefined index: isUpvoted in <b>/home/--/public_html/vendor/reflar/gamification/src/Listeners/SaveVotesToDatabase.php</b> on line <b>80</b><br />
<br />
<b>Notice</b>: Undefined index: isDownvoted in <b>---/public_html/vendor/reflar/gamification/src/Listeners/SaveVotesToDatabase.php</b> on line <b>84</b><br />
<br />
<b>Fatal error</b>: Uncaught RuntimeException: Unable to emit response; headers already sent in -------/public_html/vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.php:27
Stack trace:
#0 -/public_html/vendor/zendframework/zend-diactoros/src/Response/SapiEmitter.php(27): Zend\Diactoros\Response\SapiEmitter->assertNoPreviousOutput()
#1 -/vendor/zendframework/zend-diactoros/src/Server.php(162): Zend\Diactoros\Response\SapiEmitter->emit(Object(Flarum\Api\JsonApiResponse))
#2 -/vendor/flarum/core/src/Http/AbstractServer.php(36): Zend\Diactoros\Server->listen(Object(Zend\Stratigility\NoopFinalHandler))
#3 -l/api.php(16): Flarum\Http\AbstractServer->listen()
#4 {main}
thrown in <b>/-/public_html/vendor/zendframework/zend-diactoros/src/Response/SapiEmitterTrait.php</b> on line <b>27</b><br />
I have also noticed the undefined index errors. It hasn't affected the functioning of the extension that I'm aware of, but it just might not have come up yet.
Hi, thanks @tyrro and @datitisev i still have the issue when editing posts, admin or user.
What does the "Points Placeholder" setting correspond to? Is that used for when the user doesn't have any points? It's not very clear to me.