Skip to content

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

Notifications You must be signed in to change notification settings

giffgaff/flarum-discussion-views

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

99 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Flarum discussion views

This is an extension for the flarum forum software where you can enable and track how much 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

  • Obviously tracks how much a discussion has been viewed and displays it per discussion on the discussionlist
  • Adds 2 sorting options: popular and unpopular
  • Adds 1 event which developers can listen for: DiscussionWasViewed
  • Adds 1 new permission where people can (re)set the viewcount of a discussion (default to admins)

Media

Normal:

image

Smaller screens:

Imgur

Reset the view count

Imgur

Extension settings

Imgur

Viewlist

Imgur

About

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

Topics

Resources

Stars

Watchers

Forks

Packages

No packages published

Languages

  • PHP 51.5%
  • JavaScript 44.2%
  • CSS 4.3%