Lack of interest xen:username raw attribute

This suggestion has been closed automatically because it did not receive enough votes over an extended period of time. If you wish to see this, please search for an open suggestion and, if you don't find any, post a new one.

Uniphix

Active member
I suggest to add an <xen:username raw="true" />

So that way if we want to override the username to become a display name or something of that sort for some places... For example in template sidebar_online_users

There is this:

HTML:
<a href="{xen:link members, $user}"
                                class="username{xen:if '!{$user.visible}', ' invisible'}{xen:if {$user.followed}, ' followed'}">{$user.username}</a><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>

problem is i'd like to be able to have {$user.username} to be <xen:username raw="true" /> it'd simply return the username that I desire that does not have a hyperlink since I'm creating it already... besides shouldn't this whole line be something like

HTML:
<xen:username class="{xen:if '!{$user.visible}','invisible'}{xen:if {$user.followed}, ' followed'}" /><xen:if is="{$i} < {$onlineUsers.limit}">,</xen:if>
 
Upvote 0
This suggestion has been closed. Votes are no longer accepted.
Top Bottom