Fantastic - thanks for being so thorough with your explanation.
I'll give it a go shortly and let you know how I go.
Thanks,
hilaryl
--------------- Added [DATE]1427333234[/DATE] at [TIME]1427333234[/TIME] ---------------
Works like a charm!
Actually ended up tweaking it a bit and added what I wanted into another template_hook so I don't have to alter the post_bit template.
Full plugin code below:
HTML Code:
$new_user_posts = str_replace(',', '', $post['posts']);
if ($new_user_posts > 500) {
$template_hook['postbit_userinfo_right_after_posts'] .= '<!--<dt></dt><dd>' . $new_user_posts . '</dd>-->';
}