michaelbelgium / flarum-discussion-views
Add views to flarum discussions
Package info
github.com/MichaelBelgium/flarum-discussion-views
Type:flarum-extension
pkg:composer/michaelbelgium/flarum-discussion-views
Fund package maintenance!
Requires
- php: ^8.4
- flarum/core: ^2.0.0-rc.1
- jaybizzle/crawler-detect: ^1.2
Requires (Dev)
- fof/merge-discussions: ^2.0
Suggests
None
Provides
None
Conflicts
Replaces
None
- dev-master
- v8.1.0
- v8.0.1
- v8.0.0
- 7.x-dev
- v7.4.2
- v7.4.1
- v7.4
- v7.3
- v7.2.3
- v7.2.2
- v7.2.1
- v7.2
- v7.1.3
- v7.1.2
- v7.1.1
- v7.1.0
- v7.0.1
- v7.0.0
- v6.0.1
- v6.0.0
- v5.0.1
- v5.0.0
- v4.0.2
- v4.0.1
- v4.0.0
- v3.2.0
- v3.1.0
- v3.0.1
- v3.0.0
- v2.0.3
- v2.0.2
- v2.0.1
- v2.0.0
- v1.3.1
- v1.3.0
- v1.2.1
- v1.2.0
- v1.1.0
- v1.0.1
- v1.0.0
- dev-performance
This package is auto-updated.
Last update: 2026-11-14 14:33:03 UTC
README
This is an extension for the flarum forum software where you can track how many times a discussion has been viewed.
Installation
Execute this command in your flarum root: composer require michaelbelgium/flarum-discussion-views
Update
Execute these commands to update the extension.
composer update michaelbelgium/flarum-discussion-views
php flarum migrate
php flarum cache:clear
Translations
If you would like to translate this extension to your language, make a PR in the corresponding language pack.
Features
- Tracks how much a discussion has been viewed and displays it on a discussion page
- Plenty of extension settings
- Adds 2 sorting options: popular and unpopular
- Adds an event which developers can listen for:
DiscussionWasViewed - Adds new permissions:
- Reset the viewcount of a discussion (default to admins)
- View the viewcount of a discussion (default to admins)
- View the sidebar and footer viewlists of a discussion (default to everyone)
Media
Normal:
Smaller screens:
Reset the view count
Extension settings
Viewlist
Footer viewlist