Need someone to lead product management at your software company? I create software for people that create software and I'm looking for my next opportunity. Check out my resume and get in touch.

PHP SimpleComments

Freshness Warning
This blog post is over 19 years old. It's possible that the information you read below isn't current and the links no longer work.

For those using MT dynamic publishing, Charles Johnson has a port of SimpleComments for PHP. I’m not using dynamic publishing, so I haven’t tested it, but looking over the code it looks like he’s done a reasonable job. I’m a bit concerned that the plugin accesses the database directly (as is Johnson according to some code comments) and might have problems with non-MySQL backends.

October 20, 2004 11:26 AM

Tried it out and it seems to be working flawlessly, with more such ports MT's dynamic/static engine can actually be chosen with the flick of a switch (more like a checkbox) which would be awesome!

Rad Geek
October 20, 2004 12:28 PM

Thanks for the link! I hope folks will find it useful. Accessing the database directly is a horrible kludge, but unfortunately there seems to be no other way to directly access all comments and pings for the blog under the current PHP plugin API. What I was told at the MT developer's forum is that they're working on a fix, and when that's released I'll update PHP SimpleComments to use it (or rather, to check the version and use the good way instead of the evil way when it's available). On the other hand, as far as I can tell, there's no way to use MT3 dynamic publishing with non-SQL databases, anyway--the entire API is built on top of the ezsql class. Another limitation, which I just remembered this morning, and which I'll note on the project page: due (again) to PHP API limitations, there is no way to use the ``moderate`` argument to show unmoderated comments. I'll fix that sometime soon and and put up the fixed version. But it will take more evil database access. Oy gevalt.

Rad Geek
October 20, 2004 3:01 PM

N.B.: as promised, PHP SimpleComments is now available, and the ``moderate`` attribute is implemented, albeit at the cost of spreading evil. See the project page for details.

Adam Kalsey
October 20, 2004 6:06 PM

Brad Choate has also ported the plugin to PHP (apparently at the same time, he emailed me about it this morning) and has released the plugin under the same license as the Perl version (MIT). He's allowing his PHP port to be distributed along with the original.

March 16, 2005 11:03 AM

Thanks for the work; It was really what I needed

This discussion has been closed.

Recently Written

Mastery doesn’t come from perfect planning (Dec 21)
In a ceramics class, one group focused on a single perfect dish, while another made many with no quality focus. The result? A lesson in the value of practice over perfection.
The Dark Side of Input Metrics (Nov 27)
Using input metrics in the wrong way can cause unexpected behaviors, stifled creativity, and micromanagement.
Reframe How You Think About Users of your Internal Platform (Nov 13)
Changing from "Customers" to "Partners" will give you a better perspective on internal product development.
Measuring Feature success (Oct 17)
You're building features to solve problems. If you don't know what success looks like, how did you decide on that feature at all?
How I use OKRs (Oct 13)
A description of how I use OKRs to guide a team, written so I can send to future teams.
Build the whole product (Oct 6)
Your code is only part of the product
Input metrics lead to outcomes (Sep 1)
An easy to understand example of using input metrics to track progress toward an outcome.
Lagging Outcomes (Aug 22)
Long-term things often end up off a team's goals because they can't see how to define measurable outcomes for them. Here's how to solve that.


What I'm Reading


Adam Kalsey

+1 916 600 2497


Public Key

© 1999-2024 Adam Kalsey.