The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
I'm having a templating problem that I have narrowed down to my plugins. If you go to this page you can see the problem I am having (see the extra threadfields section):
http://www.onereef.com/forums/search.php The check boxes do not line up well with the words they represent. This is the code in the plugin that needs to be altered but I have no clue what it means. Code:
if ($threadfield['type'] == checkbox) { $checkboxes = explode("\n", $threadfield['options']); $numoptions = 0; unset($checkboxstr); $alloptions = explode(", ", $threadinfo['field' . $fieldid]); foreach($checkboxes AS $checkbox) { unset($checkboxselected); if (in_array(trim($checkbox), $alloptions)) { $checkboxselected = "checked=\"checked\""; } $checkboxstr .= "$checkbox<input type=\"checkbox\" name=\"fields[$threadfield[fieldid]][$numoptions]\" value=\"$checkbox\" $checkboxselected />"; $numoptions++; } Hope someone can help. John |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|