flarumite / simple-discussion-views
Add view counts to discussions
Installs: 45 067
Dependents: 0
Suggesters: 1
Security: 0
Stars: 3
Watchers: 2
Forks: 6
Open Issues: 4
Type:flarum-extension
- dev-master
- 1.2.4
- 1.2.3
- 1.2.2
- 1.2.1
- 1.2.0
- 1.1.6
- 1.1.5
- 1.1.4
- 1.1.3
- 1.1.2
- 1.1.1
- 1.1.0
- 1.0.6
- 1.0.5
- 1.0.4
- 1.0.3
- 1.0.2
- 1.0.1
- 1.0.0
- 0.3.0
- 0.2.4
- 0.2.3
- 0.2.2
- 0.2.1
- 0.2.0
- 0.1.1
- 0.1.0
- dev-dependabot/npm_and_yarn/js/babel/helpers-7.27.0
- dev-dependabot/npm_and_yarn/js/babel/runtime-7.27.0
- dev-dependabot/npm_and_yarn/js/cross-spawn-7.0.6
- dev-im/fof
- dev-beta16
- dev-beta13
This package is auto-updated.
Last update: 2025-03-28 13:43:22 UTC
README
Flarumite Simple Discussion Views
This is a maintained fork of michaelbelgium/flarum-discussion-views, largely based on the now removed v0.1.0-beta.8.3
tagged release.
Why?
One of the Flarum forums I manage, needed a lightweight discussion view tracker, with minimal settings and options. Turn it on and forget about it, so to speak.
Features
- Tracks how many times a discussion has been viewed and displays it per discussion on the discussionlist. Note: does not track unique views, rather every view, both as guest and registered member
- Adds 2 sorting options: popular and unpopular
- Adds 1 event which developers can listen for:
DiscussionWasViewed
- includes accessor IP and UserAgent strings - Adds 1 new permission where people can (re)set the viewcount of a discussion (default to admins)
- Uses
view_count
column created on thediscussions
table, so should not impact load performance - Identify known crawlers with an option to not increase the view count for their visit. Uses jaybizzle/crawler-detect for identification
Installation
composer require flarumite/simple-discussion-views:"*"