Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/clarkwinkelmann/flarum-ext-discussion-open-position
Control how discussions are opened from the list
https://github.com/clarkwinkelmann/flarum-ext-discussion-open-position
Last synced: about 1 month ago
JSON representation
Control how discussions are opened from the list
- Host: GitHub
- URL: https://github.com/clarkwinkelmann/flarum-ext-discussion-open-position
- Owner: clarkwinkelmann
- License: mit
- Created: 2022-06-09T21:13:29.000Z (over 2 years ago)
- Default Branch: main
- Last Pushed: 2022-12-05T22:37:16.000Z (almost 2 years ago)
- Last Synced: 2024-09-10T13:38:51.005Z (2 months ago)
- Language: TypeScript
- Homepage: https://discuss.flarum.org/d/31153
- Size: 83 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE.txt
Awesome Lists containing this project
README
# Discussion Open Position
[![MIT license](https://img.shields.io/badge/license-MIT-blue.svg)](https://github.com/clarkwinkelmann/flarum-ext-discussion-open-position/blob/main/LICENSE.txt) [![Latest Stable Version](https://img.shields.io/packagist/v/clarkwinkelmann/flarum-ext-discussion-open-position.svg)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-discussion-open-position) [![Total Downloads](https://img.shields.io/packagist/dt/clarkwinkelmann/flarum-ext-discussion-open-position.svg)](https://packagist.org/packages/clarkwinkelmann/flarum-ext-discussion-open-position) [![Donate](https://img.shields.io/badge/paypal-donate-yellow.svg)](https://www.paypal.me/clarkwinkelmann)
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 topYou 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](https://clarkwinkelmann.com/flarum) to sponsor additional features or updates.
Support is offered on a "best effort" basis through the Flarum community thread.
**Sponsors**: puppydreamwork
## Links
- [GitHub](https://github.com/clarkwinkelmann/flarum-ext-discussion-open-position)
- [Packagist](https://packagist.org/packages/clarkwinkelmann/flarum-ext-discussion-open-position)
- [Discuss](https://discuss.flarum.org/d/31153)