UPDATES EasyBlog 6.0.14 Released! Joomla 5.x and PHP 8.x compatible now!

Helpdesk

Your Time
Our Time
Response Time
24 — 48 hours
We strive to provide the fastest ever response possible. However, we are not super beings.

Allow at least 24 — 48 hours
  Support is offline
It is currently off working hours and most of us aren't around

Rest assured that we will get back to you as soon as the day starts tomorrow!
  Support is offline

EasySocial Intergration with Freichat- The Holy Grail?

Eric Cash · ·
11:21 PM Thursday, 22 October 2015
None
I have been racking my noggin' over this one.
I follow the customisation instructions according to Freichat.

In hardcode.php I made the following changes.
/* Custom driver */
$usertable='0ry_community_users'; //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='userid'; //specifies the name of the field in which the user's id is stored (usually id or userid)

In PHPMyAdmin > > "0ry_community_users" is the name of the table containing EasySocial users
"alias" is the field in that table containing user name and "userid" is the field containing the user number.
In my template folder file template.php page I changed
$ses=null;

to
$ses=487;

This is the number of my logged in account. So the whole thing reads:
<?php
$ses=487;

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;
}
}
?>


Freichat does not seem to note that I am logged in and sees me as a guest. Why won't it work?
What am I not doing right?
The replies under this section are restricted to logged in users or users with an active subscription with us