The goal:
1. User arrives at site, registers as a subscriber, logs in.
2. The user can now post from the front end (I have this set up with my own custom code).
3. The user says, “Hey, I want to make PREMIUM posts now”.
4. The user designates which of his posts he wants to promote to premium, I save the postID in a cookie, and he gets routed to paypal to join as an S2MemberLevel_1.
5. Now he’s back at the site. He has to log in again since he’s been promoted now.
6. Now I can use that cookie I saved earlier to confirm he’s about to add premium content to the post for which he paid.
7. Once he saves the post, I do a database update to strip him back down to normal subscriber level. Now he would have to pay again in order to create another premium post.
Step 5 bothers me. Any way to configure things so he doesn’t have to log in again?
But overall, is this doable? It seems like a lot of trouble, but I was having a lot of problems with my IPN script, so that’s why I picked up S2Member.