hop to #bottom

modding comment input field lengths (4.0.3)

modding comment input field lengths in textpattern/publish/comment.php


Add link to comments in feeds

A one-line addition to rss.php and atom.php to add a link to comments from within feeds

A simple one-line addition to both rss.php and atom.php will allow for displaying a link to comments inside the body of your website’s feeds:


Better Remembered Commenters

Have comments welcome back visitors instead of redisplaying entire comment form for regular visitors.


Removing Comment Previews

Here is a step-by-step guide on how to remove the comments preview function from Textpattern. It involves publish/comments.php in your Textpattern folder, and I would advise backing up the file before you make any changes.


Put comments anywhere on an article page

HowTo: Putting TXP Comments Anywhere on an Article Page

This is a dead easy hack to Textpattern that will let you have your comments anywhere on an article page—not just tacked onto the bottom of the text like the default behaviour.


Live Textile-Formatted Comment Preview

In TextPattern when you click on an article and are presented with the ability to comment, the set of input boxes, text areas, and other items are generated by a simple “form” called comment_form. The idea is that …


Author Highlighting in Textpattern

Apply a different style to the authors comments

A small change in comment.php to highlight the author in comments.


Moderate Comments After

Old comments become moderated.

Comment spam is annoying and happens more for older posts, but disabling commenting on older posts can prevent useful feedback from users. This mod allows comments to be set to moderated instead of disabled after a given amount of time.


Installing Gravatars

TextPattern Hack for adding Gravatars to your Textpattern site

From the Gravatar implementor’s guide, here’s how to get Gravatars working on your site.

(A plugin is also available now: glx_gravatar.)


Gravatars, and how not to show them

The basic implementation instructions don’t mention how to not display the gravatar for those commenters who don’t have one, so here is how I accomplished it.

(see the Information URL)


Hacking the Txp Comment System

Alter comments form, including Live Preview instructions

Purpose of this hack:
Change the recorded comments to display as <div>’s rather than <li>’s, with alternating background colours and sequential numbering. Change the comment form to allow live previews to be used.

What you need to know first:
Upgrading Textpattern is a simple...


All 1085 articles are stored in the treasure rooms that are the Archives.
Published with Textpattern