Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Try Vanilla Forums Cloud product

Ready to contribute?

Amazing! Sign our contributors' agreement and then join us on GitHub.

Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
Current version is 2.1.11, released 12 June.

Solved: The shortest way to detect Guest in the code

edited June 2012 in Vanilla 2.0 Help
   if (!Gdn::Session()->IsValid()) 
      $res .= ' (GUEST)';


Sign In or Register to comment.