웹마스터 팁


1. zbxe/moudles/member/skins/deafult/filter/sinup.xml

line 20 아래에 다음의 소스를 삽입한다.
<param name="allow_email" target="allow_email" />
  <param name="allow_blog" target="allow_blog" />
  <param name="allow_homepage" target="allow_homepage" />
  <param name="allow_birthday" target="allow_birthday" />
<<부연설명>> 위의 내용이 삽입되지않으면 회원가입시 정보공개 체크인/아웃이 DB에 기록 되지 않습니다.


2. zbxe/moudles/member/skins/deafult/filter/modify_info.xml

line 15 아래에 다음의 소스를 삽입한다.
<param name="allow_email" target="allow_email" />
  <param name="allow_blog" target="allow_blog" />
  <param name="allow_homepage" target="allow_homepage" />
  <param name="allow_birthday" target="allow_birthday" />
<<부연설명>> 위의 내용이 삽입되지않으면 회원정보 수정시 정보공개 체크인/아웃이 DB에 기록 되지 않습니다.

3. zbxe/moudles/member/skins/deafult/sinup_form.html

line line56 부근에          부분을 삽입한다.
<tr>
        <th scope="row">{$lang->email_address} *</th>
        <td>
            <input type="text" name="email_address" value="" /><input type="checkbox" name="allow_email" value="Y" checked="checked" />{$lang->public}
            <p>{$lang->about_email_address}</p>
        </td>
    </tr>
    <tr>
        <th scope="row">{$lang->homepage}</th>
        <td>
            <input type="text" name="homepage" value="" /><input type="checkbox" name="allow_homepage" value="Y" checked="checked" />{$lang->public}
            <p>{$lang->about_homepage}</p>
        </td>
    </tr>
    <tr>
        <th scope="row">{$lang->blog}</th>
        <td>
            <input type="text" name="blog" value="" /><input type="checkbox" name="allow_blog" value="Y" checked="checked" />{$lang->public}
            <p>{$lang->about_blog_url}</p>
        </td>
    </tr>
    <tr>
        <th scope="row">{$lang->birthday}</th>
        <td>
            <input type="hidden" name="birthday" id="date_birthday" value="" />
            <div class="str_birthday" id="str_birthday" onclick="open_calendar('birthday','');return false;">&nbsp;</div>
            <a href="#" onclick="open_calendar('birthday','');return false;" class="button"><span>{$lang->cmd_open_calendar}</span></a><input type="checkbox" name="allow_birthday" value="Y" checked="checked" />{$lang->public}
            <p>{$lang->about_birthday}</p>
        </td>
    </tr>
 

4. zbxe/moudles/member/skins/deafult/filter/modify_info.html

line43 부근에          부분을 삽입한다.
<tr>
        <th scope="row">{$lang->email_address}</th>
        <td><input type="text" name="email_address" value="{htmlspecialchars($member_info->email_address)}" /><input type="checkbox" name="allow_email" value="Y" class="checkbox" <!--@if($member_info->allow_email!='N')-->checked="checked"<!--@end--> />{$lang->public}<p>{$lang->about_email_address}</p></td>
    </tr>
<tr>
        <th scope="row">{$lang->homepage}</th>
        <td><input type="text" name="homepage" value="{htmlspecialchars($member_info->homepage)}" /><input type="checkbox" name="allow_homepage" value="Y"class="checkbox" <!--@if($member_info->allow_homepage!='N')-->checked="checked"<!--@end--> />{$lang->public} <p>{$lang->about_homepage}</p></td>
    </tr>
    <tr>
        <th scope="row">{$lang->blog}</th>
        <td><input type="text" name="blog" value="{htmlspecialchars($member_info->blog)}" /><input type="checkbox" name="allow_blog" value="Y" class="checkbox" <!--@if($member_info->allow_blog!='N')-->checked="checked"<!--@end--> />{$lang->public}<p>{$lang->about_blog_url}</p></td>
    </tr>
    <tr>
        <th scope="row">{$lang->birthday}</th>
        <td>
            <input type="hidden" name="birthday" id="date_birthday" value="{$member_info->birthday}" />
            <div class="str_birthday" id="str_birthday" onclick="open_calendar('birthday','');return false;">{zdate($member_info->birthday,"Y-m-d")}</div>
            <a href="#" onclick="open_calendar('birthday','{$member_info->birthday}');return false;" class="button"><span>{$lang->cmd_open_calendar}</span></a><input type="checkbox" name="allow_birthday" value="Y" class="checkbox" <!--@if($member_info->allow_birthday!='N')-->checked="checked"<!--@end--> />{$lang->public}
            <p>{$lang->about_birthday}</p>
        </td>
    </tr>

