PHP SimpleComments

Freshness Warning
This article is over 7 years old. It's possible that the information you read below isn't current.

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.

Arvind
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.

Mier
March 16, 2005 11:03 AM

Thanks for the work; It was really what I needed


Your comments:

Text only, no HTML. URLs will automatically be converted to links. Your email address is required, but it will not be displayed on the site.

Name:

Not your company or your SEO link. Comments without a real name will be deleted as spam.

Email: (not displayed)

If you don't feel comfortable giving me your real email address, don't expect me to feel comfortable publishing your comment.

Website (optional):

Follow me on Twitter

Lijit Search

Best Of

  • Let it go Netscape 4 is six years old.
  • California State Fair The California State Fair lets you buy tickets in advance from their Web site. That's good. But the site is a horror house of usability problems.
  • Comment Spam Manifesto Spammers are hereby put on notice. Your comments are not welcome. If the purpose behind your comment is to advertise yourself, your Web site, or a product that you are affiliated with, that comment is spam and will not be tolerated. We will hit you where it hurts by attacking your source of income.
  • Customer reference questions. Sample questions to ask customer references when choosing a software vendor.
  • Lock-in is bad T-Mobile thinks they'll get new Hotspot customers with exclusive content and locked-in devices.
  • More of the best »

Recently Read

Get More

Subscribe | Archives

7

Recently

invisible Fence (Mar 22)
The New York Times has a paywall now. Sorta. If you don't choose to ignore it.
Black status icon for Chrometa (Mar 17)
Replacing the status icon of Chrometa
Using Google Voice as your voicemail on AT&T (Oct 26)
How I set up my iPhone to use Google Voice as it's voicemail system.
Don Mattingly forced to make coaching change (Sep 17)
New LA Dodgers coach starts to wonder if he knows the rules of baseball at all.
In which Vonage pretends their prices haven't changed (Apr 12)
Translating what Vonage marketing says about their price increase into plain English.
Twitter app competition (Apr 12)
Life as a Twitter app developer is far from over.
Twitter app competition (Apr 12)
Life as a Twitter app developer is far from over.
The rest of the world is not like you (Apr 5)
Normal people are different. Keep that in mind when creating or marketing a product.

Subscribe to this site's feed.

Elsewhere

IMified
Build instant messaging applications. (My company)
SacStarts
The Sacramento technology startup community.
Pinewood Freak
Pinewood Derby tips and tricks

Contact

Adam Kalsey

Mobile: 916.600.2497

Email: adam AT kalsey.com

AIM or Skype: akalsey

Resume

PGP Key

©1999-2012 Adam Kalsey.
Content management by Movable Type.