Jot 1.1.4, MODx Evo 1.0.2
The problem I have is that many of my webusers have an email address as their username, so when they post a comment their email address is clearly visible to the world.
After poring over various php scripts - Jot snippet and its includes, I eventually tracked it down to the template itself (chunk.comment.inc.html), in particular, this bit:
[+comment.createdby:userinfo=`username`:ifempty=`[+comment.custom.name:ifempty=`[+jot.guestname+]`:esc+]`+]
I assume that
comment.createdby:userinfo=`username` means return the username identified by the id stored in the createdby field.
Is there any way to amend this to only return the part before the @ char? So if the username is
[email protected], I want it to show only abc123.