
10-06-2005, 06:25 PM
|
 |
|
|
Join Date: Feb 2004
Location: I LOVE New York!
Posts: 2,886
Благодарил(а): 0 раз(а)
Поблагодарили:
0 раз(а) в 0 сообщениях
|
|
Quote:
Originally Posted by neofootball
Question for you Abe1 when I edit the hook and remove radio choices and add more text questions do I edit the hook to below:
$vbulletin->input->clean_array_gpc('p', array(
'normalanswer1' => STR,
'normalanswer2' => STR,
'normalanswer3' => STR,
'normalanswer4' => STR,
'normalanswer5' => STR,
'longanswer1' => STR,
'longanswer2' => STR,
'action' => STR
));
$normalanswer1 =& $vbulletin->GPC['normalanswer1'];
$normalanswer2 =& $vbulletin->GPC['normalanswer2'];
$normalanswer3 =& $vbulletin->GPC['normalanswer3'];
$normalanswer4 =& $vbulletin->GPC['normalanswer4'];
$normalanswer5 =& $vbulletin->GPC['normalanswer5'];
$longanswer1 =& $vbulletin->GPC['longanswer1'];
$longanswer2 =& $vbulletin->GPC['longanswer2'];??
Because I can only get it to show normalanswer1 & longanswer1.
|
This is great! But, you have to add to the formanswers template these new varibles also.
|