Can I suggest a small change?
Change '{microstats}' to '<!--{microstats}-->' in the template and in the str_replace in the plugin.
This way, on pages where the vb footer is used but it's not designed 'for' vbulletin (for example photopost, mediawiki) it doesn't leave the text {microstats} breaking your table, as it sees it as a comment.
It's what I've done on my site and it works a lot better.
Ollie
|