phpBB2WP

July 26th, 2009

it’s a useful plugin if you want to add a forum in your site using phpBB ( www.phpbb.com )

Here the installation instructions:

Put the phpbb2wp directory inside wordpress/wp-content/plugins/

I apologyze but due to its very peculiar functions before activating this plugin
you must follow these istructions:

In wp-register.php find line 52, you will something like this (without “) “wp_new_user_notification($user_id, $password);”;
before this line add:

do_action('wp_register',array($user_login, $password, $user_mail));

In phpbb2wp.php find in lines 40,41 the define functions.
First one is Forum Directory, the second one, FORUMDB, is
the base name of phpbb tables.
In the original file FORUMDIR is phpBB2 and its absolute position is
/wordpress/phpBB2 .

In ajax.php find FORUMDB and make the same substitution.

In /phpBB/profile.php at the first line insert this string

if($_GET['mode']=='register'||$_POST['mode']=='register') { Header("Location: ../wp-register.php"); exit; }

In /phpBB/includes/usercp_register.php at line 524 insert these lines

    /**
       * phpbb2wp plugin
       */             
 
      $sql = "UPDATE wp_users SET user_pass = '$new_password' WHERE ID = $user_id";
 
        if ( !($result = $db->sql_query($sql)) )
				{
					message_die(GENERAL_ERROR,'Error updating blog password', '', __LINE__, __FILE_,$sql);
				}
      /**
       * end phpbb2wp plugin
       */

VERY IMPORTANT NUMBER ONE
It syncronizes the users tables, it will erase the phpbb user table and readd the wordpress users in it. This plugin is thought for bloggers who want to add a forum, not viceversa, for now.
This is a beta version…so be careful!

DOWNLOAD IT
http://sourceforge.net/projects/phpbb2wp

Share and Enjoy:
  • Digg
  • del.icio.us
  • Netvouz
  • DZone
  • ThisNext
  • MisterWong
  • Wists
  • blinkbits
  • Bumpzee
  • Technorati
  • BlinkList
  • Furl
  • Rec6
  • Simpy
  • Slashdot
  • Facebook
  • LinkedIn
  • TwitThis
Comments are closed.