EE entry rating module
ModulesI finally could force myself to write up at least a rough documentation for an entry rating module I made some time ago. So here it ...
I finally could force myself to write up at least a rough documentation for an entry rating module I made some time ago. So here it ...
If you found something useful here and want to show your appreciation feel free to
or
@Keith Ecklund:
Hmm. Probably this ain’t the right thing for you then.
The reason being that the rating form in this module always has 5 options.
It would be relatively easy to integrate an option that allows using it for what you described and I may even add that when I have some spare time but I can’t promise it right now
Posted by on 08/21 at 10:08 AM
@Gerard:
You mean, if noone has voted yet, then don’t show the results?
This should actually work, if you do something like this:
{exp:entry_rating:show_rating entry_id="{entry_id}"}
{if {overall_votings} > 0}
<span title="{;;overall_vote};;">{overall_vote_symbol}</span> votes: {overall_votings}
{/if}
{/exp:entry_rating:show_rating}
Posted by on 08/21 at 09:50 AM
On a group site that I run I am thinking of implementing a variation of your rating module, but am not sure if, or how, it would work. I was hoping you could tell me if what I’m planning would work before I waste a day poking around in code that I don’t understand, trying to figure things out.
The members of my site are opposed to an outright rating system, but would like, on occasion, to be able to give an entry some sort of recognition or “thumbs up,” if you will.
I’m imagining that the calculations in your module could be modified somehow, so that rather than adding the total ratings and then dividing by the number of votes, the voting option would be limited to 1 and the result shown would be a sum of all the votes. Does this make sense? The result shown on the page would then be the number of “thumbs up” the entry received from members.
Like I say, I don’t know php at all, so I’m not sure how this would work, but it seems like this change doesn’t change how your module functions, other than in the mathematics of it.
Sorry for the rather long comment. I would have emailed you directly with this but didn’t see an address anywhere. If you can help me out, or even just let me know if this is a possible solution, I would greatly appreciate it. Thanks.
Posted by Keith Ecklund on 08/19 at 05:12 PM
Really appreciate this module! I’ve been looking for this for quite a while now. I do have request though, that is if you could make it possible to do something with the {if} statement, like this:
{if visitor_vote > “0"}your vote: {visitor_vote_symbol}{/if}
This way you can prevent showing emty votes, and only start showing it when someone actually did vote. I think that would make it an even better module.
Posted by Gerard on 08/15 at 08:50 PM