Fork me on GitHub
Please upgrade to 2.1.x here. The 2.0 branch is no longer being updated.
You should grab 2.1.9, released 18 March. It's what all the cool kids are doing.

Solved: The shortest way to detect Guest in the code

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

Comments

Sign In or Register to comment.