Community Support Forums — WordPress® ( Users Helping Users ) — 2011-02-17T18:32:27-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=2164 2011-02-17T18:32:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2164&p=6847#p6847 <![CDATA[Re: Can Access Levels be set via script? (ie., without payme]]>
Your form theory sounds interesting... I'll have to look into that.. thanks!

I did read a bit about coupon codes... as I recall, they don't quite fit the bill because they only work by reducing a paypal amount by x, but the remaining amount owed still has to be more than 0, I think.

Statistics: Posted by dougR — February 17th, 2011, 6:32 pm


]]>
2011-02-17T18:14:27-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2164&p=6843#p6843 <![CDATA[Re: Can Access Levels be set via script? (ie., without payme]]>
S2Member Pro supports coupon codes.... among the other extra capabilities.

I'm not sure if it will do what you want because I only have the free version.

*****Huge disclaimer - the ideas below this line are only a theory - and are dependent on your own coding ability/time/persistence******

you may be able to code a form that allows a member to enter a code that would triger the upgrade of their membership level.

From my understanding, the info in the forum post I linked to earlier is the equivalent to the $link that would come back from paypal after someone has purchased a subrcription (and it's encrypted which makes it a bit harder to debug)

So if you had a "please enter your code here" type form that checked the code was valid and returned the $link, it should upgrade your member's level.

**********

Of course - if the Pro version can do what you want, it would be a lot easier and quicker to buy it, instead of swearing at code :)

Cheers

Kym

Statistics: Posted by stowe39 — February 17th, 2011, 6:14 pm


]]>
2011-02-17T13:13:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2164&p=6831#p6831 <![CDATA[Re: Can Access Levels be set via script? (ie., without payme]]>
Many thanks for pointing out that post. My prior searches had been focused on "access level" and somehow that post didn't come to my attention. I think that link-based approach could be a viable workaround method for me if I can find no other way.

I am still holding out hope that s2member provides some sort of hook to allow direct "setting" of access level via my own scripted logic, as that would open up so many more customization possibilities, like my invitation code concept. It's almost as if this is not supported by design, as some sort of access level integrity/protection philosophy... Aside from that reasoning, it seems like it would be such an obvious feature to want to provide, given that the value of the plugin is centered on use of these access levels.

- Doug

Statistics: Posted by dougR — February 17th, 2011, 1:13 pm


]]>
2011-02-15T21:04:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2164&p=6765#p6765 <![CDATA[Re: Can Access Levels be set via script? (ie., without payme]]> http://www.primothemes.com/forums/viewtopic.php?f=4&t=934 (the second post shows how to implement it.)

Perhaps you could email them a direct link that enabled them to get the membership level you want them to have.... sure they could forward on the email and let other ppl sign up too, but they could do that with a code as well.

Cheers

Kym

Statistics: Posted by stowe39 — February 15th, 2011, 9:04 pm


]]>
2011-02-08T18:57:59-05:00 http://www.primothemes.com/forums/viewtopic.php?t=2164&p=6518#p6518 <![CDATA[Can Access Levels be set via script? (ie., without payments)]]>
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

Statistics: Posted by dougR — February 8th, 2011, 6:57 pm


]]>