웹마스터 팁


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