MEMO

쪽지 보내기 삭제
../addons/member_communication/member_communication.addon.php 열어서 찾으신후 삭제합니다.


$oMemberController = getController('member');

// Add a menu for sending message

if($logged_info->is_admin == 'Y' || $target_member_info->allow_message == 'Y' || ($target_member_info->allow_message == 'F' && $oCommunicationModel->isFriend($member_srl)))

$oMemberController->addMemberPopupMenu(getUrl('', 'module', 'communication', 'act', 'dispCommunicationSendMessage', 'receiver_srl', $member_srl), 'cmd_send_message', '', 'popup');


친구등록 삭제
../addons/member_communication/member_communication.addon.php 열어서 찾으신후 삭제합니다.

// Add a menu for listing friends (if a friend is new)

if(!$oCommunicationModel->isAddedFriend($member_srl))

$oMemberController->addMemberPopupMenu(getUrl('', 'module', 'communication', 'act', 'dispCommunicationAddFriend', 'target_srl', $member_srl), 'cmd_add_friend', '', 'popup');


회원정보보기 삭제
../modules/member/member.model.php 열어주시고 Ctrl+F을 눌러서 아래 부분 찾아주세요. 

삭제하거나 주석처리 바랍니다.


// Display member information (Don't display to non-logged user)

if($logged_info->member_srl)

{

$url = getUrl('','mid',$mid,'act','dispMemberInfo','member_srl',$member_srl);

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

}


메일보내기 삭제 (불필요한 부분도 삭제..)

../modules/member/member.model.php 열어서 삭제하거나 주석 처리 하세요~

// When click other's nickname

if($member_srl != $logged_info->member_srl && $logged_info->member_srl)

{

// Send an email

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

            {

if($member_info->email_address)

{

$url = 'mailto:'.htmlspecialchars($member_info->email_address, ENT_COMPAT | ENT_HTML401, 'UTF-8', false);

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

}

}

}


홈페이지 보기 삭제
../modules/member/member.model.php 열어서 삭제하거나 주석 처리하시오!!


// View homepage info

if($member_info->homepage)

$oMemberController->addMemberPopupMenu(htmlspecialchars($member_info->homepage, ENT_COMPAT | ENT_HTML401, 'UTF-8', false), 'homepage', '', 'blank');


블로그 보기 삭제
../modules/member/member.model.php 열어요!! 그리고 삭제 or 주석 하시오.


// View blog info

if($member_info->blog)

$oMemberController->addMemberPopupMenu(htmlspecialchars($member_info->blog, ENT_COMPAT | ENT_HTML401, 'UTF-8', false), 'blog', '', 'blank');


회원정보 관리 삭제

../modules/member/member.model.php 열어요!! 그리고 삭제 or 주석 하시오.


$url = getUrl('','module','admin','act','dispMemberAdminInsert','member_srl',$member_srl);

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


작성글 추적 삭제

../modules/member/member.model.php 열어요!! 그리고 삭제 or 주석 하시오.


$url = getUrl('','module','admin','act','dispDocumentAdminList','search_target','member_srl','search_keyword',$member_srl);

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


작성 댓글 추적 삭제

../modules/member/member.model.php 열어요!! 그리고 삭제 or 주석 하시오.


$url = getUrl('','module','admin','act','dispCommentAdminList','search_target','member_srl','search_keyword',$member_srl);
$oMemberController->addMemberPopupMenu($url,'cmd_trace_comment',$icon_path,'TraceMemberComment');

회원정보 관리 + 작성글 추적 + 작성 댓글 추적이 모두 필요없는 경우..
../modules/member/member.model.php 열어요!! 그리고 삭제 or 주석 하시오.

// Call a trigger (after)
ModuleHandler::triggerCall('member.getMemberMenu', 'after', $null);
// Display a menu for editting member info to a top administrator
if($logged_info->is_admin == 'Y')
{
$url = getUrl('','module','admin','act','dispMemberAdminInsert','member_srl',$member_srl);
$oMemberController->addMemberPopupMenu($url,'cmd_manage_member_info',$icon_path,'MemberModifyInfo');

$url = getUrl('','module','admin','act','dispDocumentAdminList','search_target','member_srl','search_keyword',$member_srl);
$oMemberController->addMemberPopupMenu($url,'cmd_trace_document',$icon_path,'TraceMemberDocument');

$url = getUrl('','module','admin','act','dispCommentAdminList','search_target','member_srl','search_keyword',$member_srl);
$oMemberController->addMemberPopupMenu($url,'cmd_trace_comment',$icon_path,'TraceMemberComment');
}