Forum Replies Created
-
Author
-
wd7080ParticipantJanuary 6, 2016 at 02:14 in reply to: Buddypress login widget redirects directly to the home page #96540wd7080ParticipantThis reply has been set as private.January 6, 2016 at 02:11 in reply to: Buddypress login widget redirects directly to the home page #96539wd7080Participant
I found a solution for this which is using the BBpress login widget which will redirect users to the same page when they login. BBpress widget is better than buddypress but the reason I stopped using it is that I had a styles issue with it.
wd7080Participantadd this to your child theme functions.php
COPY CODEfunction jessicana_redirect_page( $redirect_to, $request, $user ) { $redirect_to = bp_core_get_user_domain($user->ID) . 'profile/'; return $redirect_to; } add_filter('login_redirect', 'jessicana_redirect_page', 11, 3);
and you will get users redirected to their profile page.
wd7080ParticipantThanks. Do I have to add this to my permanent CSS or it will be added to the theme next release?
wd7080ParticipantHi,
Actually you have this navigation above which is “Navigation menu for forums”. How can I get one like this?
wd7080ParticipantUsers navigate back to forums to make a post in specific topic, in this way they can see the navigation
wd7080ParticipantThis is not a bug, I simply deleted and uploaded the theme again. Sorry for the false alarm.
wd7080ParticipantAvada is temporary, I am not using it because it’s slow, I deleted/uploading the theme again and I will update you
wd7080ParticipantThis functions’ code redirects to the home page and it doesn’t redirect to the page where users chose to login:
COPY CODEfunction wpse125952_redirect_to_request( $redirect_to, $request, $user ){ // instead of using $redirect_to we're redirecting back to $request return $request; } add_filter('login_redirect', 'wpse125952_redirect_to_request', 10, 3);
wd7080ParticipantListen, this might be a theme bug or buddypress bug, when you go to profile> Change Profile Photo you must see two options which are:
1. Upload
2. Take PhotoFor some reason, take a photo only appears on google chrome while only upload appears on IE11. See the picture attached. Please check your self and let me know.
Attachments:
You must be logged in to view attached files.wd7080ParticipantThank you.
By the way, I am not using kleo log in/ log out and register. I am using default buddypress/wordpress. I want users to be redirected to the same page where they come from. How to do this?Currently they are redirected to the homepage
Many thanks in advance
wd7080ParticipantIt works now!!
I CAN NOT THANK YOU ENOUGH FOR YOUR SUPPORT!!
EXCELLENT.. Definitely five stars!
-
AuthorPosts