Everything was simple in XenForo 1.5.
I entered nic and got all available users whose nickname begins with nick
But...
How to do this under 2.x xenforo?
code xf 1.5:
Help please, I really need
I entered nic and got all available users whose nickname begins with nick
But...
How to do this under 2.x xenforo?
code xf 1.5:
HTML:
<xen:if is="{$search.users}">
<xen:sidebar>
<div class="section userResults avatarList">
<div class="secondaryContent">
<h3>{xen:phrase matched_users}</h3>
<ul>
<xen:foreach loop="$search.users" value="$user">
<li class="userResult">
<xen:avatar user="$user" size="s" img="true" />
<xen:username user="$user" rich="true" />
<div class="userTitle">{xen:helper userTitle, $user}</div>
</li>
</xen:foreach>
</ul>
</div>
</div>
</xen:sidebar>
</xen:if>
Help please, I really need