huseyinfiliz / awards
Community awards and voting extension for Flarum
Fund package maintenance!
Website
Installs: 6
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 0
Forks: 0
Open Issues: 0
Language:TypeScript
Type:flarum-extension
pkg:composer/huseyinfiliz/awards
Requires
- flarum/core: ^1.8.0
Requires (Dev)
- flarum/phpstan: ^1.0
- flarum/testing: ^1.0
- friendsofphp/php-cs-fixer: ^3.0
- mockery/mockery: ^1.0
README
Awards
A comprehensive community awards and voting extension for Flarum forums. Create annual awards, organize categories with nominees, let your community vote, and publish results with beautiful winner badges.
Credits: This extension sponsored by @StryGuardian β¨
π³οΈ Voting Interface
π Results & Winners
β My Votes Dashboard
βοΈ Admin Management
Features
- π Award Ceremonies: Create annual or event-based awards (e.g., "Game Awards 2025", "Community Choice")
- π Categories & Nominees: Organize awards into categories with images and descriptions
- π³οΈ Flexible Voting: Single vote (replace), multiple votes per category, or unlimited voting
- π‘ User Suggestions: Let users suggest nominees with admin approval workflow
- π Live Vote Counts: Optionally show real-time vote counts during voting period
- π Notifications: Automatic alerts when results are published to all voters
- π₯ Winner Badges: Gold, silver, and bronze badges for top 3 nominees
- πΌοΈ Hero Section: Beautiful cover images with countdown timer
- π± Responsive Design: Card-based layout optimized for all devices
- π― Prediction Summary: Track your prediction accuracy after results are published
- β° Auto-End Voting: Automatic status updates based on start/end dates
- π§ Vote Adjustment: Admin can adjust displayed vote counts when needed
Installation
composer require huseyinfiliz/awards
You can also install with Extension Manager: huseyinfiliz/awards
Updating
composer update huseyinfiliz/awards
To remove simply run composer remove huseyinfiliz/awards
Quick Start
For Users
- Navigate to the Awards page from the sidebar
- Browse categories and click on a nominee card to vote
- Visit My Votes tab to track your voting progress
- Use Suggest Other option where the category allows it
- View Results after voting ends to see winners and your prediction score
For Admins
Navigate to Admin β Awards to configure the system. The admin panel is divided into tabs for easy management:
Awards Tab
- Create awards with Name, Year, and Voting Period
- Set cover images for the hero section (URL or upload via FoF Upload)
- Control award status: Draft β Active β Ended β Published
- Toggle Show Live Votes for real-time vote counts during voting
- Publish Results to notify all voters when ready
Categories Tab
- Add categories to awards (e.g., "Best RPG", "Game of the Year")
- Enable Allow User Suggestions for community input
- Reorder categories with drag controls
- Set descriptions to guide voters
Nominees Tab
- Add nominees with Name, Description, and Image
- Supports image upload (requires FoF Upload) or external URLs
- Vote Adjustment: Manually adjust displayed vote counts (+/-)
- Reorder nominees within categories
Suggestions Tab
- Review pending user suggestions
- Approve: Create as new nominee (user automatically votes for it)
- Reject: Decline the suggestion
- Merge: Combine with existing nominee (user's vote transfers)
Settings Tab
- Navigation Title: Customize sidebar text
- Navigation Icon: Set FontAwesome icon class
- Votes Per Category:
0= unlimited,1= single vote (replace),N= max N votes
π― Use Cases
Gaming Communities
- Annual Game Awards (GOTY, Best Indie, Best Soundtrack)
- Community Choice awards for favorite content creators
- Seasonal tournament MVP voting
Entertainment Forums
- Best TV Series / Movie of the year
- Music awards (Best Album, Best Artist)
- Book of the month/year voting
Community Recognition
- Member of the Year awards
- Best Thread / Best Post awards
- Contributor recognition programs
π§ Advanced Details
Award Status Flow
Draft β Active β Ended β Published
| Status | Description |
|---|---|
| Draft | Setting up the award (only visible to admins for preview) |
| Active | Voting is open between start and end dates |
| Ended | Voting closed, admin reviews before publishing |
| Published | Results visible to everyone, all voters notified |
Voting Modes
| Mode | Setting | Behavior |
|---|---|---|
| Single Vote | 1 |
One vote per category, voting again replaces previous vote |
| Multi-Vote | 2-99 |
Up to N votes per category, cannot change after voting |
| Unlimited | 0 |
No limit on votes per category |
Note: Pending suggestions count toward the vote quota in limited modes.
Scoring System (Prediction Summary)
After results are published, users can see their prediction accuracy:
- Correct: Your vote matched the winner
- Wrong: Your vote didn't match the winner
- Score:
Correct / Total Votedcategories
Permissions
| Permission | Description |
|---|---|
| View Awards | Access the awards page |
| Vote in Awards | Cast votes for nominees |
| View Results Early | See results before publishing (for moderators) |
| Manage Awards | Full admin access to create/edit/delete |
Automated Features
- Auto Status: Active awards with passed end dates show as "ended" automatically
- Rate Limiting: 10 votes per minute to prevent abuse
- Unique Slugs: Award slugs include year for uniqueness (e.g.,
game-awards-2025) - Vote Replacement: In single-vote mode, previous vote is automatically removed
π Translations
This extension comes with English translations. Community translations are welcome!
π Support & Contributing
If you find this extension useful, consider:
- β Starring the repository on GitHub
- π¬ Leaving feedback on the Flarum discussion
- π Reporting issues on GitHub
- π Contributing translations
License
MIT License - see LICENSE.md
Developed with β€οΈ by HΓΌseyin Filiz