Log in

View Full Version : Passing a vBulletin username into a chat program


Ted2
03-04-2002, 06:00 PM
I am planning on using a chat service linked from my website. The chat service is accessed by embedding applet tags and parameters on my site, which will then display the chat service. One of the parameters is named "Handle". If no "Value" is passed for Handle, then the chat service prompts the user to enter a Value for Handle, of their choice, in order to chat.

Is there any way that the user's username from the vbulletin forums on my website can be [automatically] passed as the Value for Handle? I am hoping that I can add a link in the forums so that after a user logs in, they can click on the chat link and it would be automatically passed and they can chat with their same username. Is there a way? Thanks for any help! :)

Scott MacVicar
03-04-2002, 06:05 PM
well $bbuserinfo[username] is the persons username so you can use that on ANY vBulletin template, though i doubt that some characters won't be accepted by the chat systems and only A-Za-z0-9

Ted2
03-20-2002, 07:11 PM
Could you tell me, or point me in the right direction :), as to how to get the member's username into the url so it can be passed to the chat program? If I could set-up such a method, the person programming my chat program would be able to make it so the vBulletin Username is automatically accepted as the value of the "chat handle". Would be nice to restrict access to chat to those with an open vBulletin session, which I assume would stop people from forging the url and calling the chat program to assume someone else's identity. No? Any help would be appreciated.

wot-Mike
03-21-2002, 03:09 PM
I'm almost done with a chat script that does this. It's already working on my site, however there is still one issue I need to look at.

While this is specifically written for a specific chat provider, it will work for some others as well.

Ted2
03-24-2002, 12:45 PM
I'm almost done with a chat script that does this. It's already working on my site, however there is still one issue I need to look at.

While this is specifically written for a specific chat provider, it will work for some others as well.
Could you tell me, or point me in the right direction , as to how to get the logged-in member's username automatically passed to the chat program?

Ted2
03-24-2002, 03:22 PM
Nevermind, I figured it out.