I think I found a solution to my problem with the smilies and bbcode either not showing up when they should or showing up when they shouldn't with the sig-editor hack installed. Here is the code I used to make it work right. I also took out the custom button hack ($cbutton) since it seemed to be messing with a few things concerning bbcode.
PHP Code:
if ($bbuserinfo[showvbcode] && $allowsmilies)
$vbcode_smilies = getclickysmilies();
if ($bbuserinfo[showvbcode] && $allowbbcode)
$vbcode_buttons = getcodebuttons();
And here is the original code again:
PHP Code:
if ($bbuserinfo[showvbcode])
$vbcode_smilies = getclickysmilies();
if ($bbuserinfo[showvbcode])
$vbcode_buttons = getcodebuttons();
Is there an easier or more right way to do this?
And, also, what does the erorr_reporting 7 thing do at the top of the files? Should it be in all php files we use on our forums or is there something else that has to be in the files to make it work with that?