Forum Replies Created

Viewing 11 replies - 1 through 11 (of 11 total)
  • massayoshi: I would check to make sure all files are copied over correctly.

    Live2Game: As you might have discovered by now, I think everything should be working for you. You should now have the ability to have users login into the forum and be able to make comments on your wordpress site under the same login; create users in the forum – which will automatically create accounts in wordpress (and vice versa); etc…

    Sebi23DU: Sorry, I’m not sure why your forum is blank. There might be an error in your forum configuration. When you set your new forum tables up, did you indicate to phpbb somewhere that the tables are now located in same database as wordpress (i.e, the /root/config.php file in phpbb). Otherwise, I would check your error logs and see what error shows up there…(that is, if you have access to them… e.g. for apache ‘/var/log/httpd/error’…)

    Hi all,
    The issue you’re having has to do with the fact that the plugin assumes your phpBB tables are located in the same database as your wordpress tables. If you’re phpBB database is located separately from wordpress database (like mine is), then the plugin’s query to update the phpBB’s authentication won’t work. (and thus the wordpress options page won’t “save” or say “ok” for the ‘auth’…)

    Have no fear. There is a solution. You can change the authentication manually in two ways. First, from your forum’s Admin Ctrl Panel (ACP), you can find Client Communication –> Authentication, and choose wpbb from the drop down menu (it will be an option after you move the auth_wpbb file into the ‘{forum root}/includes/auth’ directory). Alternatively, you can run this query on your forum’s database –> UPDATE phpbb_config SET config_value = ‘wpbb’ WHERE config_name = ‘auth_method’

    In both cases, you have to understand that since the plugin does not understand your forum is in a separate database, it will not be able to “save” or indicate “ok” in the plugins’ options page in wordpress. But that’s ok. The important step was to set forum’s authentication mode, which is already done. So now it should work.

    To summarize, here’s a basic outline of how to make this thing work (assuming you’re starting from fresh wordpress and phpBB installations):

    1. install the plugin and activate in wordpress.
    2. click on “install files in phpbb” – after clicking this, i would check to see that the two files were copied to the forum’s directory correctly. there’s only two files that need to be moved over. a) /root/common.php (which replaces the forum’s common.php) and b) auth_wpbb (described above)
    2b. click on save changes in wordpress to make sure file path for the forum is right, e.g. “forum/”
    3. change phpbb authentication mode (described above)
    4. that’s it.

    Also, if ever need to revert the setting and have access to your forum’s database, try this:

    http://www.phpbb.com/community/viewtopic.php?f=71&t=1623385#p9756775

    See if this works:
    Go into the phpBB admin panel (ACP). Find ‘Client Communication’ on the left, and click on ‘Authentication’. Select ‘wpBB’ as the authentication method from the dropdown and click ‘submit’.

    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.

    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.

    I was able to get the plugin to work using phpbb3 (3.06) and WordPress (2.91), for users that already exist.

    I couldn’t seem to 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”

    I was wondering if anybody had any progress in new user registrations…

    I developed a template on my local computer that I wanted to transfer to a server, and the template included category-id template files. Therefore, I needed the category id’s to match between the two.

    In any event, I think I was able to make the changes in phpmyadmin successfully.

    In the tables, wp_terms and wp_term_taxonomy, I used an UPDATE query to change the field ‘term_id’ (which is essentially the category id) – and that seemed to work.

    I had the same question. Have you had any success with this yet?

    Thread Starter brianpan

    (@brianpan)

    For those interested, here is the list of modules in Apache 2.x I narrowed it down to:

    LoadModule dir_module modules/mod_dir.so
    LoadModule log_config_module modules/mod_log_config.so
    LoadModule mime_module modules/mod_mime.so
    LoadModule setenvif_module modules/mod_setenvif.so
    LoadModule alias_module modules/mod_alias.so
    LoadModule authz_host_module modules/mod_authz_host.so

    #–Module Required for WordPress
    LoadModule rewrite_module modules/mod_rewrite.so

Viewing 11 replies - 1 through 11 (of 11 total)