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.

Screenshot

With Recycle Bin you can:

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

🐞 Known issues :

  • Search filter 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 cofirming your mass action)

Notes

  • This is my very first Flarum extension
  • Developed and tested on Flarum 1.8.5
  • 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