Categories:
Author:
Current version:
0.3
About It:
Get it:
Rate it:
Flag it:
ajw_if_comment_owner
Conditional output based on comparing the name, email, and/or url of the commenter. You could specify lists of known people and output a class of “friend” or “owner” or “whatever” based on their name. It’s also nice so that a stranger using the name of ‘Jon’ but using a different url or email than The ‘Jon’ won’t get confused. Intended usage is from within default comment form.
Requires:
- 1.0RC3 (rev180 or greater)
- If you are using Textpattern 1.0RC3 rev142 thru rev179, you will need to perform a one-line edit of
/textpattern/publish/comment.php, as outlined in this Textpattern Forum thread (allows for plugin parsing in comments)
View author’s site for detailed usage.
Initially released:
2005-03-09Posted here:
14 Mar 2005Article modified:
24 Jun 2005









If there is a comment form at the Information URL, you may want to leave your comments/questions there or at the Forum thread for quicker feedback. Otherwise, comment away:
Commented (3)
Your odd/even plugin is excellent too.
Thanks für this Plugin.
no problems with txp 4.06!
Subscribe to this article's comments RSS feed. [ ? ] View Recent Comments across the site. Get a Gravatar.