Quote:
Originally Posted by Unpossible
For all those who forget where to locate the stats page, I just did a quick template change which sorted it out for me.
Navbar:
Find:
PHP Code:
<if condition="$show['wollink']"><tr><td class="vbmenu_option"><a href="online.php$session[sessionurl_q]">$vbphrase[whos_online]</a></td></tr></if>
add below
PHP Code:
<if condition="$bbuserinfo[userid]"><tr><td class="vbmenu_option"><a href="$vboptions[bburl]/misc.php?do=moderator_stats$session[sessionurl]">View Moderator Stats</a></td></tr></if>
That will place a link to the mod stat page in your navbar.
Not figured out how to restrict it to just the groups allowed to view, but if anyone who isn't allowed to view it attempts to view, they'll get the standard vBulletin no permission page.
|
Change:
$bbuserinfo[userid]
to:
$bbuserinfo[usergroupid] == 6