• Resolved brianpan

    (@brianpan)


    Great plugin! Logging in and out works great for both phpbb3 (3.06) and WordPress (2.91), for users that already exist.

    I can’t get new user registration to work though. I get the following error accompanied by a white screen, after I enter the captcha and submit the registration:

    “Call to undefined function op_userExists()…in […]/forum/includes/auth/auth_op.php on line 289, referer: […]/forum/ucp.php?mode=register”

    Any ideas how to fix this?

    https://www.ads-software.com/extend/plugins/phpbb-single-sign-on/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Thread Starter brianpan

    (@brianpan)

    I should clarify that this was while trying to register new users through the phpbb registration process.

    I was able to register new users from the wordpress side.

    Thread Starter brianpan

    (@brianpan)

    I discovered if I replace the following line of code from the auth_op.php file:

    if(op_userExists($username, 'phpbb')){

    with this one:

    if ($user->data['is_registered'] || isset($_REQUEST['not_agreed'])){

    …this fixed the issue. After making the change, I was able to register new users from phpbb, and those users would be available in wordpress.

    Same problem, same solution.
    Great work, brian! I hope the author will update this addon soon.
    Remember also to change the WordPress admin name with the same admin name of phpbb, or you’ll have two different users with no administration rights.

    Hi, this issue is fixed in the version 0.6

    I committed it 5 minutes Ago

    Thanks for your informations

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘[Plugin: PHPBB Single Sign On] Call to undefined function op_userExists()’ is closed to new replies.