Skip to content

About

An extension for the Flarum forum software which tracks and displays discussion views.

Topics

Resources

Stars

29 stars

Watchers

2 watching

Forks

Latest commit

 

History

219 Commits

Folders and files

Repository files navigation

Flarum discussion views

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:

image

Smaller screens:

Imgur

Reset the view count

Imgur

Extension settings

Imgur

Viewlist

Imgur

Footer viewlist

Imgur imgur

About

An extension for the Flarum forum software which tracks and displays discussion views.

Topics

Resources

Stars

29 stars

Watchers

2 watching

Forks

Releases

Sponsor this project

Packages

Contributors

Languages