For the life of my I cant work out how to do it without hacking code. I hate hacking code :ninja:
Hrm. Damnit. Cant find a way in without hacking. Oh well, best way I can think of:
Inside class_postbit.php, replace function parse_bbcode() with
PHP Code:
function parse_bbcode()
{
if(is_member_of($this->post, X)
{
$this->post['message'] = $this->bbcode_parser->parse($this->post['pagetext'], $this->forum['forumid'], $this->post['allowsmilie'], true);
}
else
{
$this->post['message'] = $this->bbcode_parser->parse($this->post['pagetext'], $this->forum['forumid'], $this->post['allowsmilie']);
}
}
And add to bbcode_parse_start hook
PHP Code:
if($isimgcheck)
{
$dobbimagecode = false;
$isimgcheck = false;
}
I hijacked a parameter that wasnt being used. This may break in future versions.