RadarURL

웹 프로그래밍
2016.04.28 19:25

XE 비회원 글쓰기 항목 지우기

조회 수 660 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 댓글로 가기 인쇄 첨부

xe코어 1.5.2.2

게시판 1.4.4

스케치북게시판스킨// 최신버전

 

 

비회원이 글을쓰려고 하면

글쓴이/비밀번호/이메일주소/홈페이지가 나오는데

 

 

이메일주소/홈페이지는 없애고 싶은데 가능할까요??

 

 

de3558a6c371d5ab124418115c422181.jpg

답변:

xe - modules - board - skins - sketchbook5 - write_form.html 열고
line 64 쯤에
<span class="itx_wrp">
   <label for="email_address">{$lang->email_address}</label>
   <input type="text" name="email_address" id="email_address" value="{htmlspecialchars($oDocument->get('email_address'))}" class="itx m_h" />
  </span>
  <span class="itx_wrp">
   <label for="homepage">{$lang->homepage}</label>
    <input type="text" name="homepage" id="homepage" value="{htmlspecialchars($oDocument->get('homepage'))}" class="itx m_h" />
  </span>

 

이 부분을 삭제하거나 인라인 css로 display:none을 추가

 

답변2:

XE 스케치북 모바일 비회원 댓글쓰기에서 홈페이지 이메일 기입란 삭제하기

 

모바일 >>> .../modules/board/m.skins/sketchbook5

 

게시글 입력시 - write_form.html

댓글 입력시 - comment_form.html

 

안되네?

 

style="display:none" 구문으로 출력하지 않게함출력 않게 함.

 

 

<!--// 비로그인 입력 -->

<div class="edit_opt">

<block cond="!$is_logged">

<span class="itx_wrp">

<label for="nick_name">{$lang->writer}</label>

            <input type="text" name="nick_name" id="nick_name" value="{$oDocument->getNickName()}" class="itx n_p" />

</span>

<span class="itx_wrp">

<label for="password">{$lang->password}</label>

            <input type="password" name="password" id="password" class="itx n_p" />

</span>

<span class="itx_wrp">

<label for="email_address" style="display:none">{$lang->email_address}</label>

            <input type="text" style="display:none" name="email_address" id="email_address" value="{htmlspecialchars($oDocument->get('email_address'))}" class="itx m_h" />

</span>

<span class="itx_wrp">

<label for="homepage" style="display:none">{$lang->homepage}</label>

            <input type="text" style="display:none" name="homepage" id="homepage" value="{htmlspecialchars($oDocument->get('homepage'))}" class="itx m_h" />

</span>

</block>

</div> 

 

 

 

 

 

 

 

<div class="edit_opt">

<block cond="!$is_logged">

<span class="itx_wrp">

<label for="nick_name">{$lang->writer}</label>

<input type="text" name="nick_name" id="nick_name" class="itx n_p" value="{$oComment->getNickName()}" />

</span>

<span class="itx_wrp">

<label for="password">{$lang->password}</label>

<input type="password" name="password" id="password" class="itx n_p" />

</span>    

<span class="itx_wrp">

<label for="email_address" style="display:none">{$lang->email_address}</label>

<input type="text" style="display:none" name="email_address" id="email_address" class="itx m_h" />

</span>    

<span class="itx_wrp">

<label for="homepage" style="display:none">{$lang->homepage}</label>

<input type="text" style="display:none" name="homepage" id="homepage" class="itx m_h" />

</span>

</block>

</div>

 

 

 

 

 

아래의 내용을 기입하니 없어졌다. 

 

아놔..

 

.../public_html/modules/board/m.skins/sketchbook5/_comment_write.html

 

 

<!--@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="" />

<div cond="$mi->cmt_wrt=='editor'" class="wysiwyg">{$oDocument->getCommentEditor()}</div>

<div cond="$mi->cmt_wrt=='simple'" class="simple_wrt">

<img cond="$logged_info->profile_image->src" class="profile img" src="{$logged_info->profile_image->src}" alt="profile" />

<span cond="!$logged_info->profile_image->src" class="profile img no_img">?</span>

<div class="text">

<input type="hidden" name="use_html" value="Y" />

<input type="hidden" id="htm_{$oDocument->document_srl}" value="n" />

<textarea id="editor_{$oDocument->document_srl}" cols="50" rows="4"></textarea>

</div>

<input type="submit" value="{$lang->cmd_submit}" class="bd_btn" />

</div>

<div class="edit_opt clear" style="display:none"|cond="$mi->cmt_wrt!='editor'">

<block cond="!$is_logged">

<span class="itx_wrp">

<label for="nick_name_{$oDocument->document_srl}">{$lang->writer}</label>

<input type="text" name="nick_name" id="nick_name_{$oDocument->document_srl}" class="itx n_p" />

</span>

<span class="itx_wrp">

<label for="password_{$oDocument->document_srl}">{$lang->password}</label>

<input type="password" name="password" id="password_{$oDocument->document_srl}" class="itx n_p" />

</span>

<span class="itx_wrp">

<label for="email_address_{$oDocument->document_srl}" style="display:none">{$lang->email_address}</label>

