Originally posted by Cyrus
beautiful hack BUT, when I use it with vbportal, it doesnt allow multiple selections on the portal
can anyone help ?
beautiful hack BUT, when I use it with vbportal, it doesnt allow multiple selections on the portal
can anyone help ?
- Add temlate P_polloption_mult
Code:<tr> <td bgcolor="#DFDFDF" width="5%"><input type="checkbox" name="allvotes[$P_option[number]]" value="yes"></td> <td bgcolor="#DFDFDF" colspan="3"><smallfont>$P_option[question]</smallfont></td> </tr>
- Find in vbpstuff.php
Code:eval("\$P_pollbits .= \"".gettemplate("P_polloption")."\";");
Code:// Multi-Choice Hack if ($P_pollinfo[multiple]!=0) { eval("\$P_pollbits .= \"".gettemplate("P_polloption_mult")."\";"); } else { eval("\$P_pollbits .= \"".gettemplate("P_polloption")."\";"); } // Multi-Choice Hack
That's all.
P.S. Bravo FireFly!
Comment