Hello !
I have some issue with Facebook login and WordPress phpBB integration while login on WP.
When I'm idenfidied on phpBB with phpBB login form, I'm able to login to wordpress via Facebook Login.
If I logout from PhpBB, There is no way to login from Facebook Login, sometimes withe timeout from wp-admin/wp-ajax.php
It seems having some JQuery version mismatch.
Any Idea ?
WP version : 4.7.2
WP theme : Natural lite
Facebook login version : 1.1.6
w3all phpBB Wordpress version : 1.6.4
Social Logins & Facebook Login
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Login & Facebook Login
facebook login plugin which is this you're using?
-
- Posts: 4
- Joined: Mon Mar 06, 2017 11:33 am
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Socials Logins & Facebook Login
ok we should resolve with this, many things at once.
Open wp_w3all.php file
search for lines:
immediately after, and before the char }
add the follow:
This should resolve really many things at once: it will be added on 1.6.5.
Open wp_w3all.php file
search for lines:
Code: Select all
// stuff about profile changes WP to phpBB
add_action( 'profile_update', 'wp_w3all_up_phpbb_prof', 10, 2 );
add_action( 'user_register', 'wp_w3all_phpbb_registration_save', 10, 1 );
add_action( 'delete_user', array( 'WP_w3all_phpbb', 'wp_w3all_phpbb_delete_user' ) ); // todo // just deactivated on phpBB, when deleted in WP
add the follow:
Code: Select all
add_action( 'set_logged_in_cookie', 'w3all_user_session_set', 10, 5 );
function w3all_user_session_set( $logged_in_cookie, $expire, $expiration, $user_id, $scheme ) {
$user = get_user_by( 'ID', $user_id );
$phpBB_user_session_set = WP_w3all_phpbb::phpBB_user_session_set_res($user);
return;
}
-
- Posts: 4
- Joined: Mon Mar 06, 2017 11:33 am
Re: Social Logins & Facebook Login
Yeah, works fine ! You're a god !
Thanks for all your works !
Thanks for all your works !
- axew3
- w3all User
- Posts: 2883
- Joined: Fri Jan 22, 2016 5:15 pm
- Location: Italy
- Contact:
Re: Social Logins & Facebook Login
all We hope to be some God ... We just learn from what others before us have maybe discover. We can apply smarty solutions. There are really few "Gods" on this world. I'm unfortunately not one of these! And taken alone, in true i think, nobody can be a God. All together, maybe We can be a God!
Perhaps this is the true, behind everything!
Perhaps this is the true, behind everything!