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.

Idea

The idea came from the Hacker News model
https://news.ycombinator.com/

Contact

You can also contact me if you wish to pay something to develop the flarum extension.
Email: th9th@th9th.com

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.

    Nice! Any screenshots for what this looks like in practice?

      shebaoting

      I suspect the confusion comes from it being called "Extract from the original web site" perhaps something like, "Create a linked post" would be better understood by English speakers, just a thought.

      Great extension, look forward to seeing how it evolves over time.

      24 days later

      How can we discuss any repost thread?

      a month later

      Hello,

      Why url disappears from discussion list after someone reply into discuss, how i can stop that ?

      tnx

      2 months later

      I don't understand the meaning of this extension. It just added an external link to the discussion list?

        14569 It's to make the flarum discussions work like hackernews https://news.ycombinator.com where when you click on the discussion title it will take you to the shared website link instead of the discussion. to access the discussion you would need to click on any other part of the discussion "card" (like under the title). you can see how it works in the author's website here : https://wyz.xyz