• 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 🙂

    http://ww.wp.xz.cn/extend/plugins/phpbb-single-sign-on/

Viewing 1 replies (of 1 total)
Viewing 1 replies (of 1 total)

The topic ‘[Plugin: PHPBB Single Sign On] No email in phpbb when register end login from wordpress’ is closed to new replies.