<input type="text" style="display:none" name="email_address" id="email_address_{$oDocument->document_srl}" class="itx m_h" />

</span>

<span class="itx_wrp">

<label for="homepage_{$oDocument->document_srl}" style="display:none">{$lang->homepage}</label>

<input type="text" style="display:none" name="homepage" id="homepage_{$oDocument->document_srl}" class="itx m_h" />

</span>

</block>

        <input cond="$mi->cmt_wrt=='editor'" type="submit" value="{$lang->cmd_submit}" class="bd_btn fr" />

<div class="opt_chk">

<block cond="$is_logged">

<input type="checkbox" name="notify_message" value="Y" id="notify_message_{$oDocument->document_srl}" checked="checked"|cond="@in_array('notify',$mi->wrt_opt)" />

<label for="notify_message_{$oDocument->document_srl}">{$lang->notify}</label>

</block>

<block cond="$mi->use_status!='PUBLIC'">

<input type="checkbox" name="is_secret" value="Y" 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>

</div>

</div>

</form> 

 

 

링크 : https://www.xpressengine.com/qna/20682544

링크 : http://urin79.com/blog/20655466

?

공부 게시판

공부에 도움되는 글을 올려주세요.

  1. [공지] 공부 게시판 입니다.

    Date2003.08.18 By처누 Views933198
    read more
  2. 변호사가 보아온 상간남들의 공통점

    Date2025.11.25 Category연애 ByJaeSoo Views140
    Read More
  3. 윈도우11 비밀번호 분실시 설정 변경방법 (Windows10 포함)

    Date2025.11.06 Category윈도우즈 ByJaeSoo Views108
    Read More
  4. 홍콩 보내주다를 뜻하는 영어 표현 한가지를 노래를 통해 배워보자

    Date2025.10.28 Category연애 ByJaeSoo Views168
    Read More
  5. 향수 잔향 기간별 구분

    Date2025.10.28 Category생활 ByJaeSoo Views129
    Read More
  6. Question about Korean - What does 홍콩을 보내다 mean?

    Date2025.10.28 Category생활 ByJaeSoo Views161
    Read More
  7. 리눅스 서버 설치 중 에러 "Failed to find a suitable stage1 device"

    Date2025.10.03 Category유닉스/리눅스 ByJaeSoo Views164
    Read More
  8. Linux 11 . Linux 설치 시 lvm 수동설정

    Date2025.10.03 Category유닉스/리눅스 ByJaeSoo Views142
    Read More
  9. [Rocky Linux] 누구나 쉽게 따라하는 Rocky Linux 9.0 OS 다운로드 및 설치 방법~!!

    Date2025.10.03 Category유닉스/리눅스 ByJaeSoo Views174
    Read More
  10. Linux/Rocky Linux Rocky Linux : Composer 설치

    Date2025.09.29 Category유닉스/리눅스 ByJaeSoo Views171
    Read More
  11. [Rocky Linux] 록키 리눅스 최신 업데이트 적용 방법

    Date2025.09.29 Category유닉스/리눅스 ByJaeSoo Views182
    Read More
  12. rocky linux 커널 업데이트

    Date2025.09.29 Category유닉스/리눅스 ByJaeSoo Views203
    Read More
  13. [Windows] OWASP ZAP 사용법

    Date2025.09.29 Category웹서버,WAS ByJaeSoo Views162
    Read More
  14. [웹 취약점] 웹서버 디렉토리 리스팅 방지

    Date2025.09.29 Category웹서버,WAS ByJaeSoo Views165
    Read More
  15. Clonezilla(클론질라) 백업파일 하드디스크로 복구 방법

    Date2025.09.28 Category유닉스/리눅스 ByJaeSoo Views172
    Read More
  16. 클론질라 사용 방법 - OS 이미지 백업 CloneZilla

    Date2025.09.28 Category유닉스/리눅스 ByJaeSoo Views216
    Read More
  17. [Linux / Rocky] FTP 접속 관련 설정 실습 예제

    Date2025.09.23 Category유닉스/리눅스 ByJaeSoo Views209
    Read More
  18. Could not reliably determine the server's fully qualified domain name

    Date2025.09.23 Category유닉스/리눅스 ByJaeSoo Views198
    Read More
  19. [아파치] 아파치 웹서버에 .htaccess 파일 설정하는 방법

    Date2025.09.23 Category유닉스/리눅스 ByJaeSoo Views267
    Read More
  20. [Linux] Apache web server의 rewrite module 사용하기 [출처] [Linux] Apache web server의 rewrite module 사용하기|작성자 g00dmoney

    Date2025.09.23 Category유닉스/리눅스 ByJaeSoo Views194
    Read More
  21. 록키 리눅스 9.1에서 apache, mysql, PHP 설치

    Date2025.09.23 Category유닉스/리눅스 ByJaeSoo Views196
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 126 Next
/ 126


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

숭실대 컴퓨터 통신연구실 (서창진)

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

아스가르드 좋은사람/나쁜사람

JServer.kr

제이서버 메타블로그

재수 티스토리


즐겨찾기 (강의, 커뮤니티)

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너