Ok here is the code to get the like articles by the same author. I just have it display the count of the like articles. I hope th "code" can get at least the information he needs from it..
<if test="is_array( $records ) && count( $records )">
<div class='ipsSideBlock clearfix' id='recent_articles'>
<h3>{$title}</h3>
<ul class='block_list'>
<foreach loop="$records as $r">
<php>$likeRecs = array();
ipsRegistry::DB()->build(array('select' => '*','from' => 'ccs_custom_database_1',
'where' => 'member_id='.$r['member_id'].' and post_key != "'.$r['post_key'].'"'));
$rnew = ipsRegistry::DB()->execute();
while( $rlikes = ipsRegistry::DB()->fetch($rnew) ){ $likeRecs[] = $rlikes; }
</php> ** {parse expression="count($likeRecs)"}**
<li>
<a href='{$r['url']}'>{parse expression="IPSText::truncate( $r['field_1_value'], 30 )"}</a>
</li>
</foreach>
</ul>
</div>
<br />
</if>