I have added the ability to change the Max Vote number to a variable so the admin can change the number from 10 to what ever they choice as the max vote.

mainly due to the fact that the use on one of my sites looked better if I only had up to 5 stars to display. Made the table look a little better ;)-

But figured others might want to set it as well, so here is the updated nodevote.module with the settings.

CommentFileSizeAuthor
nodevote.module13.75 KBkhoogheem

Comments

kbahey’s picture

Status: Active » Needs work

Can you please post this as a patch against the latest version?

See http://drupal.org/patch for details

jurgenhaas’s picture

Version: 4.7.x-1.x-dev » 5.x-1.x-dev
Priority: Normal » Critical

Well, I have seen and changed that variable from 10 to 5 but the help text when somebody is voting still says "10 - best vote" because this uses static text in the module file. This needs to make use of the variable.