I have read the manual for adding Avatar support in a Custom setup.
I did not changed ag.php because the field name is correct.
//Avatar
$avatar_field_name = 'avatar';I changed in Custom.php:
public function avatar_url($avatar) {
//$murl = str_replace("server/freichat.php", "", $this->url);
//$avatar_url = $murl . 'client/jquery/user.jpeg';
$murl = "http://www.mysite.nl/img/avatars/";
$avatar_url = $murl . $avatar;
return $avatar_url;
}The avatar is not showing.
I have read the manual for adding Avatar support in a Custom setup.
I did not changed ag.php because the field name is correct.
<code>
//Avatar
$avatar_field_name = 'avatar';
</code>
I changed in Custom.php:
<code>
public function avatar_url($avatar) {
//$murl = str_replace("server/freichat.php", "", $this->url);
//$avatar_url = $murl . 'client/jquery/user.jpeg';
$murl = "http://www.mysite.nl/img/avatars/";
$avatar_url = $murl . $avatar;
return $avatar_url;
}
</code>
The avatar is not showing.