Ok fixed!

Thanks for all the help folks.
Actually, maybe you can help me get this in WOL area, a new section that is (kind of like FlashChat WOL's area) where it shows you the usernames in chat and if you hover, what room they're in.
I fixed the problem by adding the IP address to trusted IP in RC admin panel
i used this in forumhome
$apichat[currentuserlocation]
And this in plugin:
Code:
function getAPI($command) {
$er = error_reporting(0);
$result = file_get_contents("http://talkjesus.com:8085/?api.".$command);
error_reporting($er);
return $result;
}
$apichat['currentuserlocation'] = getAPI("UserCount");