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™

Major Login Probs

s2Member Plugin. A Membership plugin for WordPress®.

Major Login Probs

Postby elastigirl » March 12th, 2011, 3:57 pm

I'm using wordpress 3.1 buddypress 1.2.8 and s2member 3.5.2

I haven't setup any paid level buttons yet as I'm still testing. I allow level 0 - free level and here's what's happening:

I click register and fill in the form I get response to say I will get an email but none comes (I have that issue mentioned in another post so that's separate)

So then I try and login anyway (cos I know the password) and nothing happens? I logged in as admin, checked the user and it was at role: subscriber which seemed ok, but I updated to role level1 s2 member just to test and still nothing when I go to login.. no errors it just redirects me to the membership options page like it would if was a normal non member. I've tried logging in from top bar and from side widget..nothing..

Any ideas? many thanks.
User avatar
elastigirl
Registered User
Registered User
 
Posts: 6
Joined: March 12, 2011

Re: Major Login Probs

Postby Cristián Lávaque » March 12th, 2011, 9:32 pm

Go to your login page, view the source code and search for a hidden input field that has a redirection. I may start like this:

Code: Select all
<input type="hidden" name="redirect_to"
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: Major Login Probs

Postby elastigirl » March 13th, 2011, 4:42 am

There's just one hidden input field which is this one

<input type="hidden" name="redirect_to" value="http://members.mydomain.com/wp-admin/" />


When I login with admin username it's fine, just a normal user has the problem?

tks
User avatar
elastigirl
Registered User
Registered User
 
Posts: 6
Joined: March 12, 2011

Re: Major Login Probs

Postby Cristián Lávaque » March 13th, 2011, 11:41 am

That redirection is preventing s2Member's from working, s2Member respects that field. You'll have to remove it in order for your s2Member redirection to work as you want.

If I remember correctly, an admin won't be redirected as the other users will. Try doing your tests with another non-admin account.
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: Major Login Probs

Postby elastigirl » March 13th, 2011, 1:22 pm

so do I just remove that line completely from the login page?
User avatar
elastigirl
Registered User
Registered User
 
Posts: 6
Joined: March 12, 2011

Re: Major Login Probs

Postby Cristián Lávaque » March 13th, 2011, 2:11 pm

Yeah. Try it and let me know if it solved your problem.
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: Major Login Probs

Postby elastigirl » March 13th, 2011, 2:15 pm

great thanks, will do :)
User avatar
elastigirl
Registered User
Registered User
 
Posts: 6
Joined: March 12, 2011


Return to s2Member Plugin

Who is online

Users browsing this forum: Yahoo [Bot] and 1 guest

cron