익명 게시판 기본 설정 이름인 anonymous를 다른 이름으로 변경하거나 아예 안보이게 하는 방법은 없을까요?
또 익명 게시판에서 특정 닉네임 (운영진)만 출력되게 하고 싶은데 어떻게 해야 할까요?
우선 getNickName 혹은 {$lang->writer} 부분을 바꿔야 할 것 같아서 _comment.html 내에 코드를 가져와봤는데요, 저 중에서 어디를 바꿔야 할지 감이 안잡히네요
아니면 혹시 아예 다른 부분일까요?
게시판 폴더 내에 comment로 시작하는 html 파일 중 겟네임이나 라이터가 들어간 부분은 아래 4가지입니다.
<block cond="!$is_logged">
<div style="margin-top:8px; border-bottom:1px solid #e5e5e5" class="edit_opt clear cf">
<span class="opt_wrp bxs fl">
<input class="fl bxs" type="text" name="nick_name" placeholder="{$lang->writer}" />
</span>
<span class="opt_wrp bxs fl">
<input class="fl bxs" type="password" name="password" placeholder="{$lang->password}" />
</span>
</div>
</block>
</div>
<block cond="!$is_logged">
<div class="edit_opt cf">
<span class="opt_wrp bxs fl">
<input class="fl bxs" type="text" name="nick_name" placeholder="{$lang->writer}" />
</span>
<span class="opt_wrp bxs fl">
<input class="fl bxs" type="password" name="password" placeholder="{$lang->password}" />
</span>
</div>
</block>
</div>
</form>
<block cond="!$is_logged">
<div class="edit_opt cf">
<span class="opt_wrp bxs fl">
<input class="fl bxs" type="text" name="nick_name" placeholder="{$lang->writer}" />
</span>
<span class="opt_wrp bxs fl">
<input class="fl bxs" type="password" name="password" placeholder="{$lang->password}" />
</span>
</div>
</block>
</div>
</form>
</div>
<div class="cmt_area bdr_r bxs cf">
<div class="meta fl bxs">
<div class="fl bxs">
<a cond="$comment->member_srl" href="#popup_menu_area" class="member_{$comment->member_srl}" onclick="return false">{$comment->getNickName()}</a>
<a cond="!$comment->member_srl && $comment->homepage" href="{$comment->getHomepageUrl()}" target="_blank">{$comment->getNickName()}</a>
<span class="nick" cond="!$comment->member_srl && !$comment->homepage">{$comment->getNickName()}</span>
<small cond="$grant->manager || $mi->display_ip_address" class="m_no">({$comment->getIpaddress()})</small>
<div class="divider"></div>
<span class="date">{$comment->getUpdate('y-m-d H:i')}</span>
<span class="secret" cond="$comment->isSecret()"><i class="material-icons"></i></span>
</div>
<div class="cm_vote fr bxs">
댓글 7
애드온으로 댓글이나 글 입력후 트리거로 처리하는 방법이 있습니다
스킨상에서 하는건
{$comment->getNickName()} <- 이걸 바꾸시면 되구요
{$comment->getNickName()}
이부분을 바꾸시면 되요
전 익명게시판만 원하는데... 어떤 코드를 추가해야할까요?
익명이름
<!--@else-->
{$comment->getNickName()}
<!--@end-->
이렇게 조건문을 주시면 됩니다.