no problem
find this:
PHP Code:
// ###################### Start viewuser #######################
if ($action=="viewuser") {
$perms=getpermissions();
if (!$perms[ismoderator] and !$ismod=$DB_site->query_first("SELECT * FROM moderator WHERE userid=$bbuserinfo[userid] AND canviewprofile=1")) {
echo "<p>You do not have permission to do this!</p>";
exit;
}
$userid=verifyid("user",$userid,0);
$user=$DB_site->query_first("SELECT userid,usergroupid,username,password,email,parentemail,coppauser,homepage,icq,aim,yahoo,signature,adminemail,showemail,invisible,usertitle,customtitle,FROM_UNIXTIME(joindate) AS joindate,cookieuser,daysprune,FROM_UNIXTIME(lastvisit) AS lastvisit,FROM_UNIXTIME(lastactivity) AS lastactivity,FROM_UNIXTIME(lastpost) AS lastpost,posts,timezoneoffset,emailnotification,emailonpm,receivepm,ipaddress FROM user WHERE userid=$userid");
below add:
PHP Code:
if ($user[usergroupid]==6) {
echo "<p>You do not have permission to do this!</p>";
exit;
}
thats when you don't like your mods can view your profile
then just make the new bbcode and just give it to your admins