shebaoting / repost
A Flarum extension that redirects to the original URL if specified when posting.
Installs: 256
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 0
Open Issues: 0
Type:flarum-extension
Requires
- flarum/core: ^1.2.0
Requires (Dev)
- flarum/testing: ^1.0.0
This package is auto-updated.
Last update: 2024-10-30 16:43:01 UTC
README
Repost is a Flarum extension that enhances your forum by allowing posts that start with a URL to be treated as external links. When users click on such posts from the discussion list, they will be redirected to the external URL. However, users can still participate in discussions within the forum thread about the linked content.
Installation
To install the extension via Composer, run the following command:
composer require shebaoting/repost:"*"
php flarum migrate
php flarum cache:clear
Updating
To update the extension, use the following commands:
composer update shebaoting/repost:"*"
php flarum migrate
php flarum cache:clear
Usage
- When creating a new post, simply start the post content with a valid URL.
- Once posted, the discussion will appear as an external link in the discussion list.
- Clicking the discussion will redirect users to the specified URL, while still allowing for discussion within the forum.
Links
License
This extension is open-sourced software licensed under the MIT license.