You could try this: use the code at the link above, but add this at the end (after the added code):
PHP Code:
//CUSTOM FOR DISPLAY OF STATS IN NAVBAR
vB_Template::preRegister('navbar', array('numberguest' => $numberguest,
'numbermembers' => $numbermembers,
'numberregistered' => $numberregistered,
'totalonline' => $totalonline,
'activemembers' => $activemembers,
'activeusers' => $activeusers,
'totalposts' => $totalposts,
'totalthreads' => $totalthreads));
//EO CUSTOM FOR DISPLAY OF STATS IN NAVBAR
This can be done with plugins so that you don't need to modify code, but I don't have time to work that out, so this was the easiest way to tell you something that might work (hopefully there aren't any errors because I haven't tried the code).