Plugin Uninstaller

SurveyBuilder-Admin
Plugin Uninstaller
SurveyBuilder-Admin Wednesday 2nd March 2022, 16:42:19

This is a plugin that will remove the plugin folder and data file that will take up storage remove it will easy access and simple select button, don't worry this plugin won't remove itself.

Download here (164KB)


Last modified by SurveyBuilder-Admin on Wednesday 2nd March 2022, 16:46:00
Software engineer, creates plugins for Flatboard, checks source codes, and answers any software errors questions and contributes on the GitHub page as well

Replies 2
Fred
Fred  Friday 4th March 2022, 17:32:58

Thank you @SurveyBuilder-Admin
I think i integrate this of the feature of Flatboard!

Last modified by Fred on Friday 4th March 2022, 17:33:00
  • Before ask a question, read the documentation.
  • 🎉  Featured as #1 product of the day on Product Hunt
  • Please like in alternativeto.net 👍🏻
  • ╰☆╮Flatboard╰☆╮ is a open source and community contributions are essential to project success!
  • <TextField>, my new CMS project designed by a passionate developer, for developers!
  • My last project Fast⚡︎CMS, a Flat-File cms.
  • I am currently busy 😫.

SurveyBuilder-Admin
SurveyBuilder-Admin  Friday 4th March 2022, 18:32:35

This just be a temporary plugin, until we can find a way to have every plugin to have a button being a class of btn btn-danger saying uninstall, but the hard part is changing every plugin to have that statement, unless we use JS to globally to simple it down

example:

window.addEventListener("load", function(){
let foot = document.querySelectorAll(".card-footer");
for(i=0;i<foot.length;i++){
let a = document.createElement("a");
a.href = document.querySelector(foot[i]+".a").href + "/uninstall"; // or remove
let unin = document.createElement("button");
unin.class="btn btn-danger";
unin.innerHTML = "<i class=\"fas fa-trash-alt\"></i>Uninstall";
a.appendChild(unin);
foot[i].appendChild(a);
}
}, 0);


Maybe this works, I will try it later.
Software engineer, creates plugins for Flatboard, checks source codes, and answers any software errors questions and contributes on the GitHub page as well