| 원작자 | JamSun2 |
|---|---|
| 출처 | ![]() |
| 적용여부 | 적용 |
| 적용페이지 | ![]() |
안녕하세요. 잠순이입니다. 파란색부분은 게시판설정에서 스킨관리에 리플을 표시할지 안할지를 적용하는 소스입니다. 그리고 리스트에 표현되는 리플부분을 세밀하게 설정할려면 common.css안에 아래의 소스를 추가하고 알맞게 꾸미시면 됩니다. 위의 팁중 일부는 제로보드사이트에서 가져왔고(리스트 나오게 하는 법)
zbxe로 넘어오면서 한동안 활동을 안했네요.
지난 10월 10일에 "이홍규"님이 코멘트리스트가 함께 출력되는 게시판이 필요하시다고 메일을 보내셨더군요. 요즘 활동을 안해서...모듈 스킨이 어떻게 생겼는지도 가물가물.....
대충 내용을 들어보면, 기존에 스킨이 있었는데 버전이 안 맞아서 사용할 수 없다고 하더군요.
기존에 "지허"님이 만들어놓으신 스킨이 있습니다.
" 코멘트 리스트도 함께 나오는 게시판 http://www.zeroboard.com/15842562 - 지허 - "
여기서는 list.html을 수정하도록 되어있는데, 바뀐 버전에서는 그 파일이 아니고, style.list.html을 수정해야 보입니다. 그래서 그 부분만 수정해서 올립니다.
zbxe/modules/board/skins/xe_board/style.list.html 파일을 덮어쓰시면 아래와 같이 코멘트가 보이실 것입니다.
수정하실 부분은... style.list.html에서 붉은색 부분입니다.
<!--@if($module_info->display_author!='N')--><td class="author"><div class="member_{$document->get('member_srl')}">{$document->getNickName()}</div></td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading">{$document->get('readed_count')>0?$document->get('readed_count'):' '}</td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend">{$document->get('voted_count')!=0?$document->get('voted_count'):' '}</td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{$document->getRegdate('Y-m-d')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date">{zdate($document->get('last_update'),'Y-m-d H:i')}</td><!--@end-->
</tr>
<!-- 코멘트 리스트 시작 -->
<!--@if($module_info->list_replyContent!='N')-->
<!--@if(!($oDocument->isExists() && $grant->view && $module_info->cmtlist_at_boardlist == 'nolist'))-->
<!--@if($document->getCommentCount())-->
<!--@foreach($document->getComments() as $key => $val)-->
<tr class="r">
<!--@if($module_info->display_number!='N')--><td class="num"> </td><!--@end-->
<!--@if($grant->is_admin)--><td class="checkbox"> </td><!--@end-->
<td class="title" >
<ul id="listreply">
<li class="listreply">
<div <!--@if($val->depth < 11)-->style="margin-left:{($val->depth)*1.3}em"<!--@else-->style="margin-left:13em"<!--@end--> class="replyIndent">
<div class="replyContent" <!--@if($module_info->div_column == 'yescolumn')-->style="width:100%"<!--@end--> >
<a href="./{getUrl("document_srl',$document->document_srl, 'comment_srl', $val->comment_srl)}#comment_{$val->comment_srl}">
<!--@if(!$module_info->subject_cut_size) -->
{cut_str(strip_tags($val->content),80,'...')}
<!--@else-->
{cut_str(strip_tags($val->content),$module_info->subject_cut_size,'...')}
<!--@end-->
</a>
</div>
</div>
</li>
</ul>
</td>
<!--@if($module_info->display_author!='N')--><td class="author">{($val->nick_name)}</td><!--@end-->
<!--@if($module_info->display_readed_count!='N')--><td class="reading"> </td><!--@end-->
<!--@if($module_info->display_voted_count!='N')--><td class="recommend"> </td><!--@end-->
<!--@if($module_info->display_regdate!='N')--><td class="date">{zdate($val->regdate, 'm.d/H.i')}</td><!--@end-->
<!--@if($module_info->display_last_update=='Y')--><td class="date"> </td><!--@end-->
</tr>
<!--@end-->
<!--@end-->
<!--@end-->
<!--@end-->
<!-- 코멘트 리스트 끝 -->
<!--@end-->
이 소스를 적용할려면 skin.xml에 아래의 소스를 추가하면 됩니다.
이 소스를 적용하고나면 같은 게시판스킨으로도 리플부분의 유.무를 나탄낼 수 있습니다.
<title xml:lang="ko">리스트 리플</title>
<title xml:lang="en">list_reply</title>
<title xml:lang="jp">list_reply</title>
<title xml:lang="zh-CN">list_reply</title>
<title xml:lang="es-CN">list_reply</title>
<title xml:lang="zh-TW">list_reply</title>
<options value="N">
<title xml:lang="ko">출력하지 않음</title>
<title xml:lang="en">not display</title>
<title xml:lang="jp">not display</title>
<title xml:lang="zh-CN">不显示</title>
<title xml:lang="es">not display</title>
<title xml:lang="zh-TW">隱藏</title>
</options>
<options value="Y">
<title xml:lang="ko">출력</title>
<title xml:lang="en">display</title>
<title xml:lang="jp">display</title>
<title xml:lang="zh-CN">显示</title>
<title xml:lang="es">display</title>
<title xml:lang="zh-TW">顯示</title>
</options>
</var>
.boardList .r .author{ padding-left:45px; color:#A6A39D; }
.boardList td ul li .replyContent a { font:8pt "돋움"; color:#A6A39D; text-decoration:none;}
일부는 문하우스의 팁입니다.(스킨관리에서 유.무 표시부분)
적용된 게시판스킨입니다. http://moonhouse.co.kr/zbxe/xemy/258975



자료실
MH 슬라이딩 배너 0....
MH 위젯스타일
prettyphoto - 본문내...
SCM 플레이어 사용법
XE 1.4.4.2버전 이후에...
네비게이션 위젯
IE 버젼별로 css 따로...
문서보기 유저 지정
문하우스 게시판스킨 V...
내용글 출력시 주소창에...





