Skip to content

Flarum extension to manage deleted (hidden) discussions.

License

Notifications You must be signed in to change notification settings

WalsGit/recycle-bin

Repository files navigation

Recycle Bin

License Latest Stable Version Total Downloads Donate here

A Flarum extension to manage deleted (hidden) discussions and posts.

Screenshot

With Recycle Bin you can:

  • list all hidden discussions and posts
  • restore (unhide) a hidden discussion or post
  • forever delete a hidden discussion or post (remove from db)
  • Mass restore & delete discussions or posts

🐞 Known issues :

  • Search filter for discussions only works with complete words (returns a empty list for partial words) and isn't limited to discussion titles but also returns discussions where the searched word is found in its messages (replies) too.
  • Mass restore or delete need a full page refresh to update de list and total number of hidden discussions (the page refresh is implemented but it's not ideal, you'll have to wait for it after confirming your mass action)

Notes

  • This is my very first Flarum extension
  • Developed and tested on Flarum 1.8.5 (v 0.2 of the extension dev. & tested on Flarum 1.8.9)
  • Extention settings page is based on the core UserListPage.tsx (Users settings page).
  • Developped this with the help of AI (mainly ChatGPT, Cody & Gemini)

Installation

Install with composer:

composer require walsgit/recycle-bin:"*"

Updating

composer update walsgit/recycle-bin:"*"
php flarum migrate
php flarum cache:clear

Links

About

Flarum extension to manage deleted (hidden) discussions.

Resources

License

Stars

Watchers

Forks

Packages

No packages published