I have it working on 3.7.0. Same/similar code. In what way does it mess up the template? A common theme is the avatar appearing above the user info (ranks etc). The way around this is to look at your original template and find the bit in between:
Code:
<if condition="$show['avatar']">
and
Code:
<a href="member.php?$session[sessionurl]u=$post[userid]">
It could be something like:
And change the
Code:
<div class="smallfont">
in the installation guide to your original code above.
Be sure to change the closing tag from div to td if this is the case.
It's very early, I'm not sure if that made any sense. :/