닉네임 클릭시 회원정보.....등 노출 안되게 할 수가 있습니다.

xe/modules/member/member.model.php

 

line 116 쯤~~

$logged_info = Context::get('logged_info');  이것 바로 아래에


if($logged_info->is_admin!='Y') return;

이것 넣어주시면 클릭시에 관리자에게만 나타납니다.



삭제처리


xe/modules/member/member.model.php


에서140 ~ 145 행


// Send an email

if($member_info->email_address)

{

$url = 'mailto:'.htmlspecialchars($member_info->email_address);

$oMemberController->addMemberPopupMenu($url,'cmd_send_email',$icon_path);

}




관리자에게 만 보이게 


// Send an email, show only for admin

if($logged_info->is_admin == 'Y')

{

   if($member_info->email_address)

   {

$url = 'mailto:'.htmlspecialchars($member_info->email_address);

$oMemberController->addMemberPopupMenu($url,'cmd_send_email',$icon_path);

   }

}

  • 인기글
  • 최근글
  • 최근댓글