View Full Version : check if logged-in
May-19-2005, 06:42 PM
I would like to change some things in my header depending on whether or not I am logged-in. Is this possible? I imagine it would involve detecting the status of the cookie, but I'm not certain as to how to proceed. Any quick tips?
May-22-2005, 04:52 PM
Nobody? :dunno :cry
Jul-15-2010, 07:31 AM
I want this just for doing some development tests that I don't want live for all customers to see.
I'll keep googling, but if anyone knows, please post here!
Jul-15-2010, 03:24 PM
Looks like the answer is:
if (YD.hasClass(document.body, "loggedIn") )
vBulletin® v3.8.5, Copyright ©2000-2013, Jelsoft Enterprises Ltd.