Confirm plugin uninstallation

Many plugin developers tend to run their uninstallation routines without questioning. It may not big issue after all, I mean, the user is logged in so no security check are really necessary. But, how many of you (developers) tend to mistakenly uninstall a plugin? Probably not many, but I have come across that.. Now make the same question about regular administrators.

It is actually not hard to add a confirmation page at all, just around 20 lines of code right before our original code. A example is found below.


There it is, rather simple isn't? Removing the comments there is really few code being added to the plugin file.

Also note that this is part of the update to the Hello! plugin being added to the upcoming versions of MyBB.

I hope it is of some use for you.

MyBB 1.8 Beta 1 - Looking Forward to the Future


Surprisingly enough.

Feels like years since I started using the MyBB forum software for my personal projects, and frankly, it has. Today marks a important point on MyBB history, with MyBB 1.8 Beta 1 released after a long two years of await. MyBB 1.8 has been under continuous and effortful work from the official team as well as from the community the past few months (and quite probably far beyond).

I have joined the support team over at the official community and the MyBB-es community past back on 2012. Have been a plug-in developer since pretty much the same year and just recently joined the development team of the MyBB software. My eager to keep contributin back to the project keeps growing.

Let it be as a software to use on personal projects (pretty much every freely share, I use it) or as a source of occasional income I do have great interest on MyBB as my forum of choice when it comes to a forum or CMS (yes, I do use it as a CMS) software. So yes, I'm looking forward to the future - which seems promising - of MyBB as my software of preference Smile.

Looking forward to the future of this site as well!

Current time: 31 Mar, 2025, 1:44 am