Manual registration confirmation

Hi,

My website is running with WP 4.8.2 and s2 framework 170722 + s2Member Pro v170722.
My 8,774 users are organized as level 0 (free access) and levels 1 and 2.

I want to be able to manually validate each new level 0 member without modifying running levels to be able to reject bad users = is it possible with a built-in feature or developping piece of code (for example at the end of the registration process add code to put new user in “unknown” WP role requiring manual action to restore it to “level0” ?).

Thanks for your help
Paul

In the last release of s2member Pro i used a script called from “Registration Notification URL” that worked fine. Since my website runs with SSL (means https) it doesn’t work = the link is good (https://mysite.com/todo/verif_user.php?UID=%%user_id%%" but s2member call has no effect. If i executes it manually on my navigator it works.

Resolving this problem could give me a big part of the answer to my need.

With a subsequent requirement : how can i modify the user status in _usermeta–>_capabilities from “subscriber” to nothing (means no role) and later back from nothing to “subscriber” ? If you can give me the peace of code to include in my php to do that it should be great !

Thanks in advance for your help
Paul

Sometimes people ask for help with the wrong thing. You really just need to move all your levels up one, (.e 0 becomes 1, 1 becomes 2, and 2 becomes 3) and then level 0 could be left for those not yet approved.

It might be a pain to change the levels, but it’s a once-only job and you won’t have the problems of breaking code in the future.

Hi Tim,

Thanks for your answer but it’s too complicated to change rules for more than 8,790 users.
I need you support for a bug in s2member : In the last release of s2member Pro i used a script called from “Registration Notification URL” that worked fine before i switch to https. Since my website runs with SSL (means https) it doesn’t work = the link is good (https://mysite.com/todo/verif_user.php?UID=%%user_id%%") but s2member call has no effect = script is not executed. If i executes it manually on my navigator it works.
Can you help ?
Thanks
Paul

Sorry, I don’t agree that my suggestion is too difficult to implement. Just export user details to CSV and change them there before reimporting. Or do a find and replace directly in the database (after making a backup, of course).

I need you support for a bug in s2member : In the last release of s2member Pro i used a script called from “Registration Notification URL” that worked fine before i switch to https. Since my website runs with SSL (means https) it doesn’t work = the link is good (https://mysite.com/todo/verif_user.php?UID=%%user_id%%") but s2member call has no effect = script is not executed. If i executes it manually on my navigator it works.
Can you help ?
Thanks
Paul

  1. I am not support. I am just a fellow user.
  2. How do you know it’s a bug with s2Member? It’s much more likely to be a bug with your script.
  3. As I said, your approach is fundamentally wrong. In the end, you are going to spend more time trying to do it your way than if you just modified the levels.
  4. I will leave you to it now. Good luck!