well i just put
Code:
$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();
above the previous code i used, and that seems to be working now, all the vbcode and smilies are working, but i am still having that problem with the thread not submiting, i've tried adding loads of code above the vbcode part, but i always end up with parse errors, do u know what line i would need to add to get it to submit