By Eric Cash on Thursday, 22 October 2015
Posted in General Issues
Replies 3
Likes 0
Views 472
Votes 0
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?
Hm, to be honest I never used "Freichat" before but it's best that you contact the vendor :x
·
Thursday, 22 October 2015 23:23
·
0 Likes
·
0 Votes
·
0 Comments
·
Yes I have done that and they are as usual, uncommunicative.
·
Thursday, 22 October 2015 23:25
·
0 Likes
·
0 Votes
·
0 Comments
·
Sorry Eric, but I am unfamiliar with their scripts
·
Thursday, 22 October 2015 23:27
·
0 Likes
·
0 Votes
·
0 Comments
·
View Full Post