Upgrades plugin – create blog

Is it possible to get a function for the Upgrades plugin which requires payment to create a blog in the first place?

Thanks!

  • haidn
    • New Recruit

    Fair enough. I have a couple more questions, though:

    1. The plugin description mentioned it could be used to allow access to certain plugins; how would I enable that?

    2. I believe there was also mention of this plugin working with The Who Sees Ads plugin; again, any suggestions?

    3. If a user purchases a 1GB increase in space and then during their subscription purchases a 5GB increase in space, do the credits get prorated and used toward the new account? Do they just lose all of the credits they hadn’t used? Etc.

    Thanks!

  • Andrew
    • Champion of Loops

    Hiya,

    1. The plugin description mentioned it could be used to allow access to certain plugins; how would I enable that?

    You have to modify plugins and add a bit of code. Look at the plugins provided with the upgrades plugin for examples:

    2. I believe there was also mention of this plugin working with The Who Sees Ads plugin; again, any suggestions?

    There isn’t actually built in support for WSA. What you have to do is use the ad removal plugin that comes with the upgrades plugin. Use the function upgrades_show_ads() to show or hide the ads:

    if ( upgrades_show_ads() == 1 ) {
    AD CODE GOES HERE
    }

    3. If a user purchases a 1GB increase in space and then during their subscription purchases a 5GB increase in space, do the credits get prorated and used toward the new account? Do they just lose all of the credits they hadn’t used? Etc.

    Credits do not get prorated. If a user subscribes to one package and then subscribes to another it’s just handled as two separate subscriptions.

    Thanks,

    Andrew

  • Andrew
    • Champion of Loops

    Hi,

    If a user has filled their storage with files and their subscription expires, what happens to the pictures?

    All uploaded files will remain intact. The user just won’t be able to upload additional files unless they delete enough files to get their usage down.

    Also, are email reminders sent out to users with soon-to-expire subscriptions?

    Not at the moment.

    Thanks,

    Andrew

  • haidn
    • New Recruit

    Hi Andrew,

    I’m attempting (and being successful in some cases) to code most of the functions I want myself. Just a quick plea for advice though: any ideas on how to run an upgrade function only once but stay persistent–that is, run only when a user subscribes to it? Yes, unclear, but the example will help (I hope).

    E.g. What I’m trying to get working is an additive storage space solution (buy 1gb ADDITIONAL space, say–rather than 1gb TOTAL (and, possibly, be able to purchase this as many times as you wish)), but my function currently adds said space every time a page is visited, given that it’s automatically loaded with every page. Suggestions?

    Thank you so much.