I have attempted to do so with no success.
I changed the lines in hardcode.php
$usertable='userid'; //specifies the name of the table in which your user information is stored.
$row_username='alias'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='profile_id'; //specifies the name of the field in which the user's id is stored (usually id or userid)
I added the following code to my template.php page:
<?php
$ses=null;
if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){
if(is_file("/home/account/public_html/site/freichat/hardcode.php")){
require "/home/account/public_html/site/freichat/hardcode.php";
$temp_id = $ses . $uid;
return md5($temp_id);
}
else
{
echo "<script>alert('module freichatx says: hardcode.php file not
found!');</script>";
}
return 0;
}
}
?>
Still no avatar. When I am logged in freichat does not know me from Adam. Can anyone make an instructional video for integrating easysocial avatars for freichat.
I have attempted to do so with no success.
I changed the lines in hardcode.php
````
$usertable='userid'; //specifies the name of the table in which your user information is stored.
$row_username='alias'; //specifies the name of the field in which the user's name/display name is stored.
$row_userid='profile_id'; //specifies the name of the field in which the user's id is stored (usually id or userid)
````
I added the following code to my template.php page:
````
&lt;?php
$ses=null;
if(!function_exists("freichatx_get_hash")){
function freichatx_get_hash($ses){
if(is_file("/home/account/public_html/site/freichat/hardcode.php")){
require "/home/account/public_html/site/freichat/hardcode.php";
$temp_id = $ses . $uid;
return md5($temp_id);
}
else
{
echo "&lt;script&gt;alert('module freichatx says: hardcode.php file not
found!');&lt;/script&gt;";
}
return 0;
}
}
?&gt;
````
Still no avatar. When I am logged in freichat does not know me from Adam. Can anyone make an instructional video for integrating easysocial avatars for freichat.