PriMoThemes — now s2Member® (official notice)

This is now a very OLD forum system. It's in READ-ONLY mode.
All community interaction now occurs at WP Sharks™. See: new forums @ WP Sharks™

new mebers get to the dashboard instead of the welcome page

s2Member Plugin. A Membership plugin for WordPress®.

new mebers get to the dashboard instead of the welcome page

Postby xorred » October 24th, 2011, 1:15 pm

New members on my site are sent directly to the dashboard instead of the welcome page,, althouth the welcome page is set.

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?
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby Cristián Lávaque » October 25th, 2011, 1:17 pm

Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby xorred » October 26th, 2011, 10:11 am

I appreciate the video, but in my case I'm not using custom logins or anything like that. I'm just using a default woo theme, I'm using s2member, that's it. Users make a purchase, they get redirected from paypal directly to the dashboard instead of to the welcome page which is set in the s2member settings.
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby xorred » October 26th, 2011, 9:16 pm

up
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby xorred » October 27th, 2011, 5:23 am

up
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby xorred » October 27th, 2011, 10:06 am

up
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby xorred » October 27th, 2011, 2:25 pm

up again... tough topic or just no support?
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby xorred » October 27th, 2011, 4:45 pm

I'm asking a mod to delete all the UPs, but really... can someone at least try to help me?
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby xorred » October 28th, 2011, 1:39 pm

what the hell? Is that supposed to be a forum for support, or what? What is the reason nobody is replying to this simple question???? S2member does not work as it is supposed to!!!!!
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby Eduan » October 28th, 2011, 1:53 pm

I'm sorry you're not getting a reply. I don't know the answer, but I'm sure Cristián or Jason knows, I've noticed they haven't been too active in the forums lately. Just have a little patience. ;)
Now officially accepting Professional s2Member installations along with Bruce C (a.k.a. Ace).

If you're interested in a Professional s2Member Installation, or a Custom Coding Job, you can send your request here.
User avatar
Eduan
Experienced User
Experienced User
 
Posts: 1154
Joined: August 27, 2011
Location: Taxco de Alarcón, Guerrero, México.

Re: new mebers get to the dashboard instead of the welcome p

Postby Bruce C » October 28th, 2011, 6:44 pm

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.
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011

Re: new mebers get to the dashboard instead of the welcome p

Postby Cristián Lávaque » October 28th, 2011, 10:53 pm

From PayPal to the dashboard? You mean from PayPal to the registration page and then after logging in to the dashboard?

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?
Cristián Lávaque http://s2member.net
Is s2Member working for you? Please rate it Image at WordPress.org. Thanks! :)
User avatar
Cristián Lávaque
Developer
Developer
 
Posts: 6836
Joined: December 22, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby xorred » October 30th, 2011, 12:27 pm

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 - it says "redirect to welcome page". Yet it doesn't.

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.
User avatar
xorred
Registered User
Registered User
 
Posts: 16
Joined: May 18, 2010

Re: new mebers get to the dashboard instead of the welcome p

Postby Bruce C » October 30th, 2011, 4:12 pm

That's very strange. I would send in info on this to http://s2member.com/contact
~Bruce ( a.k.a. Ace )

If you're interested in a Professional Installation, or Custom Coding Job, you can send your request here.

Proud Supporter of:
The Zeitgeist Movement
and Occupy Everything
User avatar
Bruce C
Experienced User
Experienced User
 
Posts: 337
Joined: July 20, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 0 guests

cron