open postings.php
find
PHP Code:
// ############################### start retrieve ip ###############################
if ($action=="getip") {
$postid=verifyid("post",$postid);
$postinfo=getpostinfo($postid);
$threadinfo=getthreadinfo($postinfo[threadid]);
$foruminfo=getthreadinfo($threadinfo[forumid]);
below add:
PHP Code:
$userinfo=getuserinfo($postinfo[userid]);
if($userinfo[usergroupid]==6 and $bbuserinfo[usergroupid]!=6) show_nopermission();