Archive for category WPMU
Premium Blogs v0.5
This plug-in is not currently being actively developed by me. Aspects of it may still work, but I believe overall that it is no longer usable in current versions of WPMU. I will update this page if/when it is developed again.
I have revisited some code from a few months ago and written a revised version of ‘Premium Blogs’ for WPMU.
The new version tidies a few things up, and adds support for premium theme control.
This has been tested again the latest SVN revisions of WPMU, but should work against earlier versions also.
The next version will offer premium blog options, allowing for adjusting settings for many plugin options for premium blogs (like my Z-Space Uploads plugin for example).
Another plan is to create a ‘module’ structure, to allow for addition of other premium features.
You can download the file here:
Premium Blogs v0.5
WPMU: Premium Blogs
I’ve started writing a plugin for WPMU to allow the management of a ‘premium blog’ option that will control plugin availablity, disble ads and other things.
It’s a long way from done, but I figured I’d post my very early beta here for feedback. This represents only a few hours of work so far, so it has a long way to go, but hopefully you can get an idea of where I am going with it.
It currently consists of three files.
- premium-blog.php - to be placed in /wp-content/mu-plugins
- premium.php - to be placed in /wp-admin
- premium-plugins.php - to be placed in /wp-admin
Also, one line needs to be added to /wp-admin/plugins.php - it is detailed in the comments at the top of premium-plugins.php
In it’s current state it allows a site admin to define premium blogs (through the Site Admin -> Blogs -> Edit interface) and then can manage the plugins available to users (only the plugin management menu, if they are already activated it will not deactivate them).
It also offers the function premiumBlogs::isPremium() which can be called from a theme for example to conditionally include (or exclude) content (such as AdSense code or something).
My immediate plans include:
- Auto de-activate disallowed plugins from non-premium blogs.
- Allow ad management - define code to be used for ads, then simply call premiumBlogs::ad($id) to display that ad in a theme for non-premium blogs.
It should also be possible to make it set arbitary settings for premium blogs (larger upload space in conjuction with my Z-Space plugin perhaps?).
What else?
Download:
Premium Blogs - v0.1a
Z-Space Upload Quotas
Having just written the Total Upload Space Remaining v2.0 plugin, I suddenly decided I could do better.
So I’ve now written a new plugin that takes the place of both the Total Upload Space Remaining plugin, and the User Space plugin - allowing for one plugin to manage upload quotas on a per-blog basis, as well as provide a nicely configurable visual feedback to the blog admins.
Anyway, it’s available on WPMUDEV if you’re into that sort of thing.
Total Upload Space Remaining v2.0
As I am looking at using WPMU for an upcoming project, I have been looking through some of the plugins available for WPMU specifically.
One of the plugins I found useful was Total Upload Space Remaining by Dr. Mike, but I found it wasn’t compatible with the Upload Space plugin, so I addresse that to make the two play happily together.
Also, it wasn’t really visually right for me, and was reliant on images, which I felt was unnecessary for what it was doing (a basic bar graph).
My new version features a CSS-styled graph based on simple DIVs. It is also quite configurable.
It is available for download from the WPMU Project page:
Total Upload Space Remaining v2.0