XenForo Tutorials

Create a usergroup legend in sidebar

Submitted by Sunny1997, , Thread ID: 123416

Thread Closed
04-03-2019, 01:34 PM
#1
Create a new template namedusergroup_legend:


Code:
<div class="block"{{ widget_data($widget) }}>
<div class="block-container">
<h3 class="block-minorHeader"><i class="fa fa-user" style="padding-right: 3px;"></i>Usergroup</h3>
<div class="block-body block-row">
<dl class="pairs pairs--justified">
<div class="username" style="text-align:center;">
<span class="username--style3">Administrator</span>
<span class="username--style4">Modrator</span>
<br><span class="username--style6">Administrator</span>
<span class="username--style12">Modrator</span>
<br><span class="username--style18">Administrator</span>
<span class="username--style10">Modrator</span>
<br><span class="username--style9">Administrator</span>
<span class="username--style13">Modrator</span>
<br><span class="username--style2">Administrator</span>
</div>
</dl>
</div>
</div>
</div>

In your templatePAGE_CONTAINERfind :


Code:
<xf:ad position="container_sidebar_below" />

Add this below :

Code:
<xf:include template="usergroup_legend" />

Users browsing this thread: 1 Guest(s)