[Plugin: PHPBB Single Sign On] No email in phpbb when register end login from wordpress
-
When register from wordpress and first login from wordpress a new record will be written in the phpbb database.
Email address will not be written in this record because in the auth_wpbb.php file at the login_wpbb function the $email variable is empty because is set up from the $wp_user->user_email that in this case is not a class but contains the id of the user in the wordpress database from this line:
$wp_user = wpbb_Wordpress::getIdByName($username);
So $wp_user is not an object but is an integer.
Sorry for my bad english…
Nico 🙂
The topic ‘[Plugin: PHPBB Single Sign On] No email in phpbb when register end login from wordpress’ is closed to new replies.