Changing free levels

l am looking for a form to switch a level up or down.

I have level 0, 1 an 2.
Levels 0 and 1 should be free and users should have the possibility to switch between this levels up and down.

A user with level 0 has:

To upgrade I use:

[s2Member-Pro-PayPal-Form modify=“1” level=“1” ccaps="" desc=“Kurse, Quizze und kleine Umfragen erstellen und anbieten, es ist kostenlos!” custom=“einfachalles.at” tp=“0” tt=“D” ra=“0.00” captcha=“0” /]

Then the user has no role:


That‘s not, what I want. The user should have the label of level #1

What is wrong with my form?

franzl

I’d have to check the code that processes the form, but I know they’re not meant for free role changes. You can do a free signup, but not free level changes with them. I suppose the odd behavior you see in the role may be coming from that…

Instead you could use a bit of PHP that’ll change the user’s role. See:

But I can see how it’d be simpler to have a way to do it without a customization. I’m adding it as a feature request with your vote.

:slight_smile:

Your last sentence makes me happy :slight_smile:

In the meantime I test my problem with an absolutely fresh installation on another non productive domain:


I wrote a test page:

Before and after viewing/executing the code on the page my userlist in the backend is the same:

I have to admit that I obviously don’t understand enough about the subject, but I expected that a user with user-id 123 would be created and assigned the role s2member_level1. :frowning:

franzl