Textpattern CMS support forum
You are not logged in. Register | Login | Help
- Topics: Active | Unanswered
Pages: 1
[plugin] [ORPHAN] etz_comments_pending
Outputs a message with the number of comments per article pending approval
Usage:
<txp:etz_comments_pending_count />
returns the number of comments currently not shown. Valid attributes are:parent
, which allows you to define another article’s Textpattern ID, instead of the default current article ID.
<txp:etz_comments_pending />
returns a message about the number of comments pending approval. Valid attributes are:parent
, with the same use as above.zero
is the message shown if there aren’t any hidden comments, and defaults to “There aren’t any comments pending approval.”. This is only shown if you specifyshowzero="1"
.singular
is the message shown if there is only one hidden comment, and defaults to “There is one comment pending approval.”.plural
is the message shown if there are two or more hidden comments, and defaults to “There are %d comments pending approval.”, where%d
is substituted by the actual number of hidden comments.showzero
; see above.tag
, which defaults top
, andclass
, which defaults toetz_comments_pending
.
This software is both free as in beer and free as in freedom. If you like it or think it’s useful, you may consider bying me something from my wishlist.
Last edited by Etz Haim (2005-11-26 18:48:47)
VC3 :: weblog :: my wishlist
Offline
Re: [plugin] [ORPHAN] etz_comments_pending
Version 0.3 turns itself off when comment moderation is disabled.
VC3 :: weblog :: my wishlist
Offline
Re: [plugin] [ORPHAN] etz_comments_pending
Version 0.3.1 includes a bugfix.
VC3 :: weblog :: my wishlist
Offline
Pages: 1