Thanks Rob but that method does not quite work, that would print the date number ONLY on days that have events - all days on the calendar that have no event would not have a date number how.

I have now solved the original problem using css, so line 392 now reads...

$linkstart .= "($total {$ubbt_lang['EVENTS']})<span style=\"float:left;height:1em;padding-right:4px\">";

and line 394 reads...

$linkstop = "</span></a>";

Bit of a hack but it works fine, see link below to my forum calendar:

Calendar Page