- Edited
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