Number of Votes versus Number of Poll Submissions
  • Andy
  • 1 Year ago
  • Closed

Could you rethink what's best regarding how the 'Number of Votes' data is shown?

I use both simple and complex polls... My complex polls are of the mutli-column radio grid option - and can have say 20 questions easily.... Trouble is Community Polls currenty then displays that as '20 Votes' - I think in most people's mind 1 poll = 1 vote? You've basically got feedback from 1 person....

On my Community Polls home page it gives the wrong impression when my simple polls show low numbers of votes and the more complex ones leap into huge numbers really quickly.... Also clients who I operate polls for say 'How many people have voted then?' and we have to say 'Well, you take this number and then you divide it by how many questions you've asked'

Hope that makes sense....

Overall of course totally delighted with Community Polls!

 

 

 

Discussions
  • Maverick
    I understand that. May be a new string like "n people voted" would makes sence.
    1 Year ago Maverick
  • GUEST

    Hello  ,

     

    I am facing the same problem.

    I am working for www.globalpoll.nl and want to the number of  voters for the complex grid polls. 

    This is a usefull value in grid-polls .

     

    Now only the votes are available ( each row in a grid poll count for a vote ), the number of voters is not yet available. 

     

    To get the number of poll voters in a grid poll I did the following :

     

    In file com_communitypolls/models/polls.php, for function &getPolls() , I added ',p.voters' in the query line

    $query = 'SELECT p.id, p.title, CASE WHEN CHAR_LENGTH(p.alias) THEN' .

                    ' CONCAT_WS(\':\', p.id, p.alias) ELSE p.id END as slug,  p.votes, ' 

    in

    [i]$query = 'SELECT p.id, p.title, CASE WHEN CHAR_LENGTH(p.alias) THEN' .

                    ' CONCAT_WS(\':\', p.id, p.alias) ELSE p.id END as slug, p.votes, p.voters, 

     

    And after that I was able to use $poll->voters in  components/com_communitypolls/templates/default/list.php.

     

    I hope this can be build in in the source to prevent troubles for me with future updates.

     

    Kind regards ,

    Erwin.

    1 Year ago GlobalPoll
  • Maverick
    The fix will be added in the next release.
    1 Year ago Maverick
  • Maverick

    Added voters field to the fetch list, fetch poll queries.

    Also added new text to display how many voters voted and last voted date just below poll description.

    version: 1.5.25

    1 Year ago Maverick

Powered by Bug Tracker

Random Poll

How many sites of you are using Community Polls extension?
Please vote or enter the answer if no option applicable to you.
Others, please enter here:
248342339 [{"id":"2468","title":"1","votes":"189","pct":"31.87","type":"x","order":"0","resources":[]},{"id":"2469","title":"2","votes":"106","pct":"17.88","type":"x","order":"0","resources":[]},{"id":"2470","title":"3","votes":"112","pct":"18.89","type":"x","order":"0","resources":[]},{"id":"2471","title":"4","votes":"84","pct":"14.17","type":"x","order":"0","resources":[]},{"id":"2472","title":"5","votes":"74","pct":"12.48","type":"x","order":"0","resources":[]}] ["#ff5b00","#4ac0f2","#b80028","#eef66c","#60bb22","#b96a9a","#62c2cc"] gpie 200 200 /demos/polls/vote/742-how-many-sites-of-you-are-using-community-polls-extension.html No answer selected. Please try again. Thank you for voting. Answers Votes ...

25% Off Coupon

Joomla runs best on HostGator. Get 25% off on your hosting bill at hostgator with coupon code COREJOOMLA25OFF.
Sign up now.

Newsletter

We do not spam your mailbox. Product updates/offers, security updates etc. will be sent.
captcha
Terms and Conditions