shebaoting/repost

A Flarum extension that redirects to the original URL if specified when posting.

Installs: 369

Dependents: 0

Suggesters: 0

Security: 0

Stars: 0

Watchers: 1

Forks: 0

Open Issues: 0

Type:flarum-extension

0.4.0 2024-08-30 16:09 UTC

This package is auto-updated.

Last update: 2024-11-30 16:50:31 UTC


README

License Latest Stable Version Total Downloads

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

  1. When creating a new post, simply start the post content with a valid URL.
  2. Once posted, the discussion will appear as an external link in the discussion list.
  3. 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.