Hi,
I have something called FCChat, and when trying to pull someone's avatar it's going to
modules/mod_fcchat/proxies/images/comprofiler/avatar.jpg
Instead of images/comrpofiler/avatar.jpg
Changing the path in the module's config doesn't work, I'm looking at the PHP file where it pulls the avatar but not sure how to change the variable $avatar.
Code:
//Grab the avatar
if(RETURN_AVATAR){
$avatar=fc_get_avatar();
if (!empty($avatar)){
echo "<fcchatresponse2>/" . $avatar . "<fcchatresponse2>";
}else{
echo "<fcchatresponse2><fcchatresponse2>";
}
}
}
}else{
$avatar=fc_get_avatar();
if (!empty($avatar)){
echo "<fcchatresponse>/" . $avatar . "<fcchatresponse>";
}else{
echo "<fcchatresponse>0<fcchatresponse>";
}
}
Code:
$avatar=fc_get_avatar();
Anyone have any ideas what I need to change here for it to pull CB's avatar function call?
Here's the full source code incase: