Likes Received
Shows the total number of likes received on a user profile.
A permission controls who can see the number of likes of other users.
For performance reasons, the counter is simply incremented or decremented upon a new like or unlike.
This means the actual number of likes could be off if you disable the extension, edit likes data directly in the database or if an exception occurs in another extension during a like event.
You can fix the number of likes received for all existing users with the following command.
Depending on your number of users it could take a few seconds to complete.
php flarum clarkwinkelmann:likes-received:refresh
You can use this command after the installation to import existing likes count as well.
Installation
composer require clarkwinkelmann/flarum-ext-likes-received
Support
This extension is under minimal maintenance.
It was developed for a client and released as open-source for the benefit of the community.
I might publish simple bugfixes or compatibility updates for free.
You can contact me to sponsor additional features or updates.
Support is offered on a "best effort" basis through the Flarum community thread.
Sponsors: GreXXL
Links