tryhackx / flarum-topic-rating
5-star topic rating system for Flarum discussions
Package info
github.com/TryHackX/flarum-topic-rating
Language:JavaScript
Type:flarum-extension
pkg:composer/tryhackx/flarum-topic-rating
2.0.1
2026-02-22 18:59 UTC
Requires
- php: ^8.2
- flarum/core: ^2.0
This package is auto-updated.
Last update: 2026-02-22 19:14:15 UTC
README
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