웹마스터 팁
[정식 버전 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
제목 | 글쓴이 | 날짜 |
---|---|---|
회원가입 확장모듈 사용중 캡챠 실패시 재동의 안하기 | 말똥이 | 2013.10.31 |
확장변수, 회원가입 등의 한국 우편번호 검색 서버 주소 변경... [2] | Double'U' | 2013.12.26 |
코어 업데이트 후 회원가입 이름이 숫자(번호)로 뜨는 현상 수정 [1] | 자대련 | 2014.04.01 |
회원가입시 아이피 기록하기 [10] | 수직상승 | 2014.04.24 |
홈페이지 제작 시, 개인정보관련/회원가입약관 처리에 대해서 [1] | 양파F | 2014.08.23 |
회원가입 인증메일 Gmail 설정해도 메일 안 올 때 저는 이렇게 했습니다. [12] | 마키치노 | 2014.11.06 |
회원가입후 24시간 이후 글작성 가능하기 [2] | 샵사이드 | 2015.02.09 |
XE 로그인을 아이디로 바꾸려는데 회원설정에서 회원가입 탭이 안보일때. | 불금 | 2015.02.27 |
member 모듈 메일인증을 사용할때 모바일 기본스킨에서 회원가입 후 이메일 발송 안내 띄우기 [2] | 후하니 | 2015.08.01 |
회원가입폼 기본항목에 안내문구 넣기 | paraduxx | 2016.01.11 |
인스타그램 해시태그 회원가입 없이 끌어오기 | 외인 | 2017.02.08 |
회원가입품 연락처항목 공백잇을시 질문입니다. | 해운거사2 | 2019.08.16 |
xe 기본회원가입품 연락처항목 공백&숫자 유효성검사 질문입니다. | 해운거사2 | 2019.08.25 |