TypeKISS
TypeKISS, to replace the JavaScript for commenter greeting with Server Side Includes
Download TypeKISS 1.1 (14 November 2005)
TypeKISS provides template tags to replace the JavaScript code for greeting authenticated commenters with Apache Server Side Includes (SSI) code. ("TypeKISS" is "TypeKey Included Server Side.")
If you use PHP instead, try Neil Turner's PHP-TypeKey.
Changes since 1.0
1.1: use correct display name when previewing by using MTCommentAuthor instead of MTCommenterName. This was especially obnoxious when used with OpenID Comments for MT.
Using TypeKISS
To install, drop the above file as typekiss.pl into your plugins directory, then modify your template to call it. For example:
<MTIfSignedIn>
<p>Thanks for signing in, <MTSignedInName>.
(<a href="<MTRemoteSignOutLink static="1">">sign out</a>)</p>
<MTElse>
<p><a href="<MTRemoteSignInLink static="1">">Sign in with TypeKey.</a></p>
<!-- name and email form fields -->
</MTElse></MTIfSignedIn>
Note that your web server must be configured to run SSI in your published blog pages.
The provided tags are:
MTIfSignedIn- A conditional container tag, this includes the contained template code if the viewer has signed in to comment.
MTSignedInName- Shows the name of the signed-in commenter.
Known issues
- Special characters in names, including spaces, are not correctly shown when displayed with SSI (ie, on the published pages). The characters are correctly shown when previewing.