7430 pointsLike some sort of WPMU DEV God"Mindblowingly helpful memberLifetime member
Andrew
Erstwhile founder
—
2nd January 2008 (4 years ago)
A new version of the Premium Lite plugin is now available. The new version includes a new Quota plugin that is 1.3 compatible as well as other 1.3 compatibility fixes.
7430 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Erstwhile founder
—
2nd January 2008 (4 years ago)
#
A new version of the Premium Lite plugin is now available. The new version includes a new Quota plugin that is 1.3 compatible as well as other 1.3 compatibility fixes.
thanks! but I found Quota tab is gone with this new build. Compare with the old build, some lines are removed on the new quota.php, the following is one of them, is that the reason?
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
3rd January 2008 (4 years ago)
#
Not sure if this is the answer but that bar chart was showing up in 2 places. That one was the upload tabs within the Write Post/Page page. It also shows up in the Dashboard.
Andrew, how about an option for allowing those who pick up the space quota upgrade to be allowed to upload additional file types?
"Not sure if this is the answer but that bar chart was showing up in 2 places. That one was the upload tabs within the Write Post/Page page. It also shows up in the Dashboard."
- yeah, on the old build, it shows in these 2 places, but it is gone on the new build.
"Andrew, how about an option for allowing those who pick up the space quota upgrade to be allowed to upload additional file types? "
- this is a really good idea to convince users to upgrade, it is great if Andrew could make it possible, I am waiting for good news :)
I can not find the quota tab anywhere now, do you mean the text quota description on Dashbord? it is a default mu function, not from this plugin, I think a graphic quota information is better, like the previous build, why removed it?
7430 pointsLike some sort of WPMU DEV GodMindblowingly helpful memberLifetime member
Erstwhile founder
—
3rd January 2008 (4 years ago)
#
The Quota plugin does not display the available/used space anywhere with the latest version because wpmu displays this information by default.
If you really liked the quota tab you can grab the code from a previous version and toss it into a new plugin. However, a lot of the upload related filters and actions changed so it may need a few edits to get it to work.
I just had an idea. Would you entertain adding a "gifting" credits addition to the Premium framework? That way users can pass credits along to others as a gift or allows the admin to give themselves credits (without buying them) to give away to key users without any direct DB action.
6593 pointsLike some sort of WPMU DEV GodExceptionally helpfulLifetime member
Keeper of the Dark Chocolate
—
18th April 2008 (4 years ago)
#
Re: the upload file type filter.
Andrew, it looks like the filter name is upload_mimes. It's found in a couple of places in the code.
The filter is created within wpmu-functions at line 1592 in the r1250 download. That's where the allowed filetypes are pulled from the database. Function name is check_upload_mimes
I have to admit though that considering it's using arrays, my writing a plugin to override the settings is a bit beyond me.
It doesn't look like quota.php wants to play right for me on WP 1.5 RC, so I had to disable it for now. As well, I was wondering if there are a few "basic" things that could be added to this plugin:
1) Some sort of administration area that the WPMU admin can sort users with packages purchased and upcoming expiry dates. Simple deal to total income as well as keep track of what packages are expiring.
2) Some sort of email function that sends a user a reminder email when they are approaching expiry or use something like the "admin message" interface to warn users of expiry.
If either or both of these things could be added, it would be so much more useful and I really hope that you can consider it Andrew. I am sure you have something on the one you are using now.
I am sure you have something on the one you are using now.
Actually we don't.
2) Some sort of email function that sends a user a reminder email when they are approaching expiry or use something like the "admin message" interface to warn users of expiry.
I'll look into this one. It will most likely be a message in the admin panel.
It doesn't look like quota.php wants to play right for me on WP 1.5 RC
Thanks Andrew. All I was getting is the following:
[Mon Apr 28 18:04:24 2008] [error] [client x.x.x.x] PHP Fatal error: Call to undefined function premium_register_feature() in /var/www/httpdocs/wp-content/mu-plugins/quota.php on line 20
The rest of the premium plugins I am using (ones I am using) seem to be working fine ;) I had the error and disabled it right away and just looked at the error in depth just now :)
Responses (19)
Member — 3rd January 2008 (4 years ago) #
thanks! but I found Quota tab is gone with this new build. Compare with the old build, some lines are removed on the new quota.php, the following is one of them, is that the reason?
"add_filter('wp_upload_tabs', 'quota_upload_tab_plug');"
Keeper of the Dark Chocolate — 3rd January 2008 (4 years ago) #
Not sure if this is the answer but that bar chart was showing up in 2 places. That one was the upload tabs within the Write Post/Page page. It also shows up in the Dashboard.
Andrew, how about an option for allowing those who pick up the space quota upgrade to be allowed to upload additional file types?
Member — 3rd January 2008 (4 years ago) #
"Not sure if this is the answer but that bar chart was showing up in 2 places. That one was the upload tabs within the Write Post/Page page. It also shows up in the Dashboard."
- yeah, on the old build, it shows in these 2 places, but it is gone on the new build.
"Andrew, how about an option for allowing those who pick up the space quota upgrade to be allowed to upload additional file types? "
- this is a really good idea to convince users to upgrade, it is great if Andrew could make it possible, I am waiting for good news :)
Erstwhile founder — 3rd January 2008 (4 years ago) #
The available space information is now visible on the dashboard as well as the "Upload" tab. Therefore, the additional tab is no longer needed.
Andrew, how about an option for allowing those who pick up the space quota upgrade to be allowed to upload additional file types?
Which file types did you have in mind. I haven't thought about it before but i'm sure there's a filter for file types.
Thanks,
Andrew
Keeper of the Dark Chocolate — 3rd January 2008 (4 years ago) #
Making them settable by admin would probably be best.
Here's the faq at the Site That Must Not Be Named:
http://faq.wordpress.com/2006/05/07/what-filetypes-can-i-upload/
They allow *.doc's to be uploaded on a standard account? Are they nuts?
Member — 3rd January 2008 (4 years ago) #
I can not find the quota tab anywhere now, do you mean the text quota description on Dashbord? it is a default mu function, not from this plugin, I think a graphic quota information is better, like the previous build, why removed it?
Erstwhile founder — 3rd January 2008 (4 years ago) #
The Quota plugin does not display the available/used space anywhere with the latest version because wpmu displays this information by default.
If you really liked the quota tab you can grab the code from a previous version and toss it into a new plugin. However, a lot of the upload related filters and actions changed so it may need a few edits to get it to work.
Thanks,
Andrew
Member — 3rd January 2008 (4 years ago) #
got it, thanks!
Member — 6th February 2008 (4 years ago) #
I just had an idea. Would you entertain adding a "gifting" credits addition to the Premium framework? That way users can pass credits along to others as a gift or allows the admin to give themselves credits (without buying them) to give away to key users without any direct DB action.
Thoughts?
Trent
Erstwhile founder — 6th February 2008 (4 years ago) #
We've actually already added all of that into the Premium plugin. However it won't be making it into the Premium Lite plugin.
The Premium plugin is basically an extended version of the Premium Lite plugin that we only offer to Incsub clients.
Thanks,
Andrew
Keeper of the Dark Chocolate — 18th April 2008 (4 years ago) #
Re: the upload file type filter.
Andrew, it looks like the filter name is upload_mimes. It's found in a couple of places in the code.
The filter is created within wpmu-functions at line 1592 in the r1250 download. That's where the allowed filetypes are pulled from the database. Function name is check_upload_mimes
I have to admit though that considering it's using arrays, my writing a plugin to override the settings is a bit beyond me.
Member — 3rd May 2008 (4 years ago) #
It doesn't look like quota.php wants to play right for me on WP 1.5 RC, so I had to disable it for now. As well, I was wondering if there are a few "basic" things that could be added to this plugin:
1) Some sort of administration area that the WPMU admin can sort users with packages purchased and upcoming expiry dates. Simple deal to total income as well as keep track of what packages are expiring.
2) Some sort of email function that sends a user a reminder email when they are approaching expiry or use something like the "admin message" interface to warn users of expiry.
If either or both of these things could be added, it would be so much more useful and I really hope that you can consider it Andrew. I am sure you have something on the one you are using now.
Trent
Erstwhile founder — 3rd May 2008 (4 years ago) #
I am sure you have something on the one you are using now.
Actually we don't.
2) Some sort of email function that sends a user a reminder email when they are approaching expiry or use something like the "admin message" interface to warn users of expiry.
I'll look into this one. It will most likely be a message in the admin panel.
It doesn't look like quota.php wants to play right for me on WP 1.5 RC
What sort of errors/problems were you having?
Thanks,
Andrew
Member — 3rd May 2008 (4 years ago) #
Thanks Andrew. All I was getting is the following:
[Mon Apr 28 18:04:24 2008] [error] [client x.x.x.x] PHP Fatal error: Call to undefined function premium_register_feature() in /var/www/httpdocs/wp-content/mu-plugins/quota.php on line 20The rest of the premium plugins I am using (ones I am using) seem to be working fine ;) I had the error and disabled it right away and just looked at the error in depth just now :)
Trent
Erstwhile founder — 3rd May 2008 (4 years ago) #
Very odd. I can't think of any reason off the top of my head that the quota code would be executed before the premium code. I'll look into it.
Thanks,
Andrew
Keeper of the Dark Chocolate — 4th May 2008 (4 years ago) #
Maybe the quota plugin is loading before the premium plugin? Trent, you haven't been renaming file,s have you?
Member — 5th May 2008 (4 years ago) #
No file name changes ;) What is weird is that it worked 100% before moving to 1.5 and the rest of the plugins that I put in work now, just not quota.
Trent
Keeper of the Dark Chocolate — 5th May 2008 (4 years ago) #
I remember a issue about priorities coming up recently. Haven't looked into this setting much and the ticket didn't come my way.
http://codex.wordpress.org/Function_Reference/add_action
Erstwhile founder — 5th May 2008 (4 years ago) #
I've got to updated the premium plugin for 1.5 so I'll fix the problem then.
Thanks,
Andrew
Become a member