웹마스터 팁
[정식 버전 1.0.0][완결편]회원가입시 기본 정보공개 여부 체크하기(2) 스킨부분
2008.02.24 15:49
적용하시기전에 아래의 링크를 반드시 참고 하세요.
http://www.zeroboard.com/16531452
1. zbxe/moudles/member/skins/deafult/filter/sinup.xmlline 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" />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" />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="" />
<!--@if($member_config->email_policy!='N')-->
<input type="hidden" name="allow_email" value="Y" checked="checked" />
<!--@else-->
<input type="checkbox" name="allow_email" value="Y" checked="checked" />{$lang->public}
<!--@end-->
<p>{$lang->about_email_address}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->homepage}</th>
<td>
<input type="text" name="homepage" value="" />
<!--@if($member_config->homepage_policy!='N')-->
<input type="hidden" name="allow_homepage" value="Y" checked="checked" />
<!--@else-->
<input type="checkbox" name="allow_homepage" value="Y" checked="checked" />{$lang->public}
<!--@end-->
<p>{$lang->about_homepage}</p>
</td>
</tr>
<tr>
<th scope="row">{$lang->blog}</th>
<td>
<input type="text" name="blog" value="" />
<!--@if($member_config->blog_policy!='N')-->
<input type="hidden" name="allow_blog" value="Y" checked="checked" />
<!--@else-->
<input type="checkbox" name="allow_blog" value="Y" checked="checked" />{$lang->public}
<!--@end-->
<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;"> </div>
<a href="#" onclick="open_calendar('birthday','');return false;" class="button"><span>{$lang->cmd_open_calendar}</span></a>
<!--@if($member_config->birthday_policy!='N')-->
<input type="hidden" name="allow_birthday" value="Y" checked="checked" />
<!--@else-->
<input type="checkbox" name="allow_birthday" value="Y" checked="checked" />{$lang->public}
<!--@end-->
<p>{$lang->about_birthday}</p>
</td>
</tr>
4. zbxe/moudles/member/skins/deafult/modify_info.html
line44 부근에 부분을 삽입한다.(추가된 부분 : 붉은 색의 코드를 추가한다)
<tr>
<th scope="row">{$lang->email_address}</th>
<td><input type="text" name="email_address" value="{htmlspecialchars($member_info->email_address)}" />
<!--@if($member_config->email_policy!='N')-->
<input type="hidden" name="allow_email" value="Y" class="checkbox" <!--@if($member_info->allow_email!='N')-->checked="checked"<!--@end--> />
<!--@else-->
<input type="checkbox" name="allow_email" value="Y" class="checkbox" <!--@if($member_info->allow_email!='N')-->checked="checked"<!--@end--> />{$lang->public}
<!--@end--><p>{$lang->about_email_address}</p></td>
</tr>
line 109 부근에 부분을 삽입한다.(추가된 부분 : 붉은 색의 코드를 추가한다)
<tr>
<th scope="row">{$lang->homepage}</th>
<td><input type="text" name="homepage" value="{htmlspecialchars($member_info->homepage)}" />
<!--@if($member_config->homepage_policy!='N')-->
<input type="hidden" name="allow_homepage" value="Y" class="checkbox" <!--@if($member_info->allow_homepage!='N')-->checked="checked"<!--@end--> />
<!--@else-->
<input type="checkbox" name="allow_homepage" value="Y"class="checkbox" <!--@if($member_info->allow_homepage!='N')-->checked="checked"<!--@end--> />{$lang->public}<!--@end--> <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)}" />
<!--@if($member_config->blog_policy!='N')-->
<input type="hidden" name="allow_blog" value="Y" class="checkbox" <!--@if($member_info->allow_blog!='N')-->checked="checked"<!--@end--> />
<!--@else-->
<input type="checkbox" name="allow_blog" value="Y" class="checkbox" <!--@if($member_info->allow_blog!='N')-->checked="checked"<!--@end--> />{$lang->public}<!--@end--><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>
<!--@if($member_config->birthday_policy!='N')-->
<input type="hidden" name="allow_birthday" value="Y" class="checkbox"<!--@if($member_info->allow_birthday!='N')-->checked="checked"<!--@end--> />
<!--@else-->
<input type="checkbox" name="allow_birthday" value="Y" class="checkbox" <!--@if($member_info->allow_birthday!='N')-->checked="checked"<!--@end--> />{$lang->public}<!--@end-->
<p>{$lang->about_birthday}</p>
</td>
</tr>5. zbxe/moudles/member/skins/deafult/member_info.html
line 43 부근에 부분을 삽입한다. (추가된 부분 : 붉은 색의 코드를 추가한다)
<!--@if($member_info->allow_homepage!='N' || $member_srl == $logged_info->member_srl || $logged_info->is_admin == 'Y' || $member_config->homepage_policy!='N')-->
<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--> <!--@end--></td>
</tr>
<!--@end-->
<!--@if($member_info->allow_blog!='N' || $member_srl == $logged_info->member_srl || $logged_info->is_admin == 'Y' || $member_config->blog_policy!='N')-->
<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--> <!--@end--></td>
</tr>
<!--@end-->
<!--@if($member_info->allow_birthday!='N' || $member_srl == $logged_info->member_srl || $logged_info->is_admin == 'Y' || $member_config->birthday_policy!='N')-->
<tr>
<th scope="row">{$lang->birthday}</th>
<td><!--@if($member_info->birthday)-->{zdate($member_info->birthday,"Y-m-d")}<!--@else--> <!--@end--></td>
</tr>
<!--@end-->
댓글 0
제목 | 글쓴이 | 날짜 |
---|---|---|
회원 정보에 내 포인트 현황 출력하기
[3]
![]() | 화랑529 | 2013.01.08 |
게시판 설정의 게시판 정보 탭에서, 고급 항목이 항상 노출되도록 하는 방법 [3] | sejin7940 | 2014.01.20 |
관리자를 제외하고는 타회원의 회원정보 보기를 막는 방법 [1] | sejin7940 | 2014.04.04 |
비회원 GPS 정보 처리 | 웹빌드ver2 | 2014.05.09 |
유저가 자신의 회원정보 전체를 공개/비공개 설정하게 하는 방법 [2] | sejin7940 | 2014.05.27 |
회원정보에서 '서명' 수정이 반영되지 않을 경우 | Novelic | 2014.06.03 |
홈페이지 제작 시, 개인정보관련/회원가입약관 처리에 대해서 [1] | 양파F | 2014.08.23 |
관리자페이지의 '서버정보출력'에 '절대경로' 가 출력되게 하는 방법 [3] | sejin7940 | 2014.08.26 |
회원정보보기시 공개 안 한 정보에 대해서도 최고관리자는 볼 수 있도록 변경 | sejin7940 | 2014.09.10 |
익명게시판에서 임시저장된 글을 불러와 등록하면 익명처리되지 않고 글쓴이 정보가 기록되는 버그 수정 [1] | sejin7940 | 2015.01.23 |
사용자 매뉴에 회원정보와 포인트설정 바로가기 기능 삽입
[1]
![]() | 간장게장같은남자 | 2015.01.23 |
아마존 상품API 소스中 상품정보 가져오는 소스 | 키스투엑스이 | 2015.03.10 |
회원정보보기를 팝업으로 띄우는 방법 | 콜롬보. | 2015.03.13 |
(오류x, 정보)ckeditor와 xpresseditor의 서식은 서로 다르네요. 반응형만드실 때 주의하실 필요가 있겠습니다. | 큰성565 | 2015.06.04 |
외부 페이지에서 회원 프로필 정보(확장변수) 나타내기 | 한꼬마 | 2015.10.14 |
[자료실 모듈] 경로 사용 해제후에 자료 정보 수정시 경로값 필요 문구 발생시 | 불금 | 2015.10.18 |
EXIF 메타정보 필요하신 분 있으시면 | forest535 | 2018.04.09 |