Need code for avatar

Are there any dolphin/vBullein experts in the house? I'm not sure if I can do this or if it will even work . I need some code that will show a users avatar,  like the one used in the spy module. The code I have now will grab the users avatar from vBulletin but I want to somehow grab it from dolphin. Any Ideas?

 

I have to replace the code in red with the dolphin avatar code

public function get_html_table()
{
$html = "\n\n".'    <div class="dbContent"><tbody><td>'."\n";

foreach($this->data as $topic) {
$html .= '<div class="rss_item_wrapper">
<table><td><div style="background: url(vbforum/images/misc/unknown.gif) no-repeat center; width: 40px;  height: 39px; border: 0px;" >
<a href="vbforum/member.php?$session[sessionurl]u=$thread[postuserid]"><img src="vbforum/image.php?u=$thread[postuserid]&type=thumb" width="39" height="39" border=0 /></a>
</div></td>
<td><div class="rss_item_header">
<a href="'.$topic['url'].'">'.$topic['title'].'</a></div>
<div class="rss_item_info">last reply by: <a href="'.$topic['lastposter'].'">'.$topic['lastposter'].'</a> at  <a href="'.$topic['url_last'].'">'.$topic['last_post_time'].'</a>
</div></div></td></table><div class="clear_both">&nbsp;</div>'."\n";        
}        

$html .=    '</tbody>        
</div>';    

return $html;
}

Give me something to believe in...
Quote · 20 May 2011
 
 
Below is the legacy version of the Boonex site, maintained for Dolphin.Pro 7.x support.
The new Dolphin solution is powered by UNA Community Management System.