i'm trying to integrate phpFreeChat inside my cms..my idea essentially is:
1) A registered user can login automatically with his username , instead a visitor will have a "guest-X" name ( no one can change the nickname )
2) the user's profile in CMS , must have a button that automatically open a private chat , possibly into already opened chat window
Ok the first point is quite simple, i can do it

thanks in advance.