Thank you thank you thank you!!!!!! Works perfectly. Exactly what I need.
There's also one related thing I'm trying to accomplish, if you don't mind. The system I'm using this for is a a script I coded myself that uses the user table to verify and "log in" members separately from the forums. Since I didn't know the vB code well, I had to make it separate. So, if they log in under this system, it won't be under the forum. This means they will always show up as a visitor in Who's Online.
Do you know how to drop vBulletin's user cookie and how to read it? If I can do this, I will be able to better integrate the system. Thanks.
Hmm interesting. When I put your code in a test page with nothing else, it works. But, when I put it at the top of my script, it doesn't work. Any idea why?