thats template code. i said plugin. 1.4 is different, but for now...
Display Credits in Postbit:
PHP Code:
$credits_this = array($this->post['postid'], $this->post['userid'], vb_number_format($this->post['credits'], $this->registry->options['credits_decimals']));
$template_hook['postbit_userinfo_right'] = str_replace('<div class="info"><a href="credits.php?' . $this->registry->session->vars['sessionurl'] . 'u=' . $GLOBALS['credits_last'][1] . '">' . $vbphrase['credits'] . '</a>: <span id="cdt_' . $GLOBALS['credits_last'][0] . '_' . $GLOBALS['credits_last'][1] . '">' . $GLOBALS['credits_last'][2] . '</span></div>', '', $template_hook['postbit_userinfo_right']);
if ($this->registry->options['credits_public'] == 2 OR ($this->registry->options['credits_public'] == 1 AND ($this->post['userid'] == $this->registry->userinfo['userid'] OR ($this->registry->bf_ugp['creditpermissions']['credit_special'] & $this->registry->userinfo['permissions']['creditpermissions']))))
{
$template_hook['postbit_userinfo_right'] .= '<div class="info"><a href="credits.php?' . $this->registry->session->vars['sessionurl'] . 'u=' . $credits_this[1] . '">' . $vbphrase['credits'] . '</a>: <span id="cdt_' . $credits_this[0] . '_' . $credits_this[1] . '">' . $credits_this[2] . '</span></div>';
}
$GLOBALS['credits_last'] = $credits_this;
to colorize it you have to change it in two places:
'">' . $GLOBALS['credits_last'][2] . '</span></div>' to like
'"><font color="red">' . $GLOBALS['credits_last'][2] . '</font></span></div>'
and then
'">' . $credits_this[2] . '</span></div>' to like
'"><font color="red">' . $credits_this[2] . '</font></span></div>'
again, this is kinda messy, but its been redone in 1.4, and if you want that plugin before release you have to come talk to me.