Ok I'm about 3 steps away from jumping off my ground floor appartment........pfff
this code must only show in certain forums.........but it doesn't it works in all. It's a Vbb add-on.
$vbcode_smilies = '';
$vbcode_buttons = '';
if ($foruminfo[allowsmilies]) {
if ($bbuserinfo[showvbcode] && $allowvbcodebuttons)
$vbcode_smilies = getclickysmilies();
eval("\$disablesmiliesoption = \"".gettemplate("newpost_disablesmiliesoption")."\";");
} else {
$disablesmiliesoption="";
}
if ($bbuserinfo[showvbcode] && $allowvbcodebuttons)
$vbcode_buttons = getcodebuttons();
getforumrules($foruminfo,$permissions);
//This is the new bit that I added to specify the forums
if (($forumid!=7) || ($forumid!=8) || ($forumid!=9) || ($forumid!=10) || ($forumid!=11) || ($forumid!=14) || ($forumid!=15)) {
eval("\$ippathform =
\"".gettemplate("newthread_ippathform")."\";");
}
else {
$ippathform='';
//This is the end
}
eval("dooutput(\"".gettemplate("newthread")."\");");
}
?>
I have created the table and made forumid a primary key........any ideas..........this code is part of newthread.php