login issue Buddypress combination
This topic contains 10 replies, has 2 voices, and was last updated by Simone 10 years, 2 months ago.
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket-
AuthorPosts
-
April 25, 2015 at 8:00 pm #38000
Hi Guys,
let me first congratulate you with your first official anniversary! Unbelievable what you’ve achieved!
We experience difficulties with new users that try to login, after we’ve combined wpgeo with buddypress. We’ve tested it last week on our staging, and then it worked well. I’ll send login-details separately.
The problem exists twice:
1: After a new registrant enters his details he gets an activation-link, and after the confirmation he can login again. That’s not possible. It leads to a never ending loop, and the url looks quite odd: https://iamyogi.com/?geodir_signup=true&logemsg=1&redirect_to=https%3A%2F%2Fiamyogi.com%2F%3Fgeodir_signup%3Dtrue.If an existing user enters his details, he’s just nicely welcomed, to say it like that.
2:
Buddypress also offers a smart menu-option named LOGIN. It’s only visible if a user is NOT logged in. That’s very friendly. But: If someone clicks on that option he/she is also directed to a strange URL, that ultimately leads to an ugly wordpress-login-page…: https://iamyogi.com/wpvoordeur?redirect_to=https%3A%2F%2Fiamyogi.com%2F%3Fgeodir_signup%3DtrueIf a user clicks on the LOGIn-option in our (purple) admin-bar (right side on top)(installed via the GD-login widget) then everything goes well: he’s being directed to: https://iamyogi.com/?geodir_signup=true.
I like to emphasize that we have not tested this on staging, so I’m not sure if this is happening quite some time.Issue 2 is not a showstopper, although it would be very user-friendly if we could have this, but as you understand: Issue 1 is quite heavy-shit, and it forces us to think about migrating back on a very short term…;-(
April 25, 2015 at 8:10 pm #38004This reply has been marked as private.April 25, 2015 at 9:19 pm #38006This reply has been marked as private.April 27, 2015 at 4:57 pm #38080Hello, have you added some functions in the functions.php (absent in the staging-website)?
April 28, 2015 at 7:46 am #38122Hi Simone,
as far as I know we didn’t. i just checked the functions in the wpincludes folder, as well as the functions in the wpgeothemeframework and they are identical both on staging as live…
April 28, 2015 at 9:17 am #38125Simone,
some additional insights:
With buddypress a user logs in with his EMAIL and password.We’ve discovered that the flow works if the new user logins in THE FIRST TIME with his username, everything goes well. The second and further logins he can just enter his email. Just the first time it appears to be needed to enter a username.
This is really strange, don’t you agree?
I hope you have more deeper thoughts about an explanation.Thanks again!
April 28, 2015 at 11:28 am #38132Hello, ok we found the culprit, wordpress does not allow to login using email (the login box it’s the wordpress one).
you can use this plugin, it will allows you to choose to login with both email or username
https://wordpress.org/plugins/wp-email-login/April 28, 2015 at 3:38 pm #38149Hooray! Thanks a lot. My Partner was about to tear the hair out of his head…;-)
Any idea on the second issue as well? That’s both on staging acting strange.
Thanks in advance!
April 28, 2015 at 4:55 pm #38155😉
for your second issue, I think something weird is happening with buddy press and the login-url system.
A quick workaround is to add a custom link pointing to /?geodir_signup=true and with the help of this plugin
https://wordpress.org/plugins/menu-items-visibility-control/
you can hide it to logged in users with this condition! is_user_logged_in()
Let us know how it goes
May 3, 2015 at 7:38 am #38535Perfect, works great! Thanks!
May 3, 2015 at 7:39 am #38537Nice, you’re welcome
-
AuthorPosts
We have moved to a support ticketing system and our forums are now closed.
Open Support Ticket