5. zbxe/moudles/member/skins/deafult/filter/member_info.html

line 43 부근에          부분을 삽입한다.

<!--@if($member_info->allow_homepage!='N'+ ' || $member_srl == $logged_info->member_srl || $logged_info->is_admin == 'Y')-->
    <tr>
        <th scope="row">{$lang->homepage}</th>
        <td><
!--@if($member_info->homepage)--><a href="{htmlspecialchars($member_info->homepage)}" onclick="window.open(this.href); return false;">{htmlspecialchars($member_info->homepage)}</a><!--@else-->&nbsp;<!--@end--></td>
    </tr>
 <!--@end-->
 <
!--@if($member_info->allow_blog!='N' || $member_srl == $logged_info->member_srl || $logged_info->is_admin == 'Y')-->
    <tr>
        <th scope="row">{$lang->blog}</th>
        <td><!--@if($member_info->blog)--><a href="{htmlspecialchars($member_info->blog)}" onclick="window.open(this.href); return false;">{htmlspecialchars($member_info->blog)}</a><!--@else-->&nbsp;<!--@end--></td>
    </tr>
 <!--@end-->
 <
!--@if($member_info->allow_birthday!='N' || $member_srl == $logged_info->member_srl || $logged_info->is_admin == 'Y')-->
    <tr>
        <th scope="row">{$lang->birthday}</th>
        <td><
!--@if($member_info->birthday)-->{zdate($member_info->birthday,"Y-m-d")}<!--@else-->&nbsp;<!--@end--></td>
    </tr>
 <!--@end-->


모듈 부분 바로가기

태그 연관 글
  1. [2008/02/20] 웹마스터 팁 [전면수정]회원가입시 기본 정보공개 여부 체크하기(1) 모듈부분 by 대암지기 *5
제목 글쓴이 날짜
xe core 설치 화면 오류 있습니다. 이렇게 바꿔주세요. [2] 한꼬마 2015.02.18
데이타 이전 시 xml 파일 임포트 속도 높이기 ^^ forest535 2015.02.17
snoop가 안될때 curl 로 가져오기 [3] 한꼬마 2015.02.13
300기가 Zboard4->XE 이전기 [14] file forest535 2015.02.13
카카오 API로 로그인창 만들어 봤어요~~ ^^ [6] file 컴박살 2015.02.12
회원가입후 24시간 이후 글작성 가능하기 [2] 샵사이드 2015.02.09
누리고 쇼핑몰 - 배송비가 표시 안되는 경우에 [7] garnecia 2015.01.31
템플릿등에서 PHP 제어 구조(if, for, foreach)의 대체 문법 적용 [3] 총모아 2015.01.30
xe 폰갭 제작시 admob 광고 글쓰기 방해 하지 않으려면 한꼬마 2015.01.26
부트스트랩 관련 버튼안에 체크박스 돼지코구뇽 2015.01.25
DB LOCK으로 인한 사이트 마비와 사례, 조치 [2] onTrust 2015.01.24
게시판에서 태그 기준으로 검색하면 임시저장글들도 노출되는 버그 수정 sejin7940 2015.01.23
사용자정의 중 전화번호 형식을 쓰는경우 - 사이에 한칸씩 여백이 생기는 걸 없애는방법 [1] sejin7940 2015.01.23
사용자 매뉴에 회원정보와 포인트설정 바로가기 기능 삽입 [1] file 간장게장같은남자 2015.01.23
익명게시판에서 임시저장된 글을 불러와 등록하면 익명처리되지 않고 글쓴이 정보가 기록되는 버그 수정 [1] sejin7940 2015.01.23
누리고 쇼핑몰 상품취소 혹은 반품시 마일리지 자동회복하기 [6] garnecia 2015.01.21
kin 모듈 게시물 -> board로 게시물 옮기기 편법 file 꾸링 2015.01.20
사이트 종합해서 접속자 아이피 검색 file StyleRoot 2015.01.19
웹서버 php에서 한글언어 깨지거나 오류날때 방법@ 뭘봐첨봐 2015.01.19
포인트 부족 시 글 열람 금지 설정해도, 글을 볼 수 있는 버그 수정 [1] sejin7940 2015.01.18