Hello There, Guest! (LoginRegister)

Latest Releases: Karma Stars - Automatic Subscriptions - Goodbye Spammer

Latest Updates: Karma Stars 1.0

Follow @mattrmybbmods on Twitter for info on releases and updates

View Plugin InformationView Plugin Licence and Download
Plugin Uploader ***** 4315 Downloads
Allows you to import .zip plugin archives directly and have the files extracted to their correct locations automatically.
Version: 1.0.1
Compatibility: 1.6.x
Files: 4 (plus 1 optional core file edit)
Database changes: 1 new table, 1 new column to one table

Information:
This plugin will allow you to import a plugin .zip or .php file directly to the ACP and have the files moved to their correct locations.

For security, a password is required when uploading a plugin.

It will try and show you screenshots of the plugin if any have been provided.

If the plugin is from the MyBB Mods site, it will check that the version you are uploading is the latest version, and if it's not, will give you the download URL for the newer version.

Allows you to delete all the files for a plugin (if the plugin was uploaded with this plugin uploader).

Supports uploading an upgraded/newer version of a plugin, and supports renamed admin directories.

Offers not to upload non-PHP root files to save clutter.


To Install:
Upload ./inc/plugins/pluginuploader.php to ./inc/plugins/
Upload ./admin/modules/config/pluginuploader.php to ./admin/modules/config/
Upload ./inc/languages/english/admin/config_pluginuploader.lang.php to ./inc/languages/english/admin/
Create folder 'temp' in ./inc/plugins/ and CHMOD to 777.
Upload ./inc/plugins/temp/test.php to ./inc/plugins/temp/
Optional (but highly recommended) core file edit: Upload ./admin/modules/config/plugins.php to ./admin/modules/config/
Go to ACP > Plugins > Install and Activate
Go to ACP > Configuration > Plugins > Upload Plugin

Change Log:
27/11/10 - v0.1 -> Initial beta release.
02/12/10 - v0.1 -> v0.2 -> Fixed bug where you may have got a blank page or PHP error when installing the plugin. Fixed bug where the tab for the Plugin Uploader wouldn't show on the Sharepoint theme and some other ACP themes. Fixed bug where the plugins list would be broken if the plugin was deactivated. Fixed bug where you'd get a PHP error if the ZipArchive class is not available. Fixed bug where plugins could run on the page showing information about the plugin. Fixed bug where not all language files would be loaded for the page showing information about the plugin. Tweaked how list of files in the plugin package is collected and stored. Warning for deleting a plugin will now show which files will be deleted. To upgrade, reupload ./inc/plugins/pluginuploader.php, ./admin/modules/config/pluginuploader.php, ./inc/languages/english/admin/config_pluginuploader.lang.php, and (optional core file edit) ./admin/modules/config/plugins.php
09/12/10 - v0.2 -> v0.3 -> Fixed bug were you'd get PHP errors on the plugins page if you have other plugins uploaded, but this is the first plugin you activated. Tweaked how it searches for the plugin file root. If the plugin is from the MyBB Mods site, it will now check the plugin version and tell you if it's out of date. Import page that shows information about the plugin will now try and find screenshots and display them as thumbnails on the information page. To upgrade, reupload ./inc/plugins/pluginuploader.php, ./admin/modules/config/pluginuploader.php, and ./inc/languages/english/admin/config_pluginuploader.lang.php
09/12/10 - v0.3 -> v0.3.1 -> Fixed bug were you'd get PHP errors if the plugin had external files as the file path was wrong. To upgrade, reupload ./inc/plugins/pluginuploader.php and ./admin/modules/config/pluginuploader.php
19/01/11 - v0.3.1 -> v0.4 -> Added a password check when uploading plugins. To upgrade, reupload ./inc/plugins/pluginuploader.php, ./admin/modules/config/pluginuploader.php, and ./inc/languages/english/admin/config_pluginuploader.lang.php. More information on this is available here: http://mattrogowski.co.uk/plugins/thread-15.html
19/01/11 - v0.4 -> v0.4.1 -> Fixed a bug where choosing to activate a plugin after importing would redirect back to the plugin uploader page. Fixed a bug where you'd get an error saying the password was wrong after choosing to import the plugin. To upgrade, reupload ./inc/plugins/pluginuploader.php and ./admin/modules/config/pluginuploader.php
07/02/11 - v0.4.1 -> v0.4.2 -> Fixed a bug where the custom plugin system class may be unavailable. Changed when the language files are temporarily uploaded in case the plugin file loads a language file outside of a function. To upgrade, reupload ./inc/plugins/pluginuploader.php and ./admin/modules/config/pluginuploader.php
14/06/11 - v0.4.2 -> v1.0 -> Added the ability to store a cookie for the plugin uploader password to save having to upload it every time you upload a plugin. Added the ability to totally disable the password check. Added support for renamed admin directories. Added support to upload a single PHP file. Fixed a bug caused by a PHP peculiarity that would mean the plugin file couldn't be found. Added a check for if files have been uploaded with an owner of nobody. Made major improvements to how files are copied/moved, including connection via FTP to move the files. More information on this can be found here: http://mattrogowski.co.uk/mybb/thread-197.html To upgrade, reupload ./inc/plugins/pluginuploader.php, ./admin/modules/config/pluginuploader.php, ./inc/languages/english/admin/config_pluginuploader.lang.php, and upload ./inc/plugins/temp/test.php to ./inc/plugins/temp/
03/12/11 - v1.0 -> v1.0.1 -> Made compatible with MyBB 1.6.5. To upgrade, reupload ./inc/plugins/pluginuploader.php

Screenshots:
Preview Image 3218Preview Image 2978Preview Image 2979Preview Image 2980Preview Image 2977
__JJ__ - 28th November 2010
This is a fantastic idea & will keep watching for updates, but I keep getting a "can't find main file" error even when trying to use it even with one of your other plugins. It also only seems to work with the default acp theme but am sure that is a simple template edit.

Is a great idea & will be trying all the versions as they come Thanks
Note: This was caused by a stupid PHP 'feature' which has been fixed.

sheldon365 - 30th November 2010
Fatal error: Call to a member function add_hook() on a non-object in public_html/inc/plugins/addforumoptions.php on line 14. What is the solution???
Note: This was an unreproducible bug which shouldn't occur anymore.

Bifford - 14th August 2011
used this for a while now - fabulous bit of plugin software! Download and install! :)

mkoontz - 7th February 2012
I ran in to a small problem for this plugin which I was able to fix. After uploading the plugin I clicked on "Install and Activate". Everything seemed to go OK. When I tried to upload a plugin it asked for the password which I hadn't had the opportunity to set. For whatever reason upon installation the proper privileges for this plugin were not given to the admin accounts.

Logged in under an account with admin privileges I clicked on "Users and Groups", "Admin Permissions", then clicked "options" next to the admin account I wanted to edit the permissions for and selected "edit permissions". When I scrolled down to the very bottom there was a choice there for "Can Upload Plugins??" It was set to "No" so I changed it to "Yes" and it allowed me to establish a password for the plugin uploader and subsequently successfully upload plugins via the plugin uploader.

However I was a little concerned because I went back in to review the permissions again and noticed that it was reset to "No". Now even though it says it is set to "No" when I go back in and review the permissions for each admin account it doesn't seem to be affecting the ability of the admin accounts to upload plugins.

The only time I see this being a problem is if someone was to modify the permissions of an admin account for something else and click on "Update Permissions" before changing the permissions for this plugin back to "Yes". Besides that small hiccup, everything is working fine and the plugins are uploading and activating seamlessly.

Great plugin, a definite time saver!