I figured we might as well keep the answer in this topic for when people search. In TP1rc1 the code has moved to the TPShout.template.php file (at the bottom).
<div class="avy2"><a href="' . $scripturl. '?action=profile;u=' . $row['value5'] . '">' . $row['avatar'] . '</a></div>
Please start your own topic when you post for support next time SI-IoBi3. Thank you.