Quote:
Originally Posted by SaN-DeeP
anyway to restrict this hack to be used only by administrators ?
i want to disable this to be used by moderators and super-mods
Regards,
|
I would add a conditional to
postbit:
PHP Code:
<if condition="$bbuserinfo[usergroupid] == 6">
// ipinfo.php URL
<else />
// regular URL
</if>
Then, edit ipinfo.php
Find:
PHP Code:
if (!can_moderate($threadinfo['forumid'], 'canviewips'))
Replace with:
PHP Code:
if ($bbuserinfo['usergroupid'] != 6)