v0.9: Becoming more of a WordPress plugin

Filed under: WP-United Development, WordPress, phpBB3 — Jhong at 6:29 pm on Wednesday, June 9, 2010

I’m making some more progress with WP-United v0.9… the brand new settings panel is now operational, and can transfer its settings out to phpBB. This is much simpler to use, and complerely replaces the “Setup Wizard” on the phpBB side.

This marks a major shift in the way WP-United works conceptually. Prior to v0.9 we have always been a “phpBB mod”. The Setup Wizard was quite innovative for phpBB — certainly more so than most other phpBB mods. However, the phpBB ACP hasn’t served us well. It still requires some actions to be taken by the user to see the WP-United Setup Wizard, and in general, the rest of the ACP is a bit of a mess with too many options buried under menus.

Leveraging WordPress’ plugin system better

We’ve always used WordPress’ plugin system in WP-United, but most of the core code sat outside that, under your forum directory.

v0.9 will change that. Now that the panel is working, my plan is to move most, if not all, of the WP-United files (that currently sit under your-forum/wp-united) to a plugin folder in phpBB. I’d like users to be able to automatically download and install the plugin using the WordPress plugin browser — this will hopefully go a long way to achieving that.

However, we still have one snag: phpBB still requires some code edits. Over the last few versions, we’ve cut down the number of edits required significantly, but there are still plenty. In the interest of releasing v0.9 sometime this century, I will start off simply, by including instructions in the WordPress plugins panel with a link to the XML file containing instructions on editing phpBB.

While this should be fairly clear, it’s not a great solution in the long run. Every time a user has to manually edit files, things can go wrong (no arrogance here — I make mistakes installing it myself very frequently). I’d be interested in hearing people’s thoughts on how this should work for v1.0.

Likely way forward for v1.0

I’ve done a bit of thinking, and right now, I think the following would work best:

  • Distribute a customized version of the AutoMod engine with WP-United.
  • After the user fills in the WP-United basic settings in WordPress, we inspect the phpBB installation. If AutoMod is already installed there, we give a link to a zip file and ask the user to install it using their pre-existing AutoMod (likely they are already comfortable using it)
  • If they don’t, we give them a choice: install manually or automatically. An automatic installation would back up phpBB files and apply changes the bast way we can. The inner-workings of AutoMod would be hidden from the user. A manual installation would be the same as planned for v0.9.

Alternative: A pre-mod option

The idea of a pre-mod option is for WordPress users who haven’t already installed phpBB. They could go to the plugin browser, and in a couple of clicks, install a fully integrated, WP-United phpBB. The phpBB install could even be completely managed — hidden in a plugin subfolder and exposing forum pages via permalinks.

This would undoubtedly be cool, and would bring in tons of new users while reducing support requests — but I can see that maintenance would be a big problem. With each release of phpBB I would have a lot more work to do, and that would take time away from what’s important: Maintaining the WP-United core. In addition, users who installed this way would get a nasty shock when it came to installing new phpBB themes: they’d still have to learn how to do mod edits then.

The only way I think this would work is having a user-contributed repository of pre-edited themes at WP-United.com so that phpBB turns into an end-to-end point-and-click install for WordPress users. Maybe this is something we can consider for v2.0. (However, hopefully by that time, phpBB will already be sporting a decent plugin system).

Due to the above, I’ve discounted this option for now, but I am excited about the possibility for a future version.

Your thoughts?

I’d be interested in hearing from users with a WordPress (rather than a phpBB) background as to how the install should work in an ideal world.

Thinking from a WordPress administrator’s perspective, is a completely managed phpBB install desirable? Or would you rather have a separate install which requires some management (and the inevitable bugs that accompany it)?

If we, in the long run, opted for the former, would you be interested in contributing to the community by helping to maintain one-click-install repositories of modified phpBB code and themes?

WordPress 2.2 users, SVN users.

Filed under: WP-United Development, WordPress — Jhong at 7:21 pm on Thursday, May 31, 2007

If you’re using WordPress 2.2, you’ll want a version of WP-United that is compatible. that means the development version, which you can grab from the SVN repository at http://svn.wp-united.org using your favourite SVN client.

Please note that if you do decide to use this code, it is changing rapidly, so be sure to check for changes often, including changes to the mod upgrade file.

For those who have already been making use of the SVN code, the version has just been bumped up to v0.9.5 in preparation for the next release. You’ll need to look at the upgrade mod file if you’ve been using v0.9.2.

If you’re a phpBB3 user, you’ll see phpBB3 code in there, but it is not currently supported (and will not work as you expect)… best to leave it for a few days.

phpBB users? Need a better portal page? Try WordPress!

Filed under: Using WP-United, WordPress, phpBB3 — Jhong at 1:54 pm on Friday, March 9, 2007

Most phpBB-based sites fall into two categories: Those where phpBB is used as an add-on feature of the main site: for example, as a support forum; and those where a phpBB community is the site.

Sites in the latter category live and breathe ‘community’ — and are often places for pre-existing off-line communities to discuss topics and meet online. Often, such sites using a stock phpBB install spring up and attract large numbers of users — without even a custom design or other site features. It usually doesn’t take long, however, for users to request new features, and a nice portal page summarizing news or announcements is usually the first request. (More…)

Upgrade WordPress!

Filed under: WordPress — Jhong at 2:45 am on Sunday, March 4, 2007

Thanks to George, who spotted this update on the WordPress site… if you downloaded and installed WordPress 2.1.1 recently, it contained compromised code, which could lead to your server being exploited. While this has nothing to do with WP-United, I recommend that all users upgrade their WordPress as soon as possible.

I hope they catch whoever was responsible for the breach…

Uneventful upgrade to WP 2.1.1

Filed under: WordPress — Jhong at 2:59 am on Friday, March 2, 2007

Just upgraded the site to the latest WordPress. No news is good news, and there’s really nothing to report — an uneventful upgrade!

It apparently fixes several bugs, so I recommend that WP-United users give it a try.

Update on 4/3/2007: It turns out that v2.1.1 contained compromised code. If you did install this version, you should upgrade immediately. (of course, this has nothing to do with WP-United).