-
Author
-
February 22, 2015 at 20:00 #47175mrchristopheeParticipant
How can I amend the Facebook login to redirect to the profile page and not remain on the homepage?
February 23, 2015 at 16:00 #47264RaduModeratorHello,
The facebook login redirects by default to homepage, if you want to modify and extend this functionality, you find the file here : wp-content/themes/kleo/kleo-framework/lib/function-facebook-login.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 1, 2015 at 16:11 #48256mrchristopheeParticipanthow do you get it to go to the profile though? what is the code?
March 2, 2015 at 15:55 #48358RaduModeratorHello,
You need to go in your kleo-child directory then make a folder named, kleo-framework, then inside kleo-framework folder, create a folder named lib, here you need to unrar and upload this file ( see attachment )
the path for the file must be like this : /wp-content/themes/kleo-child/kleo-framework/lib/function-facebook-login.php
Cheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionAttachments:
You must be logged in to view attached files.March 3, 2015 at 16:44 #48551RaduModeratorHello,
NO,
Will redirect you to your profile.
If dosen’t work put that file here : /wp-content/themes/kleo/kleo-framework/lib/function-facebook-login.php
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 4, 2015 at 15:29 #48741mrchristopheeParticipanthi have done that and returns a 404 error page not found?
March 4, 2015 at 17:40 #48761RaduModeratorHello,
NO,
This modification will work in this way : after you will login with facebook in few seconds you will be redirected to buddypress profile to complete all empty fields.
This is tested on my side and it works. ( latest version of kleo )
Try to disable plugins that not commed with the theme.
It should work in your side
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 6, 2015 at 16:20 #48988mrchristopheeParticipanthi these are the only plugins that are now active. I believe these are the basic ones.
It is still logging in but showing null page.
i have the php file in both kleo and kleo child
Attachments:
You must be logged in to view attached files.March 6, 2015 at 17:07 #48992RaduModeratorHello,
I need to look closer,
I need admin credentials
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 6, 2015 at 19:44 #49010AbracadabraParticipantHello, I also have an issue with this.
When it they first register through facebook, yes they get redirected to profile to fill out all the fields, but the issue is once they are already logged in. It says you are already logged in and you see the homepage, right now even myself I have to put admin after slash to get into my profile, and this one is not a facebook register one, so enabling facebook login screws up all registered profiles.
Also, I noticed that a profile registered through facebook does not see any public groups, which other profiles registered normally do see.
ThanksMarch 10, 2015 at 19:22 #49539AndreiModerator@mrchristophee, radu shared the file where you need to make edits to change your fb register/login redirects, but please note that you’ll need a few programming skills to understand and edit the file correctly
@arystokrata, you are right about the facebook related redirects and in one of our next update we’ll fix this by adding an option directly in our theme panel from where you could edit the redirect urlCheers
Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solutionMarch 10, 2015 at 20:01 #49550AbracadabraParticipantWill it also be possible to import more than 1 photo?
Typically when you log in with FB it allows you to pick pictures which you have saved as your profile photos.March 12, 2015 at 23:20 #49967AndreiModeratorUnfortunately for the moment I don’t see such an option coming, but who knows in the future.
CheersHi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution -
AuthorPosts
The forum ‘KLEO’ is closed to new topics and replies.