extra poll fields

Started by Anguz, February 03, 2004, 10:35:03 PM

Previous topic - Next topic

Anguz

I have the attached mod in my yabbse forum, will the upgrader take those new fields too or they'd be lost unless I do something else?
Cristián Lávaque http://cristianlavaque.com

[Unknown]

Open upgrade.php, and find this:

option1, option2, option3, option4, option5, option6, option7, option8,
votes1, votes2, votes3, votes4, votes5, votes6, votes7, votes8


Replace it with:

option1, option2, option3, option4, option5, option6, option7, option8,
option9, option10, option11, option12, option13, option14, option15, option16,
votes1, votes2, votes3, votes4, votes5, votes6, votes7, votes8,
votes9, votes10, votes11, votes12, votes13, votes14, votes15, votes16


Then find this:
for ($j = 0; $j < 8; $j++)

And make it:
for ($j = 0; $j < 16; $j++)

-[Unknown]

Anguz

Cristián Lávaque http://cristianlavaque.com

Advertisement: