clarkwinkelmann/flarum-ext-discussion-open-position

Control how discussions are opened from the list

Installs: 727

Dependents: 0

Suggesters: 0

Security: 0

Stars: 1

Watchers: 2

Forks: 0

Open Issues: 0

Language:TypeScript

Type:flarum-extension

1.1.0 2022-12-05 22:34 UTC

This package is auto-updated.

Last update: 2024-12-06 02:58:39 UTC


README

MIT license Latest Stable Version Total Downloads Donate

This extension controls the position (scroll/"page") at which a discussion is opened when selected in the discussion list.

This is done through a new preference that controls when a discussion should be "opened at last read post":

  • Always (Flarum built-in default)
  • Only when there are unread posts
  • Never = Always open discussion at the top

You can configure a global default in the admin panel and users can change it via their preferences.

The optional "Prompt" setting is experimental. It shows a message in the discussion allowing the user to change their preference on the first visit. Unfortunately the message is very long, so it's not very user-friendly.

Installation

composer require clarkwinkelmann/flarum-ext-discussion-open-position

Support

This extension is under minimal maintenance.

It was developed for a client and released as open-source for the benefit of the community. I might publish simple bugfixes or compatibility updates for free.

You can contact me to sponsor additional features or updates.

Support is offered on a "best effort" basis through the Flarum community thread.

Sponsors: puppydreamwork

Links