register_form.sin.php 를 보면,
아래와 같은 코드형식으로 되어있는데,
<?php if ($config['cf_use_signature']) { ?>
의 cf_use_signature 값을 관리하는 곳이 있을까요?
<?php if ($config['cf_use_signature']) { ?> <tr> <th scope="row"><label for="reg_mb_signature">서명<?php if ($config['cf_req_signature']){ ?><strong class="sound_only">필수</strong><?php } ?></label></th> <td><textarea name="mb_signature" id="reg_mb_signature" <?php echo $config['cf_req_signature']?"required":""; ?> class="<?php echo $config['cf_req_signature']?"required":""; ?>"><?php echo $member['mb_signature'] ?></textarea></td> </tr> <?php } ?> <?php if ($config['cf_use_profile']) { ?> <tr> <th scope="row"><label for="reg_mb_profile">자기소개</label></th> <td><textarea name="mb_profile" id="reg_mb_profile" <?php echo $config['cf_req_profile']?"required":""; ?> class="<?php echo $config['cf_req_profile']?"required":""; ?>"><?php echo $member['mb_profile'] ?></textarea></td> </tr> <?php } ?> <?php if ($config['cf_use_member_icon'] && $member['mb_level'] >= $config['cf_icon_level']) { ?> <tr> <th scope="row"><label for="reg_mb_icon">회원아이콘</label></th> <td> <span class="frm_info"> 이미지 크기는 가로 <?php echo $config['cf_member_icon_width'] ?>픽셀, 세로 <?php echo $config['cf_member_icon_height'] ?>픽셀 이하로 해주세요.<br> gif만 가능하며 용량 <?php echo number_format($config['cf_member_icon_size']) ?>바이트 이하만 등록됩니다. </span> <input type="file" name="mb_icon" id="reg_mb_icon" class="frm_input"> <?php if ($w == 'u' && file_exists($mb_icon_path)) { ?> <img src="<?php echo $mb_icon_url ?>" alt="회원아이콘"> <input type="checkbox" name="del_mb_icon" value="1" id="del_mb_icon"> <label for="del_mb_icon">삭제</label> <?php } ?> </td> </tr> <?php } ?>
몇가지 필드를 여분필드를 통하여 입력을 하려하는데,
<?php if ($config[dddddd])
이 사이에 값이 들어가지 않으면, DB에 저장이 안되는것 같더라구요.
<?php } ?>
그래서 자체적으로 값을 추가해서 만들면 되겠다 싶었는데, (예: cf_use_setcustom)
문제는 어디서 이 값을 추가, 제어, 커스텀 할수있는지 모르겠어서용.
답변 2개
관리자 > 환경설정 > 기본환경 설정보시면 서명입력 체크하는 부분입니다.
/adm/config_form.php
관리자 환경설정에 있는 설정들이 해당 파일에서 제어,컨트롤 되고있습니다.
주소 입력, 휴대폰번호 입력등 그곳에서 설정을하면
회원가입 스킨에서 조건이 적용되어 사용가능하도록 설계되어있습니다.
답변을 작성하려면 로그인이 필요합니다.