Community Support Forums — WordPress® ( Users Helping Users ) — 2011-10-30T16:12:29-05:00 http://www.primothemes.com/forums/feed.php?f=4&t=15637 2011-10-30T16:12:29-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=50469#p50469 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> http://s2member.com/contact

Statistics: Posted by Bruce C — October 30th, 2011, 4:12 pm


]]>
2011-10-30T12:27:23-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=50446#p50446 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]>
Anyway, I've fixed this by custom programming a function similar to the above. Just wanted you guys to know that it didn't work in my case. Can't give access here, it's a public forum.

Statistics: Posted by xorred — October 30th, 2011, 12:27 pm


]]>
2011-10-28T22:53:33-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=49122#p49122 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]>
Anyway, if the person is logging in and sent to the dashboard, then the video I pointed you to should help. the redirect_to parameter may not just be added by a plugin, it can be in the theme as well.

Could you post a link to your website to take a look? Do you have Open Registration enabled so I create a test account to see what happens?

Statistics: Posted by Cristián Lávaque — October 28th, 2011, 10:53 pm


]]>
2011-10-28T18:44:09-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=49114#p49114 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]>
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:
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.

Statistics: Posted by Bruce C — October 28th, 2011, 6:44 pm


]]>
2011-10-28T13:53:08-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=49090#p49090 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]>

Statistics: Posted by Eduan — October 28th, 2011, 1:53 pm


]]>
2011-10-28T13:39:38-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=49088#p49088 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> Statistics: Posted by xorred — October 28th, 2011, 1:39 pm


]]>
2011-10-27T16:45:36-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=49008#p49008 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> Statistics: Posted by xorred — October 27th, 2011, 4:45 pm


]]>
2011-10-27T14:25:01-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=48990#p48990 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> Statistics: Posted by xorred — October 27th, 2011, 2:25 pm


]]>
2011-10-27T10:06:25-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=48977#p48977 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> Statistics: Posted by xorred — October 27th, 2011, 10:06 am


]]>
2011-10-27T05:23:30-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=48958#p48958 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> Statistics: Posted by xorred — October 27th, 2011, 5:23 am


]]>
2011-10-26T21:16:05-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=48923#p48923 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> Statistics: Posted by xorred — October 26th, 2011, 9:16 pm


]]>
2011-10-26T10:11:45-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=48845#p48845 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> Statistics: Posted by xorred — October 26th, 2011, 10:11 am


]]>
2011-10-25T13:17:51-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=48744#p48744 <![CDATA[Re: new mebers get to the dashboard instead of the welcome p]]> http://www.s2member.com/login-welcome-p ... cts-video/

Statistics: Posted by Cristián Lávaque — October 25th, 2011, 1:17 pm


]]>
2011-10-24T13:15:26-05:00 http://www.primothemes.com/forums/viewtopic.php?t=15637&p=48672#p48672 <![CDATA[new mebers get to the dashboard instead of the welcome page]]>
They should not have access to the dashboard at all - they should only be allowed to see FRONT-END side of the website.

what should I check, and how can I prevent them from viewing the backend?

Statistics: Posted by xorred — October 24th, 2011, 1:15 pm


]]>