PDA

View Full Version : Anyone hacking the poll templates


leadZERO
03-06-2001, 02:20 AM
If you look in showthread.php line 177 the poll images are statically sized to a max of 200 pixels, this isn't good if you are editing the templates.

The old line:
$option[barnumber] = round($option[percent])*2;

What I changed it to:
$option[barnumber] = round($option[percent]/100*$maxImageColWidth);

then set $maxImageColWidth somewhere or specify it

03-06-2001, 10:07 AM
you might want to opena thread in vb2.0 bugs so this can be fixed perhaps.