Quote:
Originally Posted by rmxs
How can i add button somewere that be visible from group have permission to view the stats?
|
PHP Code:
<if condition="$show['admincplink']"><a href="misc.php?do=moderator_stats"><input type="button" value="Mod. Stat." name="B1"></a> -</if>
For persons who have access to adminCP.
And for custom usergroups:
PHP Code:
<if condition="is_member_of($bbuserinfo, X,X,X,X)"><a href="misc.php?do=moderator_stats"><input type="button" value="Mod. Stat." name="B1"></a> -</if>
Where you should replace X by the usergroups.