Are they being redirected to the dashboard from PayPal, or after they sign up?
What do you have selected under
Dashboard->s2Member->General Options->Member Profile Modifications->Redirect Members away from the Default Profile Panel? Also, you may want to check to make sure you did not accidentally insert the dashboard URL under
Dashboard->s2Member->General Options->Login Welcome Page At the bottom. Also, it might be a good idea to send a post with your current Theme and Plugins.
Also, it may be a function your theme is using. Search through your theme and see if it deals with the wp_create_user function, or if there are any hooks with 'admin_init' or 'init', and copy and paste them here.
Also, do you have anything in a s2hacks.php file?
Hope we get your problem fixed soon.
For a temporary fix, you can try this code snippet in your theme's functions.php file, or in the s2hacks.php file. (Under wp-content/mu-plugins/s2hacks.php ... create mu-plugins if you don't already have it.)
- Code: Select all
function custom_dont_allow_wpadmin ()
{
if (strpos (realpath ($_SERVER["SCRIPT_FILENAME"]), 'wp-admin') && current_user_can('access_s2member_level0') && !current_user_can ('manage_options'))
{
header ('Location: ' . get_option ('siteurl'));
exit ();
}
}
add_action ('init', 'custom_dont_allow_wpadmin');
This blocks access to /wp-admin if user is not an admin, and sends the user to the site home.