Ok… Throwing out the book…
I’ve hacked EE core… I had too… The documentation says put in the RET= value and EE will redirect your users… It doesn’t work. Don’t waste your time.
The great plugins out there like First Timer and Solspace’s User doesn’t support MSM so I’ve been forced to modify the member registration.
Why this isn’t in there… ??? I don’t know.
Two things listed here…
1. Force email to be used as username
2. Redirect user to the RET value
Around line 345 find this
if ($_POST['screen_name'] == '')
$_POST['screen_name'] = $_POST['username'];
Replace with this:
if ($_POST['username'] == '')
$_POST['username'] = $_POST['email'];
if ($_POST['screen_name'] == '')
$_POST['screen_name'] = $_POST['username'];
Now remove the username validation near line 379
$VAL->validate_username();
Replace with this
//$VAL->validate_username();
Now force the redirection by finding this on line (840-ish)
replace with this
'redirect' => $_POST['RET'],
There you have it. Now in the standalone registration form just don’t add in the username but make sure you require the email