회원가입약관 건너뛰려고 해요! 정보
회원가입약관 건너뛰려고 해요!관련링크
본문
회원가입할때 회원가입약관 등 단계를 건너뛰고 바로 가입폼 화면으로 넘어가고 싶을때
1. 그누보드5 / bbs / register.php 1~2줄
<?php
include_once('./_common.php');
를 다음과 같이 변경합니다.
<?php
include_once('./_common.php');
include_once('./_head.php');
goto_url('./register_form.php');
2. 그누보드5 / bbs / register_form.php 25~31줄
if (!isset($_POST['agree']) || !$_POST['agree']) {
alert('회원가입약관의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php');
}
if (!isset($_POST['agree2']) || !$_POST['agree2']) {
alert('개인정보처리방침안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php');
}
를 다음과 같이 변경
if (!isset($_POST['agree']) || !$_POST['agree']) {
//alert('회원가입약관의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php');
}
if (!isset($_POST['agree2']) || !$_POST['agree2']) {
//alert('개인정보처리방침안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php');
}
참고자료
https://sir.kr/qa/142848
1. 그누보드5 / bbs / register.php 1~2줄
<?php
include_once('./_common.php');
를 다음과 같이 변경합니다.
<?php
include_once('./_common.php');
include_once('./_head.php');
goto_url('./register_form.php');
2. 그누보드5 / bbs / register_form.php 25~31줄
if (!isset($_POST['agree']) || !$_POST['agree']) {
alert('회원가입약관의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php');
}
if (!isset($_POST['agree2']) || !$_POST['agree2']) {
alert('개인정보처리방침안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php');
}
를 다음과 같이 변경
if (!isset($_POST['agree']) || !$_POST['agree']) {
//alert('회원가입약관의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php');
}
if (!isset($_POST['agree2']) || !$_POST['agree2']) {
//alert('개인정보처리방침안내의 내용에 동의하셔야 회원가입 하실 수 있습니다.', G5_BBS_URL.'/register.php');
}
참고자료
https://sir.kr/qa/142848
추천
2
2
댓글 0개