vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   How to Delete Percentages Column in Polls (https://vborg.vbsupport.ru/showthread.php?t=302880)

medicalforums 10-02-2013 07:21 AM

How to Delete Percentages Column in Polls
 
As titled,
How do I delete the percentages column in polls.

Am running vb3.8

Which code I should go for and edit.

Please help

jonii 10-04-2013 01:25 PM

Send me a PM with details.

ozzy47 10-04-2013 03:58 PM

jonii it is nice that you want to help, but since you are new, I would suggest posting help in the public, to increase your credibility.

Before giving anyone your information, or committing to a paid / unpaid job, you should read this, Protection Recommendations

medicalforums 10-05-2013 11:05 PM

Hi guys,

I still did not find the answer.

Please help.

How do I delete the column that shows the percentages of votes in polls. Running 3.8 vb

Thanks

medicalforums 10-10-2013 11:51 PM

never mind I figured it out

you need to edit pollresult template, just delete the last colum (td) in the table.

by the way this is important if you are editing poll votes, the percentages get messed up when you edit the number of votes so deleting the percentages column is necessary.

Digital Jedi 10-11-2013 12:37 AM

Actually, that shouldn't happening. The polls should recalculate after you edit. Hence the point of editing. What do you mean, exactly, by messed up?

medicalforums 10-11-2013 01:20 AM

I don't know maybe am wrong. But what happened with me is that when I change the number of votes for the options, the percentages total does not add up to 100% in a single choice poll.

Anyway, it might be my reason that I just wanted people not to be confused with percentages because in multiple choice polls the percentages do not add up to 100% anyway even if you don't edit the poll.

Digital Jedi 10-11-2013 01:35 AM

It appears that votes are recalculated, but not voters. In other words, if one person votes on a option, it's 100%. If two people vote, still 100%. If you admin remove 1 vote from that option, it's 50%, because the voter is still counted, even if the vote isn't. I also notice, that person cannot vote on the poll again.


All times are GMT. The time now is 08:29 AM.

Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.

X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.01667 seconds
  • Memory Usage 1,717KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (8)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete