RadarURL

웹 프로그래밍
2016.04.28 19:25

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

조회 수 1134 추천 수 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처누 Views941993
    read more
  2. EMR을 기반으로 DW를 구축한 병원의 CRM 활용 방안 연구 = The Study on a Plan to Activate Customer Relationship Management through Data Warehouse based on Electronic Medical Record of Hospitals

    Date2026.02.06 Category논문 ByJaeSoo Views10
    Read More
  3. 호스팅케이알(hosting.kr) 도메인 가격 2배 인상으로 인한 도메인 기관 이전

    Date2026.01.16 Category인터넷 ByJaeSoo Views0
    Read More
  4. 올바른 자위습관을 가져야 하는 이유

    Date2026.01.12 Category건강 ByJaeSoo Views51
    Read More
  5. 대한민국 결정사 직업 등급표

    Date2026.01.09 Category연애 ByJaeSoo Views48
    Read More
  6. 알아두면 유용한 향수 향 종류 모음

    Date2026.01.09 Category생활 ByJaeSoo Views29
    Read More
  7. 로그인 구글 드라이브 안 쓰고 시놀로지 드라이브 쓰는 이유, 설정 방법 & 활용팁

    Date2026.01.08 Category업무 ByJaeSoo Views25
    Read More
  8. SMB 다중 채널 관리

    Date2026.01.08 Category네트워크 ByJaeSoo Views31
    Read More
  9. Synology NAS SMB 3.0 Multichannel 이용하기

    Date2026.01.08 Category네트워크 ByJaeSoo Views27
    Read More
  10. 어떻게 SSH를 통해 root 권한으로 DSM/SRM에 로그인할 수 있습니까?

    Date2026.01.08 Category네트워크 ByJaeSoo Views29
    Read More
  11. 시놀로지 나스 SMB 3.0 멀티채널 구성하는법

    Date2026.01.08 Category네트워크 ByJaeSoo Views28
    Read More
  12. RWA(Real-World Assets): 실물자산 토큰화 이해

    Date2026.01.05 Category경제 ByJaeSoo Views49
    Read More
  13. 그루밍성범죄와 가스라이팅 차이점, 처벌 수위 알아보기

    Date2025.12.23 Category생활 ByJaeSoo Views128
    Read More
  14. 전문의가 추천하는 자위 횟수

    Date2025.12.23 Category건강 ByJaeSoo Views91
    Read More
  15. 일상에 쉽게 적용할 수 있는 수면 관리 앱 5가지

    Date2025.12.18 Category모바일 ByJaeSoo Views162
    Read More
  16. 매일 밤에 머리 감으면 일어나는 일ㅣ탈모 전문가가 알려주는 충격적인 진실ㅣ김주용 원장 1편ㅣ닥터딩요

    Date2025.12.11 Category건강 ByJaeSoo Views142
    Read More
  17. 다친 손가락에 끼우는 실리콘 손가락

    Date2025.12.11 Category건강 ByJaeSoo Views164
    Read More
  18. 성적 취향에 대하여...

    Date2025.12.09 Category연애 ByJaeSoo Views304
    Read More
  19. fwb(Friends with Benefits)에 대해

    Date2025.12.09 Category연애 ByJaeSoo Views252
    Read More
  20. 자위가 잠자는 데 도움이됩니까? 알아봅시다!

    Date2025.12.09 Category건강 ByJaeSoo Views258
    Read More
  21. 야동 실태보고서

    Date2025.12.09 Category건강 ByJaeSoo Views238
    Read More
Board Pagination Prev 1 2 3 4 5 6 7 8 9 10 ... 127 Next
/ 127


즐겨찾기 (가족)

JAESOO's HOMEPAGE


YOUNGAE's HOMEPAGE


장여은 홈페이지


장여희 홈페이지


장여원 홈페이지


즐겨찾기 (업무)

알리카페 홀릭

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

말레이시아 KL Sentral 한국인 GuestHouse


즐겨찾기 (취미)

어드민아이디

유에코 사랑회

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

JServer.kr

제이서버 메타블로그

재수 티스토리


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

재수 강의 홈페이지


한소리


VTMODE.COM


숭실대 인공지능학과


숭실대 통신연구실


베너