WP-United v0.8.5 (and earlier) with WordPress 3.0

Filed under: Troubleshooting — Jhong at 5:50 pm on Saturday, June 19, 2010

WordPress 3.0 is out and WP-United v0.9 is not yet ready.

I will push out an interim of WP-United soon that will work better with WordPress 3.0. However, if you have already upgraded your WordPress, you will receive errors about make_clickable due to a few formatting changes in WordPress files (or a blank page).

To fix these, go to your phpBB root folder and open wp-united/wp-integration-class.php.

Go to line 341. It should look like this:

$cSet = str_replace('require (ABSPATH . WPINC . ' . "'/$fName","$cFor // ",$cSet);

Replace that line with the following code:

$finds = array(
'require (ABSPATH . WPINC . ' . "'/$fName",
'require( ABSPATH . WPINC . ' . "'/$fName"
);
$cSet = str_replace($finds,"$cFor // ",$cSet);

Then clear your cache (phpBB ACP -> Purge Cache).

This will fix your errors and allow you to use or install WP-United v0.8.5 with WordPress 3.0.

screenshot

phpBB inside WordPress 3

However, please note:

  • I haven’t done detailed testing yet with the new default theme (although it seems to integrate fine for me with CSS Magic on.)
  • The new WordPresss multi-user blog features won’t work with WP-United yet
  • Unlikely, but some other features may be broken — if you find them, please let me know

WordPress 2.9 with WP-United v0.7.1

Filed under: Troubleshooting, Using WP-United — Jhong at 11:37 am on Monday, December 21, 2009

I was hoping to have v0.8 released before WordPress 2.9 — but as I want v0.8 to be the best release yet, there is still a little more work to do. It will be ready by Christmas, however.

If you would like to upgrade to WordPress 2.9 now, and are using WP-United v0.7.x, you will need to make a small edit to the file wp-united/wp-integration-class.php, as follows:

Find the line // or you could add your own here

And after it, on a new line, add:'wp_embed',.

Alternatively, hang tight for all the new features and bug fixes in v0.8 — watch this space!

Problems with phpBB redirecting?

Filed under: Troubleshooting — Jhong at 5:47 am on Monday, November 26, 2007

Thanks to yoos, who posted this.

A few people have reported problems with phpBB3 not automatically redirecting upon login. Check out this post to see if it helps.