Fixed No .LoggedIn class on html element

Naz

XenForo developer
Staff member
Not really a bug but in XF1, the html element had a class of 'LoggedIn' to indicate that but this doesn't seem to be the case in XF2. Was this intentionally dropped and/or is there an alternative?

This was pretty handy for the add-on installer to check if the user had logged in (thus had permissions to download).
 
Fair enough. For the next release you'll see either data-logged-in="true" or data-logged-in="false" on the <html> tag.
 
Back
Top Bottom