// EDITING...
//Comma separated list of groups ALLOWED to use bbcode, html, etc...
$groups='3,4,6';// Empty to disable.
$groupss= explode(',',$groups);if(empty($groups)||!in_array($post['usergroup'],$groupss)){// 0 = NO, 1 = YES
$parseroptions=array('allow_html'=>0,'allow_mycode'=>1,'allow_smilies'=>1,'allow_imgcode'=>0,'allow_videocode'=>0,'filter_badwords'=>1);$post[$post_field]=$parser->parse_message($field_value,$parseroptions);}else{$post[$post_field]= htmlspecialchars_uni($field_value);}// EDITING...
// EDITING...
//Comma separated list of groups id ALLOWED to use bbcode, html, etc...
$groups='3,4,6';// Empty to disable.
$groupss= explode(',',$groups);if(empty($groups)||!in_array($post['usergroup'],$groupss)){// 0 = NO, 1 = YES
$parseroptions=array('allow_html'=>0,'allow_mycode'=>1,'allow_smilies'=>1,'allow_imgcode'=>0,'allow_videocode'=>0,'filter_badwords'=>1);$customfieldval=$parser->parse_message($customfieldval,$parseroptions);}else{$customfield['name']= htmlspecialchars_uni($customfield['name']);}// EDITING...
Comments are self explanatory. I din't tested BTW, that will be your job
removing the semicolons changes the error message to Parse error: syntax error, unexpected '=', expecting ')' in C:\xampp\htdocs\mybb\inc\functions_post.php on line 126
i replaced the codes but the Parse error: syntax error, unexpected '=', expecting ')' in C:\xampp\htdocs\mybb\inc\functions_post.php on line 126 error message stays