hello, my issue is this, after the registration process my site redirects to the main site, however I want it to redirect to the forum site, how can I change the redirect process on smf after registration? thanks
Haven't tested this, but hopefully it works.
Sources/Register.php:
Find:
redirectexit('action=login2;sa=check;member=' . $memberID, $context['server']['needs_login_fix']);
Make it:
redirectexit('action=login2;registered;sa=check;member=' . $memberID, $context['server']['needs_login_fix']);
Sources/LogInOut.php:
Find:
// Some whitelisting for login_url...
if (empty($_SESSION['login_url']))
redirectexit();
Make it:
// Some whitelisting for login_url...
if (empty($_SESSION['login_url']) || isset($_GET['registered']))
redirectexit();
How do I modify files? (http://www.simplemachines.org/community/index.php?topic=24110.0)