Aleram [deleted] No, unfortunately this parameter reduces the distance between elements. And the block itself is in the same position.
brian85 Hello, I just have a question, why is it possible to vote to your own posts ? It's not very fair.
Kyrne brian85 This extension is meant to mirror Reddit's voting system, where this is allowed. A setting could be added.
brian85 Kyrne Yes a setting would be ideal. 👍 [update] Could I simply add a condition in SaveVotesToDatabase line 105 in order to check that the user id is not the id of the current user ? => https://github.com/FriendsOfFlarum/gamification/blob/3656f5c7bd0ad624ecbcea036f61c8ea93659332/src/Listeners/SaveVotesToDatabase.php#L105 OK I ask you for a quick fix, is this ok for you in SaveVotesToDatabase public function vote($post, $isDownvoted, $isUpvoted, $actor, $user) { if($user->id !== $actor->id){ I save only if the user id don't equal the actor id Thanks for your help.
StephanMhl Im getting Next Doctrine\DBAL\Driver\PDOException: SQLSTATE[42S21]: Column already exists: 1060 Duplicate column name 'last_vote_time' in /www/html/vendor/doctrine/dbal/lib/Doctrine/DBAL/Driver/PDOStatement.php:119 if i want to active the extension. Do i need to delete this column manually?
[deleted] StephanMhl Yes, you'll need to manually drop it - did you have the extension installed before ?
StephanMhl activation works now. But i cannot convert my old likes [2019-10-10 15:32:12] production.ERROR: Error: Call to a member function increment() on null in /www/html/vendor/fof/gamification/src/Gamification.php:123
StephanMhl im using a docker container from https://github.com/tiredofit/docker-flarum with mariaDB 10.3.9 i now look for a way to call flarum migrate 🙂
StephanMhl [deleted] Ok did the migration. but nothing changed. It still tells me "Your likes are now being converted." Even after rebbot the whole flarum container
[deleted] StephanMhl Yes, I had this also. Do you have the likes extension installed also ? If so, disable it