LikeDislike flexible extension of voting for MODX Revolution. It allows visitors to vote for anything you want on your website. An admin area and six different templates are included.
When you add a LikeDislike item to your page, you are free to pick a template (a style) of your choice for each item. This template can be changed at any time, while maintaining the vote results. Here is a list of all templates.
LikeDislike ships with a slick “result formatting system” giving you a lot of control over how you'd like to display the vote results.
To prevent double votes, LikeDislike sets cookies. You have the option to also enable an IP check. Both cookie and IP lifetime are configurable. Moreover, LikeDislike also allows integration with your user system. You can enable a user ID check as well (or even force users to be logged in to vote).
LikeDislike has a simple and intuitive administration module in the Control Panel MODX Revolution. At one table the vote is situated in another table - a list of IP addresses that you want to block. р>
'{+BALANCE}'
LikeDislike saves in the cache to the database and updates it after the user has voted on the site for the new object.
On page help You will be given information on the setting LikeDislike, flexible options to
The same result is displayed in different formats and templates.
If you are using in projects LikeDislike, and want to thank the author..
As you can see, I'm also demonstrating the use of different result formats in the mini_likedislik items below the quotes.
The result is output:
'{+BALANCE}'
Snippet call:
[[!LikeDislike?
&tpl=`mini_likedislik`
&name=`Mini Likedislik`
]]
Snippet call:
[[!LikeDislike?
&tpl=`mini_likedislik`
&name=`Mini Likedislik1`
&format=`{PCT_UP}% agrees`
]]
The result is output:
'{PCT_UP}% agrees'
The result is output:
'{UP} out of {TOTAL} agree'
Snippet call:
[[!LikeDislike?
&tpl=`mini_likedislik`
&name=`Mini Likedislik2`
&format=`{UP} out of {TOTAL} agree`
]]
Snippet call:
[[!LikeDislike?
&tpl=`mini_likedislik`
&name=`Mini Likedislik3`
&format=`{UP} agree, {DOWN} don't`]]
The result is output:
'{UP} agree, {DOWN} don't'