비회원 코멘트창 기본보이기

· 16년 전 · 1124 · 1

안녕하세요.

코멘트창 쓰기를  권한 2으로사용하고잇습니다. 

비호원이 게시물내용을 볼때 밑에 코멘트창이 보이게하고십어요.  
마우로 내용칸에 클릭하면  로그인후 코메니트써주세요. 댓글 나오게하고싶어요. 

어떻게하면좋은가요. 

답변부탁드립니다.  

|

댓글 1개

코멘트 쓰기 권한을 1로 해주시구요.

게시판 스킨 view_comment.skin.php

<textarea id="wr_content" name="wr_content" rows=8 itemname="내용" required
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?> style='width:100%; word-break:break-all;' class=tx></textarea>
<? if ($comment_min || $comment_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>

이부분을

<textarea id="wr_content" name="wr_content" rows=8 itemname="내용" required
<? if ($comment_min || $comment_max) { ?>onkeyup="check_byte('wr_content', 'char_count');"<?}?> style='width:100%; word-break:break-all;' <? if(!$is_member){?>onclick="alert('로그인하세요!')"<?}?> class='tx'><? if(!$is_member){?>로그인 후 글을 남길 수 있습니다.<?}?></textarea>
<? if ($comment_min || $comment_max) { ?><script language="javascript"> check_byte('wr_content', 'char_count'); </script><?}?>

이렇게 바꿔 주시면 됩니다.
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
16년 전 조회 1,188
16년 전 조회 1,720
16년 전 조회 1,224
16년 전 조회 1,540
16년 전 조회 959
16년 전 조회 2,971
16년 전 조회 1,547
16년 전 조회 865
16년 전 조회 1,530
16년 전 조회 1,125
16년 전 조회 1,560
16년 전 조회 1,283
16년 전 조회 1,467
16년 전 조회 1,062
16년 전 조회 1,004
16년 전 조회 943
16년 전 조회 1,021
16년 전 조회 1,552
16년 전 조회 3,011
16년 전 조회 1,207