Repost

Repost shebaoting/repost

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

Repost

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.

Versions

  • Version 0.4.0.

    Likely works with Flarum v1.8.5.

  • Extension created.