웹마스터 팁
[전면수정]회원가입시 기본 정보공개 여부 체크하기(2) 스킨부분
2008.02.17 23:30
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" />
<<부연설명>> 위의 내용이 삽입되지않으면 회원가입시 정보공개 체크인/아웃이 DB에 기록 되지 않습니다.
2. zbxe/moudles/member/skins/deafult/filter/modify_info.xmlline 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;"> </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--> <!--@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--> <!--@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--> <!--@end--></td>
</tr>
<!--@end-->
모듈 부분 바로가기
- [2008/02/20] 웹마스터 팁 [전면수정]회원가입시 기본 정보공개 여부 체크하기(1) 모듈부분 *5
댓글 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 |