I have tried:
$vbulletin->templatecache['postbit_legacy'] = str_replace('<div class="postbody">','<div class="postbody <vb:if condition="$show['moderated']">moderated</vb:if>">".>',$vbulletin->templatecache['postbit_legacy']);
Which shows a syntax error in php, unexpected T_STRING
I tried this:
$vbulletin->templatecache['postbit_legacy'] = str_replace('<div class="postbody">','<div class="postbody <vb:if condition="$show[\'moderated\']">moderated</vb:if>">".>',$vbulletin->templatecache['postbit_legacy']);
Which does not work it shows errors on my page, Parse error: syntax error, unexpected T_STRING