생각이 잘 안나서 질문합니다..자신의 글에 코멘트 작성시 정보
생각이 잘 안나서 질문합니다..자신의 글에 코멘트 작성시본문
원글인 자신의 글에 코멘트 작성시 포인트 주지 않기를 원합니다..
if ($mb_id != $member[mb_id]) {
이렇게 하면 될까요..
되는거 같기도 하고 아닌거 같기도 하고 하루종일 이것저것 하느라 머리만 디게 아프네요.
if ($mb_id != $member[mb_id]) {
이렇게 하면 될까요..
되는거 같기도 하고 아닌거 같기도 하고 하루종일 이것저것 하느라 머리만 디게 아프네요.
댓글 전체
if ($view[mb_id] != $member[mb_id]) {
...
}
이게 아닐까요?
...
}
이게 아닐까요?
bbs/write_comment_update.php: 197
// 포인트 부여
if( $write['mb_id'] != $member['mb_id']
insert_point($member[mb_id], $board[bo_comment_point], "$board[bo_subject] {$wr_id}-{$comment_id} 코멘트쓰기", $bo_table, $comment_id, '코멘트'
);
또는 해당 board 스킨
write_comment_update.head.skin.php
<?php
if( $write['mb_id'] != $member['mb_id'] $board[bo_comment_point]=0;
?>
둘째 방법은 $board[bo_comment_point] 값을 바꾸는 것이라 주의가 필요합니다.
// 포인트 부여
if( $write['mb_id'] != $member['mb_id']
insert_point($member[mb_id], $board[bo_comment_point], "$board[bo_subject] {$wr_id}-{$comment_id} 코멘트쓰기", $bo_table, $comment_id, '코멘트'
);
또는 해당 board 스킨
write_comment_update.head.skin.php
<?php
if( $write['mb_id'] != $member['mb_id'] $board[bo_comment_point]=0;
?>
둘째 방법은 $board[bo_comment_point] 값을 바꾸는 것이라 주의가 필요합니다.
감사합니다...^^