Go to main content

Textpattern CMS support forum

You are not logged in. Register | Login | Help

#1 2005-10-23 13:52:38

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

[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 specify showzero="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 to p, and class, which defaults to etz_comments_pending.

Download version 0.3.1 now!

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)

Offline

#2 2005-10-31 23:13:23

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_comments_pending

Version 0.3 turns itself off when comment moderation is disabled.

Offline

#3 2005-11-26 18:48:55

Etz Haim
Archived Plugin Author
From: Karlstad, Sweden
Registered: 2005-01-24
Posts: 262
Website

Re: [plugin] [ORPHAN] etz_comments_pending

Version 0.3.1 includes a bugfix.

Offline

Board footer

Powered by FluxBB