RSS LJ

October 21, 2003

MT/phpBB integration! YAY! ()

by fluffy at 11:25 AM
I have now (I think) successfully integrated MT with phpBB! It's not yet complete, but it should be totally functional now.

11:43 Argh, timezones are a bitch. At least this problem was caught now when there was only one comment to remove. :D

The upshot is that old MT comments are preserved, and new comments go through phpBB. For now, this means that the comment form has been replaced with a link to phpBB's reply form (I don't think there's any way around that if I want to handle sessions).

This means that if you register for the forum, you can get an emailed notification if someone else posts to a thread you're watching. It also means that if you want a URL linked to your identity without registering, you just enter it anywhere into the text that you want (it will be automatically linked if you have BBcode enabled).

On the minus side, it makes the interface a bit more complex (since the comment form is now totally separated from the entry, and since it doesn't currently return you to the weblog entry after posting a comment).

What's nice for me is my email will no longer be filled up with all of the bickering which some of the topics tend to produce. ;) And, of course, there's now flood protection, bot protection (by merit of not using the same comment engine as everyone else), and much easier moderation.

Things left to do:

  • Better integration between posting and the weblog entry itself (i.e. redirect back to the entry after a comment is posted, and make the entry text visible on the comment form or something)
  • Make a more trikuare.cx-like theme for phpBB (probably just using fluffyblog's stylesheet anyway)
  • Figure out some way of dealing with some of the more insidious interface issues (like logging in to the forum; I think phpBB has a mod for login-and-post but I'm not sure)
  • Fix (or remove) the public comment counts and "recent discussion" sidebar (fixed and removed, respectively)
  • Fix anonymous posts
  • Make some sort of distribution of this stuff for other people
  • Give credit where credit is due: the thread creation uses functions_insert_post by Adrian Cockburn, and the thread display uses phpBB Fetch All by Volker "Ca5ey" Rattel.

Comments

#633 10/21/2003 10:50 am
Sorry ucblockhead, but I had to delete your first post. Stupid timezone issue. Meh. (MovableType is configured to emit times in Mountain Time, while the server is in Pacific Time. Hopefully things won't break badly when daylight savings time ends, either! Not to mention if I end up moving to a whole other time zone, too...)

Oh, and BTW: first post! Very Happy
#700 ucblockhead (unregistered) 10/21/2003 12:47 pm bastard!
You'll hear from my lawyer. Evil or Very Mad
#708 10/21/2003 12:52 pm
Heh. I'd have just edited the parent post's timestamp if I could.
#722 10/21/2003 01:56 pm Oh yeah
Subjects should work too.
#1014 10/22/2003 11:10 pm Test of 'recent discussion'
Just to see whether it's sorted by newest posts.

Unfortunately, there's no way to get the correct comment count (MT can emit PHP which accounts for MT's comment count, but PHP can't get at MT's comment count directly), but I may add a comment counter anyway, especially since it'll be accurate for future posts at least.
#1017 10/23/2003 10:30 am
Ooh! Ooh! The admin triple posted! Ooh! Ooh! That's naughty! Razz