hide code
ok i tried and failed badly at making a code to hide text from guests
i run rc2
i tried this
if(preg_match([hideg],
$this->post['message']))
{
$this->post['message'] = preg_replace([hideg], '<if condition="$bbuserinfo['usergroupid'] != in_array($bbuserinfo[usergroupid],array(1))"> '$this->post['message']);
}
just gave me a lot of errors at the start
any ideas
i want to have the code [hideg][/hideg]
i tried with a bbcode but it just didnt work :ermm:
|