No Mith, for some reason I am still having a problem with it finding the $user in the XOOPS database. I some how have the path to the user or users id wrong.
Actually Mith, I'm putting the direct path to the URL for the userinfo.php and I think I may have it. If I can get this to work, I will PM you the info to get into the VPN we have to see. I think this would be a great module for XOOPS.
My plan is to get the buddylist working so I know the exact syntax for the buddylist param and work on just getting the XOOPS users able to auto login into the Chatroom and IM by pulling the username from the XOOPS database and I should be set.
Just an update.....it is connecting if I run the script you mention as a html instead of a PHP Script. If I run the script you mentioned as a PHP Script in a custom block I get the following error:
Parse error: parse error, unexpected $ in /vpn/flstate/VSAS/class/xoopsblock.php(146) : eval()'d code on line 17
It connects and opens up both the chatroom and IM programs, but it still cannot determine who the user is. It shows the user once it connects to the chatroom or IM as just: ?>
I will be working on this more tomorrow and will let you know if I make any head way. It may be the portion of the script:
$GLOBALS['xoopsConfig']['anonymous'];?>
that is creating the problem. I have not allowed any portion of the website to be used by "Guest". It is strictly a Registered Members only website.