Register Members List Search Today's Posts Mark Forums Read

Reply
 
Thread Tools
  #1  
Old 01 May 2012, 12:00
hasidoo's Avatar
hasidoo hasidoo is offline
 
Join Date: Oct 2010
Poll Voting Percentage Problem

Hi all,

In my forum,when someone voted in a multiple choice poll, it displays as follows;
poll options.JPG

The percentages are allocated as 100% for each option.

But I need it to be like this:
poll2.JPG

(i.e. as an overall percentage for the whole poll)

I guess my problem is clear to all of you. Anyone knows how to get the result I wanted? Please help me with this..
Reply With Quote
  #2  
Old 01 May 2012, 21:03
kh99 kh99 is offline
 
Join Date: Aug 2009
Real name: Kevin
I think all you need to do is find this block of code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


and remove it or comment it out (by putting // at the beginning of each line). Unfortunately for some reaosn it appears in three different files: poll.php, showthread.php, and forumrunner/get_thread.php (assuming you have vb4.1.12 or later), so it needs to be done in each place.
Reply With Quote
  #3  
Old 07 May 2012, 17:41
hasidoo's Avatar
hasidoo hasidoo is offline
 
Join Date: Oct 2010
Originally Posted by kh99 View Post
I think all you need to do is find this block of code:


Block Disabled:      (Update License Status)  
Suspended or Unlicensed Members Cannot View Code.


and remove it or comment it out (by putting // at the beginning of each line). Unfortunately for some reaosn it appears in three different files: poll.php, showthread.php, and forumrunner/get_thread.php (assuming you have vb4.1.12 or later), so it needs to be done in each place.
thank you very much. I'll try this
Reply With Quote
  #4  
Old 22 Apr 2014, 17:53
hantousha hantousha is offline
 
Join Date: Jan 2007
Great. Fix Works to fix the issue with VB 3.8 percentage calculation in multiple votes. When the Mod Multiple Votes is installed.
Reply With Quote
Reply



Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off


New To Site? Need Help?

All times are GMT. The time now is 18:00.

Layout Options | Width: Wide Color: