Hello! I am currently trying to integrate my vBulletin with phpfreechat. I am having no issues with that, however I was wondering if their was a way to make it so that usernames don't "save". Like, I have it set so its the forums username. But once you go in, thats the permanent username.
The code I am using for this is
$params["nick"] = $vbulletin->userinfo['username'];
I want it so if they log out, the username would be Unregistered in the chat. Or if they switch accounts, their new account would take over as the username.
Is there anyway possible to make the chat re-read the parameter instead of a saved version each time someone enters?