Content last modified Tuesday 24 August 2021
hop to #bottom
Categories:
Author:
Current version:
0.3
About It:
Get it:
Rate it:
  • Helpful?
  • 0 Yes
  • 0 No
Flag it:

If you'd like to provide updated information and do not have access to directly edit, please contact the site admin; thanks!

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.

Article Request Count:
Initially released:
2005-03-09
Posted here:
14 Mar 2005

You know you want to visit the Archives.
Published with Textpattern