묻고답하기

특정게시판에서만 비밀댓글기능(댓글 작성자와 관리자만 볼 수 있도록)을 사용하고 싶어서

comment_write.php 파일을 아래처럼 고쳤습니다 (스케치북게시판입니다)

 

<!--@if($grant->write_comment && $oDocument->isEnableComment())-->
<form action="./" method="post" onsubmit="return procFilter(this, insert_comment)" class="bd_wrt cmt_wrt clear">
    <input type="hidden" name="mid" value="{$mid}" />
    <input type="hidden" name="document_srl" value="{$oDocument->document_srl}" />
    <input type="hidden" name="comment_srl" value="" />
    <input type="hidden" name="content" value="" />

<block cond="$module_info->mid='board_xTxn91'">
    <input type="hidden" name="is_secret" value="Y">
</block>

 

------------

 

            <block cond="$mi->use_status!='PUBLIC' || $module_info->mid='board_xTxn91'">
            <input type="checkbox" name="is_secret" value="Y" checked="checked" id="is_secret_{$oDocument->document_srl}" checked="checked"|cond="@in_array('secret',$mi->wrt_opt)" />
            <label for="is_secret_{$oDocument->document_srl}">{$lang->secret}</label>
            </block>

 

-------------

 

        <span class="opt_chk">
            <block cond="$is_logged">
                <input type="checkbox" name="notify_message" value="Y" id="notify_message" checked="checked"|cond="@in_array('notify',$mi->wrt_opt)" />
                <label for="notify_message">{$lang->notify}</label>
            </block>
            <block cond="$mi->use_status!='PUBLIC' || $module_info->mid='board_xTxn91'">
                <input type="checkbox" name="is_secret" value="Y" id="is_secret" checked="checked"|cond="@in_array('secret',$mi->wrt_opt)" />
                <label for="is_secret">{$lang->secret}</label>
            </block>
        </span>

 

만,

이렇게 해도 로그인하지 않은 사용자까지 열람이 됩니다.

즉, 비밀글로 저장되지 않는것 같습니다

 

원게시물은 모든사람이 열람가능해야하고, 오직 댓글만 다른사람의 댓글은 볼 수 없도록 하고싶습니다

 

어디를 더 손봐야할까요?

 

 

 

 

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
느닷없이질문 사진 사이즈를 일괄적으로 변환할수 있나요? [5] 2007.08.10
김동하 db올려도 안되는군요..제발 부탁  
한일도 세션경로변경후에도...  
murehan 제발 도와주세용^^ 고수님^^ [1] 2007.08.10
murehan 고수님 제발 도와주세용^^; [3] 2007.08.10
정봉희 답변부탁드립니다(광고성글 차단???) [1] 2007.08.10
이태운 냉유 새창띄우는 소스인데 가운데로? [3] 2007.08.10
윤지호 제로보드 DB 백업관련 및 기타문의.^^;답변좀 부탁드릴께요.. [1] 2007.08.10
CH_SHe [PHP] 클래스의 생성자 [2] 2007.08.10
김현수 웹호스팅 서비스를 받을때의 여러가지 질문입니다. [2] 2007.08.10
쥬비 웹에 플래시를 못올리겠어요ㅠㅠ [3] 2007.08.10
신세실 html 코팅 노하우좀 알려주세요 [2] 2007.08.10
공창근 게시판에 head랑 foot이랑 연결은 시켰는데...ㅠㅠ 헬프... [1] 2007.08.10
cocoroo 포토샵으로 이미지 크기 줄이면 왜 흐려지나요 [2] 2007.08.10
cocoroo 레이어를 상대경로로 띄울수 있나요? [1] 2007.08.10
김창수 홈페이지 주소 고정에 관한내용이에요 답변 부탁드립니다 [3] 2007.08.10
가이 고수분들께 질문드립니다! 도와주세요~ ^^;  
김동민 [html/드림위버] 워드에서 작성한 중문문서를 드림위버에서 작업할떄  
정준기 초허접질문...게시판을..메인홈피틀에 맞춰서 나오게 하려면... [1] 2007.08.10
정세영 한개의 링크로 [1] 2007.08.10
수지니 방명록 어떻게 올리나요? [1] 2007.08.10
-G.W- 이문제를 해결하는 방법이 있을까요?(그림첨부) [1] 2007.08.10
윤여준 제로보드님^^~~ 제로보드 설치가 안돼여^^ 답변점 [2] 2007.08.10
천하무적 쿠키 시간설정에 대해서여.... [2] 2007.08.10
이진호 spacer이미지 생성 어떻게? [1] 2007.08.10
요코 제로보드 스크롤바 색깔 바꾸는것좀 알려주세요 [1] 2007.08.10
최정환 php 오류 메세지 알려주세요 [1] 2007.08.10
인자기 이거이... [1] 2007.08.10
holidays in chelsea 나모로 팝업창에서 노래띄우기~?  
제로매니아 돈에상관없이 동영상 잘돌아가는 계정 없습니까? [1] 2007.08.10