Log in

View Full Version : Sending a user ID to a script/html as a variable


Club3G
11-11-2005, 06:40 PM
Quick question:

I have an applet with a fixed set of input commands loaded in a webtemplates page within vbulletin.

One of the lines is a username parameter, that looks something like:

param'username'='club3g'

It's plain old HTML/Javascript. How would I go about swapping the 'club3g' part of it into a variable for the username, so if Bob opens the page, the page loads with param'username'='Bob'?

Thanks much! :)

Answer is simply:


$bbuserinfo[username]


If nested in a vB page. Nobody ever answers even my easiest questions. :\