Quote:
Originally Posted by ascroft
Hi there - to launch the form from the correct forums I have a plugin that uses:
if (in_array($forumid, array(53,65)))
{
header( 'Location:/listings/misc.php?do=form&fid=8' ) ;
}
These are the same forums as the code in the custom question is using in the form itself i.e.
$answer = "<select name=\"$formbit[id]\" id=\"q_" . $formbit[id] . "\">";
foreach ($vbulletin->forumcache AS $forumid => $forum)
{
if (!in_array($forumid, array(53,65)))
{
continue;
}
if ($qo['forumid']==$forumid)
{
$forum['selected'] = ' selected="selected"';
}
$answer .= "<option value=\"$forumid\"$forum[selected]>$forum[title]</option>";
}
$answer .= "</select>";
|
Try creating a copy of the form, and test that - just to double check that there isn't something happening with tthis fid.