i have changed functions_databuild.php this way:
$spc_forumid=explode(", ",$vboptions['spc_forumid']);
$spc_usergroupid=explode(", ",$vboptions['spc_usergroupid']);
if($vboptions['spc_status']==1 && in_array("$threadinfo[forumid]",$spc_forumid) && in_array("$bbuserinfo[usergroupid]",$spc_usergroupid)){
.............some code...............
}
and it works. it doesn't shows errors.
|