구매고객
판매자
솔루션별 질문
객관적이지 않은 사유는 인정되지 않으며, 신고 권한이 제재될 수 있습니다.
0/200
신고 사유에 해당하지 않는 글을 신고하면 신고 권한이 제한될 수 있습니다.
이 회원의 커뮤니티 콘텐츠와 알림을 내 화면에서만 숨깁니다.
신고는 접수되지 않으며, 숨긴 회원은 내 정보에서 다시 보이게 할 수 있습니다.
신고할 글이 아닌가요? 이 회원만 숨기기
신고하기로 돌아가기
그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.
전체 67032개 중 61401-61420번째
댓글 8개
grep으로 검색한 내용입니다.
[www/g4/bbs]$ grep insert_point *.php
board.php: insert_point($member[mb_id], $board[bo_read_point], "$board[bo_subject] $wr_id 글읽기", $bo_table, $wr_id, '읽기');
delete_all.php: insert_point($row[mb_id], $board[bo_write_point] * (-1), "$board[bo_subject] $row[wr_id] 글삭제");
delete_all.php: insert_point($row[mb_id], $board[bo_comment_point] * (-1), "$board[bo_subject] {$write[wr_id]}-{$row[wr_id]} 코멘트삭제");
delete_comment.php: insert_point($write[mb_id], $board[bo_comment_point] * (-1), "$board[bo_subject] {$write[wr_parent]}-{$comment_id} 코멘트삭제");
delete.php: insert_point($row[mb_id], $board[bo_write_point] * (-1), "$board[bo_subject] $row[wr_id] 글삭제");
delete.php: insert_point($row[mb_id], $board[bo_comment_point] * (-1), "$board[bo_subject] {$write[wr_id]}-{$row[wr_id]} 코멘트삭제");
download.php: insert_point($member[mb_id], $board[bo_download_point], "$board[bo_subject] $wr_id 파일 다운로드", $bo_table, $wr_id, "다운로드");
poll_update.php: insert_point($member[mb_id], $po[po_point], $po[po_id] . ". " . cut_str($po[po_subject],20) . " 투표 참여 ", "@poll", $po[po_id], "투표");
register_form_update.php: insert_point($mb_id, $config[cf_register_point], "회원가입 축하", '@member', $mb_id, '회원가입');
register_form_update.php: insert_point($mb_recommend, $config[cf_recommend_point], "{$mb_id}의 추천인", '@member', $mb_recommend, "{$mb_id} 추천");
scrap_popin_update.php: insert_point($member[mb_id], $board[bo_comment_point], "$board[bo_subject] {$wr_id}-{$comment_id} 코멘트쓰기", $bo_table, $comment_id, '코멘트');
write_comment_update.php: insert_point($member[mb_id], $board[bo_comment_point], "$board[bo_subject] {$wr_id}-{$comment_id} 코멘트쓰기", $bo_table, $comment_id, '코멘트');
write_update.php: insert_point($member[mb_id], $board[bo_write_point], "$board[bo_subject] $wr_id 글쓰기", $bo_table, $wr_id, '쓰기');
write_update.php: insert_point($member[mb_id], $board[bo_comment_point], "$board[bo_subject] $wr_id 글답변", $bo_table, $wr_id, '쓰기');
[www/g4/bbs]$ grep delete_point *.php
delete_all.php: if (!delete_point($row[mb_id], $bo_table, $row[wr_id], '쓰기'))
delete_all.php: if (!delete_point($row[mb_id], $bo_table, $row[wr_id], '코멘트'))
delete_comment.php:if (!delete_point($write[mb_id], $bo_table, $comment_id, '코멘트'))
delete.php: if (!delete_point($row[mb_id], $bo_table, $row[wr_id], '쓰기'))
delete.php: if (!delete_point($row[mb_id], $bo_table, $row[wr_id], '코멘트'))
[www/adm]$ grep insert_point *.php
admin.lib.php: insert_point($mb[mb_recommend], $config[cf_recommend_point] * (-1), "{$mb_id}님의 회원자료 삭제로 인한 추천인 포인트 반환", '@member', $mb[mb_recommend], "{$mb_id} 추천인 삭제");
point_clear.php: insert_point($row[mb_id], $total, "포인트 {$count}건 정리", "@clear", $row[mb_id], $g4[time_ymd]."-".uniqid(""));
point_update.php://insert_point($mb_id, $po_point, $po_content, '@passive', $mb_id, $member[mb_id]);
point_update.php:insert_point($mb_id, $po_point, $po_content, '@passive', $mb_id, $member[mb_id]."-".uniqid(""));
좋은 하루 되십시요...
무슨 이유인지요?
검색에 안나오네요??
고수님들 부탁합니다.
제가 직접 "코멘트 쓰기"를 "Comment Write"로 나오도록 bbs/write_comment_update.php 를 다음처럼 수정해봤습니다.
다시한번 적용해 보시고 일단 코멘트 부분만 체크해보시기 바랍니다 ^^
// 포인트 부여
//insert_point($member[mb_id], $board[bo_comment_point], "$board[bo_subject] {$wr_id}-{$comment_id} 코멘트쓰기", $bo_table, $comment_id, '코멘트'); // 원본소스 주석처리
insert_point($member[mb_id], $board[bo_comment_point], "$board[bo_subject] {$wr_id}-{$comment_id} Comment Write", $bo_table, $comment_id, '코멘트'); // 코멘트쓰기를 영문으로 변경
// 포인트 부여
function insert_point($mb_id, $point, $content='', $rel_table='', $rel_id='', $rel_action='')
{ ............... }
위에서 함수에서 사용되는 인수중 마지막의 $rel_action 부분에 들어가는 것이 insert_point() 호출시에 한글로 되어있는데 이부분은 영문으로 변경하시면 안됩니다.
아마 작업하실때 한글을 모두 영문으로 변경하신것 같은데... 메세지 부분만 변경하시고 인수의 마지막 부분은 영문으로 변경하지 마시기 바랍니다.
다만 그전 데이터는 변경되지 않고 그대로 한글로 남아 있네요...
다른 분들도 많이 참조가 되었으리라 여겨집니다.
좋은 하루 되시기 바랍니다.
insert_point 를 검색어로 찾으면 고쳐야 할 부분이 거의 다 나옵니다.
root 님에게 감사드리세요...ㅎ