웹마스터 팁
[전면수정]회원가입시 기본 정보공개 여부 체크하기(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
제목 | 글쓴이 | 날짜 |
---|---|---|
[전면수정]회원가입시 기본 정보공개 여부 체크하기(1) 모듈부분 [5] | 대암지기 | 2008.02.20 |
[전면수정]회원가입시 기본 정보공개 여부 체크하기(2) 스킨부분 | 대암지기 | 2008.02.17 |
본인외 회원정보 제어 [1] | edgarkim | 2008.02.03 |
회원가입시 추가 정보 입력한것이 안 보일때 [1] | 수지보더 | 2008.01.08 |
제로보드에서 로그인후 테크노트에서 로그인정보 사용하기 [4] | JinHoHan | 2007.12.26 |
외부프로그램(페이지)에서 zbxe 로그인 정보 연동하기
[33]
![]() | 도데군 | 2007.12.23 |
회원가입시 추가한 추가정보를 관리자와 회원자신만 보기... [5] | 지연아빠 | 2007.12.22 |
회원이 이름, 닉네임등 정보 변경 못하도록 하기 [8] | 지연아빠 | 2007.12.22 |
외부페이지에서 위젯사용하지 않고 로그인 정보 다루기. [5] [1] | 길치객 | 2007.12.12 |
(회원정보) 보기 페이지에서 포인트 변경하기
[4]
![]() | Simulz | 2007.11.28 |
글쓴이 이메일 정보 감추기 [2] | 대암지기 | 2007.11.22 |
외부 문서에서 회원 정보 얻는 방법 [11] | 소마세월 | 2007.11.10 |
첨부파일 기능에 대한 짧은 정보 [3] | 고라리 | 2007.11.09 |
메뉴에 "회원 정보 보기" 걸기. [4] | font | 2007.11.03 |
(회원 정보) 작성 글 수, 댓글 수를 보여주기 (#4, 2007-10-13)
[7]
![]() | Simulz | 2007.10.06 |
(포인트 모듈) 추가 정보 출력
[8]
![]() | Simulz | 2007.09.20 |
외부에서 회원정보 불러오기 [5] | 미오유 | 2007.08.15 |