Currently 18:28:00 GMT

(Login | Register)

Owner: Sycophant

Type: WPMU Plugin

Created: 2007-02-04 10:11:50

Last Modified: 2007-02-04 10:11:50


z-space.php (1551 download(s))

This plugin replaces the Upload Space and Total Upload Space Remaining plugins. Z-Space Uload Quotas allow a site administrator to set the upload quota of a per-user basis, as well as providing quota usage details to blog admins on their Dashboard (or anywhere else you want it). Features:

Instructions:
  1. Place z-space.php in the mu-plugins directory.
  2. Call zspace_details() from the wp-admin/index.php file (ideally under the _e('Latest Activity') line).
  3. Configure plugin through 'Options' menu on main blog backend.



Posted 2007-02-11 06:04:20 by curnew.

I followed all steps to install this plugin. However, when I specify the line in Step 2, I get an error message, "PHP Fatal error: Call to undefined function: zspace_details() "


Posted 2007-02-19 16:46:19 by johnweb.

doesn't seem to override the existing filter in misc.php remove_filter("pre_upload_error", "upload_is_user_over_quota" ); Your blog users will see a graph showing a different upload allocation, but the limit is still set by the global setting. Doesn't work.


Posted 2007-02-19 16:46:35 by johnweb.

doesn't seem to override the existing filter in misc.php remove_filter("pre_upload_error", "upload_is_user_over_quota" ); Your blog users will see a graph showing a different upload allocation, but the limit is still set by the global setting. Doesn't work.


Posted 2007-03-11 00:39:04 by AmO.

Add this line : add_action('activity_box_end', 'zspace_details'); For add your plugin in the 'Latest Activity' section Good job.


Posted 2007-03-11 01:21:16 by AmO.

And please... fix the internationalisation with the same domain for _e() & __() Thanks !


Posted 2007-04-24 14:06:14 by eclipseguru.

I know that links are not liked, however, I fixed the plug-in to make it working with WPMU 1.2.1 and to make the localization working without the text domain. https://wagenknecht.org/svn/public/opensource/wpmu/mu-plugins/z-space.php


Posted 2007-04-24 14:06:15 by eclipseguru.

I know that links are not liked, however, I fixed the plug-in to make it working with WPMU 1.2.1 and to make the localization working without the text domain. https://wagenknecht.org/svn/public/opensource/wpmu/mu-plugins/z-space.php


Posted 2007-06-11 22:36:45 by kennibc.

I had an error where this plugin would not work. It turns out the permissions on the actual file were set to "No Access" on the server. Mac OSX server. Changed the permissions and it worked fine. Hope this helps someone in the future. I changed it to read only and it worked. Great Plugin. -Chris


Posted 2007-06-26 18:21:27 by kennibc.

I just upgraded the blogs to version 1.2.3. and this plugin doesn't seem to work anymore. Is there a trick when upgrading?


Posted 2007-07-20 07:55:53 by nims.

Doesnt work for me too for wpmu 1.2.3


Posted 2007-08-04 19:31:37 by drmike.

The fix appears to be to remove lines 45 to 54, the Amanzi Upload Space plugin transfer bit.


Posted 2007-08-11 13:36:38 by SinusCom.

don't work on wpmu 1.2.4 ( error on division by zero ) Warning: Division by zero in /home/www/wp-content/mu-plugins/z-space.php on line 145 some have a fix plz ?


Posted 2007-09-04 11:39:46 by mrq.

Check the MU forums sinuscom: do you have gd2 lib? (graphic library)


Posted 2007-09-27 13:30:58 by MrWize.

Just download it and installed on my WPMU 1.2.5. I can't change quotas on blogs. If I do, it will then say: falsevalue and a division by zero error occure on dashboard where the quota info are located.


Posted 2007-10-25 19:44:47 by JD.

The "Division by 0" error is because the main upload quota hasn't been set. Go to your options page and set it in there and you'll see that the error goes away.


You must be registered and logged in to post comments. Not registered? Click here to get your free account!