I have two issues. I will deal with the easy one first.
Problem 1
My custom setup is using the gravatar system to obtain member images as opposed to storing them in the database. Unfortunately, although you have integrated your default system with gravatar, you don't connect it to the members email column in the database and return gravatar images by default. Instead its either - connect to a database that stores user images, or use random gravatars.
So what I want to know is how can I pass an email variable to server/freichat.php so we can correctly call the images. I have tried with my limited php knowledge to call the database directly from freichat.php but it seems doing so, causes the script to stop working (simple mysql_query statement).
So that is problem one.
Problem 2:
Problem two is more complex, because I am not sure how easily your system can integrate with what I have. I want to integrate the chat with our custom friend list. The friend list uses the following table setup:
username, friendname, friend-status
username is matched to $_SESSION[user] and if the friend-status is 2 the users are connected as friends, 1 and 0 are pending statuses.
$_SESSION[user] is not the same as $_SESSION[userid] wihich $ses is set to.
So I am not sure how to go about making this work... if I can at all.
