Jump to main content Jump to doc navigation

Что такое QuipCount?

QuipCount это вспомогательный сниппет Quip. Он быстро возвращает число комментариев в ветке или у пользователя.

Использование

Число комментариев в ветке:

[[QuipCount? &thread=`mythread`]]

Число комментариев пользователя с username jb2009:

[[QuipCount? &type=`user` &user=`jb2009`]]

Доступные свойства

Name Description Default Value
type Режим QuipCount: "thread" или "user". thread
thread В режиме thread: ветка для подсчёта комментариев.
user В режиме user: ID пользователя или username.

Примеры

Число комментариев в ветке "thread32":

[[QuipCount? &thread=`thread32`]]

Число комментариев пользователя mikegeorge:

[[QuipCount? &type=`user` &user=`mikegeorge`]]

См. также

  1. Quip.Quip
    1. Quip.Quip.tplComment
    2. Quip.Quip.tplCommentOptions
    3. Quip.Quip.tplComments
    4. Quip.Quip.tplReport
  2. Quip.QuipCount
  3. Quip.QuipLatestComments
  4. Quip.QuipReply
    1. Quip.QuipReply.tplAddComment
    2. Quip.QuipReply.tplLoginToComment
    3. Quip.QuipReply.tplPreview
  5. Quip.QuipRss
  6. Quip.Upgrading
    1. Quip.Upgrading to 1.0.1

Support the team building MODX with a monthly donation.

The budget raised through OpenCollective is transparent, including payouts, and any contributor can apply to be paid for their work on MODX.

Backers

  • modmore
  • STERC
  • Digital Penguin
  • Jens Wittmann – Gestaltung & Entwicklung
  • CrewMark
  • Fabian Christen
  • Sepia River Studios
  • Dannevang Digital
  • Alex
  • A. Moreno
  • Chris Fickling
  • Stéphane Jäggi
  • Murray Wood
  • Anton Tarasov
  • deJaya
  • JT Skaggs
  • Lefthandmedia
  • eydolan
  • Following Sea
  • Guido Gallenkamp
  • YJ
  • Raffy
  • Snow Creative
  • Nick Clark
  • Guest
  • Helen
  • krisznet
  • Yanni
  • Richard

Budget

$204 per month—let's make that $500!

Learn more