Dépôt des plugins › Détails d'un plugin

Rate it 2026.11.17

Rating system for your blogs

Documentation

Release Date Dotclear License

ABOUT

rateIt is a plugin for the open-source web publishing software called Dotclear.

Rating system for your blogs: entries, comments, categories, tags, events (plugin eventHandler) and links (plugin cinecturlink2).

A user guide in French is available.

REQUIREMENTS
  • Dotclear 2.39
  • PHP 8.1+
  • Dotclear admin permissions to configure plugin
  • Dotclear contentadmin permissions to manage votes
USAGE

First install rateIt, manualy from a zip package or from Dotclear plugins repository. (See Dotclear's documentation to know how do this)

Enable plugin and select types of items that can be rated from plugin configuration page. Three rating styles are available:

  • classic: visitor gives a note to an item (stars),
  • twin: visitor says if he likes or not an item,
  • simple: visitor just says if he likes an item.

Rating is displayed after entries content or after comments according to options, with widget Rate it: rating or with template tags. Widget Rate it: top rating lists top rated items.

The default template rateit.html can be copied to your theme to customize it. Template tags are the same as old versions:

  • <tpl:rateIt type="post" style="classic"> : rating block of current item
  • <tpl:rateItIf has_vote="1" user_voted="0" type="post" style="!twin"> : conditions
  • {{tpl:rateItTitle}}, {{tpl:rateItLinker}}, {{tpl:rateItAnchor}}
  • {{tpl:rateItNote}}, {{tpl:rateItFullnote}}, {{tpl:rateItQuotient}}, {{tpl:rateItMax}}, {{tpl:rateItMin}}
  • {{tpl:rateItTotal}}, {{tpl:rateItMaxCount}}, {{tpl:rateItMinCount}}

Votes are managed from menu Rate it under "Plugins" group.

Voters are identified by IP address, cookie or both. IP addresses are not stored, only a hash of them.

Other plugins can add types of rated items with behavior rateItModules (add an instance of class Dotclear\Plugin\rateIt\Module to the given ArrayObject).

LINKS
CONTRIBUTORS
  • Jean-Christian Denis (author)
  • Nicolas Roudaire (2014-2016)
  • Pierre Van Glabeke
  • Claude (AI assistant by Anthropic)

You are welcome to contribute to this code.

Apporter des précisions

Si vous constatez des informations manquantes sur cette page comme :

  • Incompatibilité avec certaines versions de Dotclear (autres que celle indiquée)
  • Hébergement ou configuration incompatible
  • Service web inopérant

Votre message ne sera pas mis en ligne, mais sera revu par les administrateurs.

Attention, nous ne fournissons pas de support technique pour les modules. Pour cela, veuillez utiliser le lien de support ci-dessus.

Haut de page