How to add user awaiting info on mod bar ?

by theezy - 30-01-2015, 08:57 AM
Closed Account
Posts:
215
Joined:
Jan 2015
Likes:
9
Credits:
122
Reputation:
7
2 Years of Service
#1
OP
Posted: 30-01-2015, 08:57 AM
[Image: ys4o5E6.png]



ACP > your style > template > moderator_bar > Find this lines

Code:
<span class="itemCount {xen:if {$session.reportCounts.total}, 'alert'}">{$session.reportCounts.total}</span>
               </a>
           </xen:if>



Add these code below of the line


Code:
<xen:if is="{$visitor.is_admin} AND {$session.canAdminUsers}">
       <a href="admin.php?users/moderated" class="userModerationQueue modLink">
       <span class="itemLabel">{xen:phrase users_awaiting_approval}:</span>
       <span class="itemCount {xen:if {$session.userModerationCounts.total}, 'alert'}">{$session.userModerationCounts.total}</span>
       </a>
       </xen:if>



Save and your done :D!
The last reply on this thread is older than a month. Please do not unnecessarily bump it.
Register an account or login to reply
Create an account
Create a free account today and start posting right away. It only takes a few seconds.
Login
Log into an existing account.
1 Guest(s)