Updated: Premium Lite

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,

Andrew

  • italways2
    • Design Lord, Child of Thor

    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’:wink:;”

  • drmike
    • DEV MAN’s Mascot

    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?

  • italways2
    • Design Lord, Child of Thor

    “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 :slight_smile:

  • Andrew
    • Champion of Loops

    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

  • italways2
    • Design Lord, Child of Thor

    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?

  • Andrew
    • Champion of Loops

    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

  • trent
    • Site Builder, Child of Zeus

    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

  • Andrew
    • Champion of Loops

    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

  • drmike
    • DEV MAN’s Mascot

    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.

  • trent
    • Site Builder, Child of Zeus

    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

  • Andrew
    • Champion of Loops
      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

  • trent
    • Site Builder, Child of Zeus

    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 :wink: I had the error and disabled it right away and just looked at the error in depth just now :slight_smile:

    Trent