(6.2.1.3) cal's fix of public_poll..."> (6.2.1.3) cal's fix of public_poll...">
Previous Thread
Next Thread
Print Thread
Hop To
Anonymous
Unregistered
Anonymous
Unregistered
Sorry if it has been posted before <img src="https://www.ubbcentral.com/boards/images/graemlins/wink.gif" alt="" /> (6.2.1.3)

cal's fix of public_polls:<pre>Find:
-----

$width_percentage++ unless $width_percentage;

Add below:
----------

$vote_percentage = 100 * sprintf("%.2f", $results->{$dex}->{$ox} / scalar(keys %{ $polldata->{answers} })) if $quest->{type} eq 'checks';</pre>

[This message was edited by Charles Capps on August 19, 2002 at 10:27 AM.]

Anonymous
Unregistered
Anonymous
Unregistered
Re-eval in 6.3.0 please

--
Charles Capps
UBB.classic™ Developer
Having problems? Open up a support ticket!


Link Copied to Clipboard
ShoutChat
Comment Guidelines: Do post respectful and insightful comments. Don't flame, hate, spam.
Recent Topics
Bots
by Outdoorking - 04/13/2024 5:08 PM
Can you add html to language files?
by Baldeagle - 04/07/2024 2:41 PM
Do I need to rebuild my database?
by Baldeagle - 04/07/2024 2:58 AM
This is not a bug, but a suggestion
by Baldeagle - 04/05/2024 11:25 PM
spam issues
by ECNet - 03/19/2024 11:45 PM
Who's Online Now
0 members (), 686 guests, and 131 robots.
Key: Admin, Global Mod, Mod
Random Gallery Image
Latest Gallery Images
Los Angeles
Los Angeles
by isaac, August 6
3D Creations
3D Creations
by JAISP, December 30
Artistic structures
Artistic structures
by isaac, August 29
Stones
Stones
by isaac, August 19
Powered by UBB.threads™ PHP Forum Software 8.0.0
(Preview build 20230217)