검색을 해보시면 원하는 답을 찾을수도 있답니다.
팁관련 답변은 누구나 하실 수 있습니다.
0
조회 수 : 614 신고 : 0
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시
![BEST](/modules/board/skins/xe_webmini/img/common/icon_bestreply.gif)
- 추천수 50개이상
- 추천수 30개이상
- 추천수 20개이상
- 추천수 10개이상
- 추천수 3개이상
댓글 '1'
![profile](http://web.webmini.net/files/member_extra_info/profile_image/004/4.png?20210818221136)
![title : [ani]깜빡이는 표정 title: [ani]깜빡이는 표정](http://web.webmini.net/./files/iconshop/74a37aadbde84c591808859b369e85e0.gif)
http://www.xpressengine.com/17921850 글을 참고해보세요..
XE 1.4.0.5 기준으로
/modules/comment/comment.model.php 여시고
180~194 줄을 아래처럼 수정해 보세요.
$comment_list = $output->data;
if($comment_list) {
if(!is_array($comment_list)) $comment_list = array($comment_list);
$comment_count = count($comment_list);
$oDocumentModel = &getModel('document'); // 추가
foreach($comment_list as $key => $attribute) {
if(!$attribute->comment_srl) continue;
$oDocument = $oDocumentModel->getDocument($attribute->document_srl); // 추가
if($oDocument->isSecret()) continue; // 추가
$oComment = null;
$oComment = new commentItem();
$oComment->setAttribute($attribute);
if($oComment->isSecret()) continue; // 추가
$result[$key] = $oComment;
}