Greetings everyone,
I’m setting up a blog farm and bought s2members pro.
So far I’ve setup paypal sandbox test accounts and s2members accordingly, reading everything in detail.
Problem : Once a user paid via paypal, login to the multi-site and goes to http://altitude5-dev.net/wp-signup.php, the page said registration are closed.
Longer explanation :
1. User go to http://altitude5-dev.net/forfaits/debutant/
2. User use the form and register a level 1 access.
3. User receive an email with user/pass.
4. User go to https://altitude5-dev.net/wp-login.php and login.
5. User redirected to the “Welcome” page.
6. User visit http://altitude5-dev.net/wp-signup.php
7. Message say “Registration are disabled”.
Diagnostic :
Here’s my s2 multi-site config : http://i.imgur.com/K1hiZyG.png
Network settings : http://i.imgur.com/6IxmgUR.png
S2 Server scanner : http://altitude5-dev.net/s2-scan.php
Latest version of WordPress and s2Member.
I get the same result and all other plugins are disabled.
Added var_dump($active_signup); to wordpresswp-signup.php on line 515 and get string(4) “none”
Added if($option == ‘registration’) return “all”; to wordpresswp-includesoptions.php line 763 and it work fine.
My thoughts
get_site_option( ‘registration’ ); in wp-signup.php on line 514, obviously should return another value.
The value I get is the one from my network settings and not form s2member.
Temporary solution
I’ve created a MU plugin to change the ‘registration’ option as it should (http://pastebin.com/MJfCh7C5).
This could stay as a permanent solution but I’d rather use native mechanism.
-
This topic was modified 3 years, 3 months ago by
Frederic Potvin.
-
This topic was modified 3 years, 3 months ago by
Frederic Potvin.
-
This topic was modified 3 years, 3 months ago by
Frederic Potvin.
-
This topic was modified 3 years, 3 months ago by
Frederic Potvin.
-
This topic was modified 3 years, 2 months ago by
Frederic Potvin.