I have a need to use s2member in a "non-monetary" mode, meaning that I want to use the convenient access level controls of 0, 1, 2, 3, and 4, but do not want to require any form of payment/monetary transaction for a user to achieve a certain access level. Instead, I want access to be set based on their entry of an invitation code that I would provide select users (clients that we are engaged with thru other channels, who we would allow to receive premium content as a perk). This invitation code could be entered by the user at registration or later by entering it into a special invitation code field in their profile, for example. I envision creating a script that checks for invitation codes in their profile field, and then sets the official s2member access level accordingly (there would be one or more unique codes per level). Then, they would have access to all content set for that level, and all lower levels, just as s2member is intended to work. The problem is, I have found no mention of being able to set the access levels for a user through php scripts (without the need for a paypal or some other payment transaction).
Can this be done? There would seem to be a need for this by people like me, but I'm amazed that I've found no one asking this... Again, I am not so concerned about how to set up/check invitation code entries ( I know that can be done via existing features and scripts), but rather how can I set a user to a certain access level directly via PHP?
Thanks in advance for any insights...
Doug