Allowing browsers to rank your articles
Installation
Nothing worth noting here. Have a quick look at the options page to choose the rating system’s look:
Integration
The plugin integrates in templates as single.php, writing the code: <?php if(function_exists(‘the_ratings’)) { the_ratings(); } ?>, somewhere inside the loop.
Templates
The plugin enables to customize the ranking tool’s look, depending on the vote: already voted, not voted yet, whether there’s been votes at all… Here’s an example:
Use
The plugin is able to accept one vote only per browser, per article, thanks to a cookie system that memorizes the IP address. It keeps track of the number of times an article was ranked, and its mark too.
The admin’s point of view
The plugin keeps a list of all votes on its admin page:
Widgets
It’s available with a widget that accepts a zillion paremeters, to display a more relevant ranking than absolute best marks. Here’s an excerpt:
Here’s an example of what you can see
Suggestions de lecture
Spread this post over the world!
How did you like this post?
Please don't go without leaving a mark!
French















@Anthony
Bonjour Anthony,
Je confirme qu’en intégrant la balise [ ratings ] (sans les espaces) dans le html d’un article, on a bien accès au vote dans l’article concerné. C’est donc un très bon point, merci donc pour cette bien utile précision ! Par contre, je n’ai toujours pas réussi à intégrer le vote de façon permanente en intégrant le code dans mes templates page.php ou single.php. J’ai lu quelque part que ça pouvait tenir aux liens déclarés dans les modèles du plugin, mais là ça me dépasse complètement…
Cordialement.
Like or Dislike:
0
0
@Christophe Quinzoni Très bonne remarque, merci, j’avais oublié que ce plugin n’affiche rien une fois installé. J’ai rajouté un paragraphe sur l’intégration.
Like or Dislike:
0
0
Bonjour Anthony,
Après installation et activation du plugin, rien n’apparaît dans mes articles
(… Auriez-vous une piste à m’indiquer pour mener mon enquête ?
- un problème avec Ajax ?
- code mal intégré ?
J’ai sûrement raté un truc quelque part, mas je ne vois pas où. Merci par avance pour vos conseils.
Cordialement
Like or Dislike:
0
0
Bonjour,
je viens d’aller voir sur votre blog et on dirait que le problème a disparu, c’était quoi finalement ?
Like or Dislike:
1
0
Bonjour,
Merci pour la procédure. J’ai néanmoins un souci d’affichage avec wp-postratings. J’ai bien intégré la fonction décrite dans single.php (plus index.php et archive.php).
Le plugin apparaît bien (j’ai choisi les “stars” comme affichage). J’ai testé sur plusieurs articles, mais le nombre d’étoiles n’est pas pris en compte (aucune étoile ne s’affiche, 1 votes, moyenne:0,00).
Un avis ?
Merci.
Like or Dislike:
0
0