웹마스터 팁

현재 XE코어가 XE 1.5.x.x 버전부터

 

비밀번호 찾기 질문/답변이라는  정말 필요한지 의구심을 사게만드는 기능을

 

필수입력사항으로 설정해두는바람에

 

기존의 멤버스킨들 (PXE member Pro와같은...) 을 사용중인분들에게

 

골치아픈 상황을 겪게만들고있는데요... 저도 이틀동안 업데이트후

 

해결해보려고 별에별 방법을 다 찾아보았는데.. 내용은 아래와같습니다..

 

먼저, 수정하려고하는 멤버스킨의 signup_form.html파일을 엽니다.

 

{$lang->password2} 부분을 찾기를 통해 찾아주시면...

 

대략 기존의 스킨을 사용중인분들이 맞으시다면

 

            <tr>
                <th><div>{$lang->password2} <span class="require"><img src="./images/common/iconRequire.gif" alt="" /></span></div></th>
                <td><input type="password" name="password2" value="" class="inputTypeText"/></td>
            </tr>

 

이 비스무리한 소스가 나오게되실텐데요..

 

이 소스가 바로 비밀번호 확인 부분입니다..(회원가입할때 기재들하시죠...비밀번호 두번쓰는거..)

 

이 소스 앞과 끝에 <tr> </tr>부분을 빨간색으로 해두었는데 이것이 바로 시작과끝입니다..

 

여기서 </tr> 바로 뒤에 아래 소스를 삽입합니다.

 

 <find_account_question_items)>1">!--@if(count($lang->find_account_question_items)>1)-->
    <tr>
        <th><div>{$lang->find_account_question} <span class="require">*</span></div></th>
        <td>
   <select name="find_account_question" class="inputTypeSelect">
   <find_account_question_items);$i<$c;$i">!--@for($i=1,$c=count($lang->find_account_question_items);$i<$c;$i++)-->
    <option value="{$i}">{$lang->find_account_question_items[$i]}</option>
   <!--@end-->
   </select>
            <br />
   <input type="text" name="find_account_answer" value="" class="inputTypeText"/>
        </td>
    </tr>
 <!--@end-->

 

완성된 예제는 아래와같습니다

 

            <tr>
                <th><div>{$lang->password2} <span class="require"><img src="./images/common/iconRequire.gif" alt="" /></span></div></th>
                <td><input type="password" name="password2" value="" class="inputTypeText"/></td>
            </tr>
           
 <find_account_question_items)>1">!--@if(count($lang->find_account_question_items)>1)-->
    <tr>
        <th><div>{$lang->find_account_question} <span class="require">*</span></div></th>
        <td>
   <select name="find_account_question" class="inputTypeSelect">
   <find_account_question_items);$i<$c;$i">!--@for($i=1,$c=count($lang->find_account_question_items);$i<$c;$i++)-->
    <option value="{$i}">{$lang->find_account_question_items[$i]}</option>
   <!--@end-->
   </select>
            <br />
   <input type="text" name="find_account_answer" value="" class="inputTypeText"/>
        </td>
    </tr>
 <!--@end-->

 

이렇게 소스를 작성하고 저장하시면..

 

기존 스킨에서도 비밀번호 찾기 질문/답변을 사용할 수 있게되므로

 

회원가입이 가능해집니다..

 

이 방법은 임시방편입니다.. XE코어에서 제발 이 기능을 필수가 아닌

 

선택사항으로 바꿔줬으면 좋겠네요..