Invite codes - wanted for one subscription, not others

Hi All

I'm setting up a site with Membership Premium for the first time. There will be two subscriptions, one of which requires an invite code and the other doesn't. As far as I can see the invite codes are at site level, not subscription level. Is this right? Can I do anything about this fairly easily?

Thanks!

  • DavidM
    • DEV MAN’s Mascot

    Hi penelopeelse and welcome to WPMU DEV!

    It might be somewhat simple for a developer to add in a feature to make available a particular subscription if an invite code is entered, though it would require a developer's assistance.

    To help get started with that, you could take a look at the code for that in the plugin folder as follows:
    /membershipincludes/plugins/simple.invitecodes.php

    And specifically, the function M_AddSimpleInviteFieldProcess() will be of interest as it's where the invite field is actually processed.

    Cheers,
    David

Thank NAME, for their help.

Let NAME know exactly why they deserved these points.

Gift a custom amount of points.