웹마스터 팁


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
제목 글쓴이 날짜
회원그룹별 제한된 서비스 구현을 위한 조건문 [5] 똑디 2008.01.25
좌측 로그인 회원 리스트가 많아지면 스크롤 처리 [6] file 똑디 2008.01.29
본인외 회원정보 제어 [1] edgarkim 2008.02.03
회원가입 생일 필수로 입력받고, 관리자페이지 회원목록에 회원생일 출력하기 [10] 대암지기 2008.02.11
[전면수정]회원가입시 기본 정보공개 여부 체크하기(2) 스킨부분 대암지기 2008.02.17
[전면수정]회원가입시 기본 정보공개 여부 체크하기(1) 모듈부분 [5] 대암지기 2008.02.20
[정식 버전 1.0.0][완결편]회원가입시 기본 정보공개 여부 체크하기(안내) [2] file 대암지기 2008.02.24
[정식 버전 1.0.0][완결편]회원가입시 기본 정보공개 여부 체크하기(1) 모듈부분 [4] 대암지기 2008.02.24
[정식 버전 1.0.0][완결편]회원가입시 기본 정보공개 여부 체크하기(2) 스킨부분 대암지기 2008.02.24
[정식 버전 1.0.0] 회원 정보에서 ID 변경하기(0) 안내 [1] file 대암지기 2008.02.27
[정식 버전 1.0.0] 회원 정보에서 ID 변경하기(1) 모듈부분 [1] 대암지기 2008.02.27
[정식 버전 1.0.0]회원 정보에서 ID 변경하기(2) 스킨부분 [3] 대암지기 2008.02.27
회원 기본정보 공개여부 및 정보변경 옵션으로 처리하기(Member Moudle) [18] file 대암지기 2008.03.04
관리 화면의 회원 목록에서 소속 그룹 출력하기 [6] 띵야 2008.03.14
회원 가입 임시 제한 일자 버그 수정 방법 [2] file 껄껄껄 2008.04.13
회원 확장 정보를 레이아웃에서 활용하기 [6] [1] file mooo 2008.05.06
회원 관리 리스트에 생일/이메일 추가하기 [4] file 老姜君 2008.05.19
회원 확장 변수(extra_vars) 출력하는 방법 [15] file 척~ 2008.05.23
회원 가입시 admin이 가입 승인이후 동작시키도록 변경!! [1] dhseo 2008.06.02
최고관리자 이외에는 ''회원정보보기''를 막기 [13] 비나무 2008.07.10