Support Forum
hello - I'm running Simplepress, as well the Memberpress membership plugin and Buddypress. I have the Buddypress integration plugin for Simplepress installed. I have Memberpress handling all aspects of membership enrollment/signup/etc.
I have an odd issue where when a user logs in, instead of going to the page defined in Memberpress for "after login", it first gets redirected to a blank login page, and after a second then goes to the proper page as defined by Memberpress.
I'm wondering if it is possible that Simplepress is forcing a redirect even though those fields in options are blank.
Here is what happens step-by-step:
1. Upon clicking the "Login" menu item you are taken to:
http://restorativenation.com/l.....=index.php
2. After submitting credentials, goes to:
http://restorativenation.net/login/ (a blank page; this is the step I'd like to eliminate)
3. After a second or two, goes to:
restorativenation.com/actvity
Memberpress support logged into the site and can confirm the issue lies outside of their plugin. they believe that either the theme or another plugin is adding the weird extra redirect by appending the "?redirect_to=index,php"
In Simplepress Options, Login/registration redirects, I have nothing in the fields "Login redirect", "logout redirect" & "registration redirect". Again, my goal is for Memberpress to handle registration, login/logout, member email etc.
Versions of everything are:
Wordpress 4.6.1; Simplepress 1.2.8, SP Buddypress Plugin 1.3, Buddypress 2.6.2, Memberpress 1.2.8
Thanks,
Kelly
Certainly trying things here on a test site does not suggest it is an SP issue nor does looking at the actual code at that point,. If empty we would just gracefully die from the process.
Come to that, the url at your #2 above is highly suspect. We do not have such a url in our own rewrite rules and in reality it looks a bit bogus. Have you ever had any other third party login plugin installed that might have left some things hanging around in the codebase?
YELLOW
SWORDFISH
|
Ok, there is a typo in line #2; it gives a URL of .net - it does not switch to the .net in #2.
I believe the problem may originate in a custom function that makes the upper right "Login" menu dynamic (changes wording to 'Logout' if user is logged in).
Removing this function and replacing the menu item with a dumb/non-dynamic menu item resolves the problem at login (but not if the menu item is clicked on once logged in).
In any case, I'm not going to purse this further. thanks for your help!
Kelly
No, this issue was with initial logging in of the user in Wordpress (via Memberpress). However, what I was trying to resolve was any chance that Simplepress was "taking over" the login process in some way. I wanted to insure that I didn't have SP configured in a way that was counter to logging in thru WP/Memberpress.
I think the issue was some custom code that adds a dynamic login/logout button to the secondary menu. When I remove that code, I don't get the brief flash of a page (#2 in my list). However, if I do click on the static menu to go bak to the login page it does do the stutter (that is not a normal user behavior so I am not worried about it).
So with this additional testing and tweaking it doesn't seem to involve Simplepress, just wanted to make sure Simplepress isn't set to "take over" the login process or redirect users on log in. In my situation users go to a general info page, not directly to the forums. The forums are a major part of the site, but not the place we want user's going directly upon login.
thanks again for your help
Kelly
1 Guest(s)