[[+discuss.user.id:notempty=`
[[+discuss.user.id:is=``:then=`
This question has been answered by BobRay. See the first response.
[[!LoginOrNothing]]
/* LoginOrNothing snippet */ if ($modx->user->hasSessionContext('web')) { return 'Whatever you want for a logged in user'; } else { return 'Whatever you want for a NOT-logged in user'; }
a href="[[DiscussUrlMaker? &action=`user` ¶ms=`{"type":"username", "user":"[[+discuss.user.username]]"}`]]"