답변 1개 / 댓글 6개
채택된 답변
+20 포인트

게시판설정 > 비밀글사용 에서 설정하세요.
디폴트는 사용하지 않음으로 되어있습니다.
답변에 대한 댓글 6개
g4 스킨 방법대로 하면 됩니다.
기존 비번 입력란 주석처리하고 wr_1 으로 비번 입력란 만들어주고 write_update.skin.php 올려주고...
g5 basic 스킨에 그대로 해봤는데 별 문제 없었습니다.
<?php if ($is_password) { ?>
<!--<tr>
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only">필수</strong></label></th>
<td><input type="password" name="wr_password" id="wr_password" <?php echo $password_required ?> class="frm_input <?php echo $password_required ?>" maxlength="20"></td>
</tr>-->
<?php } ?>
<tr>
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="wr_1" value="<?php echo $write[wr_1]?>" id="wr_1" class="frm_input required" maxlength="20"></td>
</tr>
기존 비번 입력란 주석처리하고 wr_1 으로 비번 입력란 만들어주고 write_update.skin.php 올려주고...
g5 basic 스킨에 그대로 해봤는데 별 문제 없었습니다.
<?php if ($is_password) { ?>
<!--<tr>
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only">필수</strong></label></th>
<td><input type="password" name="wr_password" id="wr_password" <?php echo $password_required ?> class="frm_input <?php echo $password_required ?>" maxlength="20"></td>
</tr>-->
<?php } ?>
<tr>
<th scope="row"><label for="wr_password">비밀번호<strong class="sound_only">필수</strong></label></th>
<td><input type="text" name="wr_1" value="<?php echo $write[wr_1]?>" id="wr_1" class="frm_input required" maxlength="20"></td>
</tr>
답변을 작성하려면 로그인이 필요합니다.
체크박스로 사용하면 비밀글을 쓸 수 있게 되는데 관리자 비밀번호를 사용해야 비밀글을 열람할 수 있게 됩니다.
제 말은 글쓴이가 원하는 비밀번호를 쓸 수 있는 비밀글을 어떻게 작성하느냐는 겁니다.