Metablogging


Here we go…

Things just keep getting better. :)

I’m not a fan of PHP but I got tired of fighting with the Movable Type software. Hello WordPress.

I imported previous entries and comments from MT but urls have changed and if you registered before to comment, you’ll need to do so again.

The instructions for installing James Seng’s CAPTCHA module for MovableType 3.x were incomplete. You need to also edit the /lib/MT/App/Comments.pm module to perform the security check itself. This is the same trivial code insert as in pre-3.x releases: sub post { … require MT::Blog; my $blog = MT::Blog->load($entry->blog_id);

    if (!$q->param('text')) { 
       return $app->handle_error($app->translate("Comment text is required.")); 
    } 

    # 
    # Security Code hack 
    # 
    require MT::SCode; 
    my $code = $q->param('code'); 
    my $scode = $q->param('scode'); 
    my $sscode = MT::SCode::scode_get($code); 
    if ($scode ne $sscode) { 
        return $app->handle_error($app->translate( 
           "Wrong or missing Security Code.")); 
    } 
    MT::SCode::scode_delete($code); 
    MT::SCode::scode_create($code); 
    # 
    # End Security Code hack 
    # 

    my ($comment, $commenter) = _make_comment($app, $entry); 
    if (!$blog->allow_unreg_comments) { 
...

Save it and that’s all there is to it.

I’ve upgraded to MovableType 3.

The differences from a reader’s perspective, aside from any visual changes, are related to moderation of comments: * Comments will not appear until I approve them. * Visitors can continue posting comments. * Visitors with identities registered through the free TypeKey http://www.typekey.com/ service may be granted blanket approval.

This is unfortunate but necessary because even with a CAPTCHA mechanism, really determined net slime manually inject blog spam.

« Previous Page