March 11, 2011 at 9:01 pm #2917
Since my last upgrade to WP eMembers v 6.1.2 redirection after login has not worked.
Members who login are directed to the WP Dashboard — they then don’t know how to get to a page where they can do something (my redirect page contained links to the sections of the site they would most likely use).
garyMarch 11, 2011 at 11:00 pm #30081wpCommerceModerator
Please post a link to the page where you have the login form.
a)Do you have any test login details that we can use to check it out?
b)What URL are you using for the redirect page?
c)Do you have the
Enable After login Redirectionoption checked in the eMember general settings.March 12, 2011 at 10:08 pm #30082
Login page: [http://www.youremployeehandbook.com/news/wp-login.php]
a) User: testuser Pass: test1234 (assigned “Free Membership” level)
b) Redirect login: [http://www.youremployeehandbook.com/news/member-login-success/]
c) Yes. I also plugged the above URL into the Member Level-specific redirect without success.
Thanks. Let me know what else you might need.
garyMarch 12, 2011 at 11:48 pm #30083wpCommerceModerator
The login details didn’t work. It showed me “Wrong password” error.March 13, 2011 at 12:13 am #30084
I noticed your linked to the WordPress login page in the above post. Are your members trying to log in via the WordPress login? eMember has its own login form that needs to be used so eMember can redirect.March 13, 2011 at 12:53 pm #30085
Sorry. Specified the wrong URL for login.
The member login in page is:http://www.youremployeehandbook.com/news/member-login
That page contains this shortcode: [wp_eMember_login_form:end] Most members use the login widget on the home page,
This is very odd. The redirection is now working properly. The only change I made was to re-save the Page settings in Admin. Perhaps that reset the info in the database? Or flushed the gremlin…..
I did notice one thing: In Firefox (Mac as well as PC), the login widget is sitting to the right outside the sidebar when logged-in. When logged out, the widget is in the right place inside the sidebar.
It’s OK on Mac Safari, PC Safari, and PC Explorer.
garyMarch 13, 2011 at 12:55 pm #30086
@wpCommerce: Mistyped the password. It’s testuser (same as username for simplicity).
That’s what I get for writing posts late at night.
garyMarch 14, 2011 at 1:29 am #30087
After I login using the “testuser” account I get redirected to the following page successfully (which is what I think you want):
Can you double check this please? What am I missing?March 15, 2011 at 12:34 am #30088
Yes, that’s the odd thing. The redirect is working now, when it wasn’t before. I did re-save the Settings page; perhaps that re-wrote the proper settings into the database, where they took effect.
Now the problem in PC and Mac Firefox is that the login widget, when logged out, is sitting outside the right sidebar, but appears normally when logged in. OK in Mac Firefox and Safari, and PC Safari and Explorer. Seems to be a Firefox issue.
Any ideas on that one?
garyMarch 15, 2011 at 1:44 am #30089
That looks like a CSS messup somewhere on the page. One of the following could be the reason:
1) You have modified the eMember code and messed up somewhere.Get a fresh build of eMembeer from here to resolve this:
2) Your theme or some other plugin is doing something that they shouldn’t be doing. This test should help you identify the sourceMarch 15, 2011 at 10:57 pm #30090
OK, I’ll check both scenarios out. Thanks!
garyMarch 30, 2011 at 4:56 pm #30091casstysonMember
I had the same exact issue. I took a cue from the above post, and did two things:
First I tried just re-saving the Pages/Forms settings page. That didn’t do it.
Then I unchecked the “Enable After login Redirection” and saved, then I came back in and rechecked it and saved again. That still didn’t solve it.
Then I went back into Pages/Forms settings and deleted the page I had under “After Login Page:” and saved. Then I went back in, and pasted the same exact page URL in again, and saved again. That did it. Login redirection now works as it should.
Gremlins for sure…
- You must be logged in to reply to this topic.