Topic Rating
tryhackx/flarum-topic-rating
5-star topic rating system for Flarum discussions
- Downloads
- 51
- Version control
- github.com/TryHackX/flarum-topic-rating
Topic Rating for Flarum
A Flarum extension that adds a 5-star rating system to discussions with half-star precision.
Features
- Half-star precision - Users can rate from 0.5 to 5.0 stars (stored internally as 1-10)
- Real-time updates - Rating averages update live via polling
- Ratings modal - Click the rating count to see all individual ratings with user info
- Moderator controls - Toggle ratings on/off per discussion, reset all ratings
- Permission-based - Configurable permissions for rating, toggling, and resetting
- Unactivated accounts - Optional setting to allow unactivated users to rate
- Localization - Includes English and Polish translations
Installation
Install with Composer:
composer require tryhackx/flarum-topic-rating
php flarum migrate
php flarum cache:clear
Updating
composer update tryhackx/flarum-topic-rating
php flarum migrate
php flarum cache:clear
Configuration
After installation, enable the extension in Admin Panel > Extensions > Topic Rating.
Settings
- Enable Topic Rating - Global toggle for the rating system
- Allow unactivated accounts - Let users who haven't confirmed their email rate discussions
Permissions
Set in Admin Panel > Permissions:
| Permission | Section | Default |
|---|---|---|
| Rate discussions | Reply | Members |
| Enable/Disable rating | Moderate | Moderators |
| Reset all ratings | Moderate | Moderators |
Compatibility
- Flarum
>=1.8.0 <3.0.0
Links
License
MIT
Versions
-
Works with Flarum v1.8.13.
-
Works with Flarum v2.0.0-beta.7.
-
Last version 2.0.1 tagged.
-
6 more versions.
-
Extension created.