Textpattern plugin : ajw_top_commenter
12 June 2005 @ early morning | Comments (2)
Plugin Details
- Download:
- ajw_top_commenter
- Version:
- 0.1.2
- Forum:
- Read discussion
- Status on this site:
- Disabled
Please use forum for all bug reports and questions
Summary
Pulled from the ashes of the now-defunct plugin gbl_blog_stats, ajw_top_commenter allows for you to output a list of your website’s most active commenters.
Attributes
- break
- Standard break attribute (default: br)
- wraptag
- Standard wraptag attribute (default: p)
- limit
- Standard limit attribute (default: 10)
- link
- Whether or not to link the commenter author’s name to their web address (default: 0)
- nofollow
- If linking comment author’s name, whether or not to use a
rel="nofollow"attribute (default: 1) - groupby
- What value to check to verify an author’s identity. Accepts any combination of “email,web,name” – for example “email” or “email,name” or “web”. The best choice is checking against email, since some users don’t have web addresses and many users use the same email for commenting. (default: email)
- format
- This attribute allows you to choose how the number and name are output. This attribute follows the formatting rules set by PHP’s
sprintffunction, using ”%s” to represent each value. For example,format="%s has written %s comments"will output “Bob has left 20 comments”. Something likeformat="%s (%s)"will output “Bob (20)”. - What if you want to reverse the values and have the number appear before the name? The syntax changes slightly:
format="%2$s (%1$s)"yields “20 (Bob)”. (default: %s has written %s comments) - emptymsg
- This is simply the default text that is output if there are no comments on the site whatsoever. (default: No comments yet)
Revision History
v0.1.2
- Forgot about table prefixes… d’oh
v0.1.1
- Quick update to prevent conflicts with gbl_blog_stats
2 comments