메뉴 건너뛰기

조회 수 1060 추천 수 0 댓글 0
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄
?

단축키

Prev이전 문서

Next다음 문서

크게 작게 위로 아래로 게시글 수정 내역 댓글로 가기 인쇄


 

 주의사항 : 제시된 줄 수는 그누보드5.2.2버전 기준이므로 빌더 종류나 버전에 따라 줄 수가 다를 수 있고, 내용도 다를 수 있습니다. 그럴때는 해당내용을 직접 찾아주셔야 합니다.

 

 

[코어수정]

 

 

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//--------------------  bbs/login_check.php파일 ------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

 

 

 

*** 43번째 줄 쯤에 아래의 내용을 찾음

 

set_session('ss_mb_key', md5($mb['mb_datetime'] . $_SERVER['REMOTE_ADDR'] . $_SERVER['HTTP_USER_AGENT']));

 

*** 이 내용 아래에 다음의 한 줄을 추가

 

if(preg_match("/GNUPUSH/", $_SERVER['HTTP_USER_AGENT'])) sync_device_memb_id_webview_login($mb['mb_id']);

 

 

 

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//------------------  bbs/memo_form_update.php파일 ---------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

 

 

*** 62번째줄 쯤에 아래의 내용을 찾음

 

// 쪽지 INSERT

$sql = " insert into {$g5['memo_table']} ( me_id, me_recv_mb_id, me_send_mb_id, me_send_datetime, me_memo ) values ( '$me_id', '$recv_mb_id', '{$member['mb_id']}', '".G5_TIME_YMDHIS."', '{$_POST['me_memo']}' ) ";

sql_query($sql);

 

*** 이 내용 다음에 아래의 내용을 추가

 

send_push_new_memo($recv_mb_id,$member['mb_id'],$_POST['me_memo'],$me_id);

 

 

 

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------  bbs/register_form_update.php파일 -------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

 

(1) 회원가입시 동기화 처리

 

*** 287번째줄에 아래 내용을 찾음.

 

// 메일인증 사용하지 않는 경우에만 로그인

if (!$config['cf_use_email_certify'])

        set_session('ss_mb_id', $mb_id);

 

*** 이 내용을 아래 내용으로 바꿈

 

// 메일인증 사용하지 않는 경우에만 로그인

if (!$config['cf_use_email_certify']){

set_session('ss_mb_id', $mb_id);

if(preg_match("/GNUPUSH/", $_SERVER['HTTP_USER_AGENT'])) sync_device_memb_id_webview_login($mb_id);

}

 

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------  bbs/write_comment_update.php파일 -------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

 

 

*** 190번째줄쯤

 

// 포인트 부여

insert_point($member['mb_id'], $board['bo_comment_point'], "{$board['bo_subject']} {$wr_id}-{$comment_id} 댓글쓰기", $bo_table, $comment_id, '댓글');

 

*** 이 내용 다음에 아래의 내용을 추가

 

$gnu_config = get_gnupushapp_config();

send_push_new_comment($write_table,$bo_table,$board['bo_subject'],$board[$gnu_config['board_grant_c']],$wr_id,$comment_id,$tmp_comment,$tmp_comment_reply,$wr['ca_name'],$wr_secret,$wr_content,$mb_id,$wr_name);

 

 

 

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//--------------------  bbs/write_update.php파일 -----------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

 

 

 

*** 730번째줄쯤 아래의 내용을 찾는다.

 

// 자동저장된 레코드를 삭제한다.

sql_query(" delete from {$g5['autosave_table']} where as_uid = '{$uid}' ");

//------------------------------------------------------------------------------

 

 

*** 이 다음줄에 아래의 내용을 추가

 

if($w == '' || $w == 'r') {

$gnu_config = get_gnupushapp_config();

send_push_new_post($write_table,$bo_table,$board['bo_subject'],$board[$gnu_config['board_grant_c']],$wr_id,$wr_num,$wr_reply,$ca_name,$secret,get_text(stripslashes($wr_subject)),conv_unescape_nl(stripslashes($wr_content)),$member['mb_id'],$wr_name,$row['cnt']);

}

 

 

 

 

 

 

 

 

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//--------------------  bbs/qawrite_update.php파일 ----------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

//----------------------------------------------------------------------//

 

 

*** 320번째 줄에 아래 내용을 찾음

 

// SMS 알림

if($config['cf_sms_use'] == 'icode' && $qaconfig['qa_use_sms']) {

 

*** 이 내용을 아래의 내용으로 바꿈!!!

 

$go_sms = true;

 

$thumb_src = "none";

 

if($upload[1]['file']){

$thumb_src = $upload[1]['file'];

}else if($upload[2]['file']){

$thumb_src = $upload[2]['file'];

}

 

if($w == '' || $w == 'r') {

$ex_md_id = check_device_exist($config['cf_admin'],"notice");

if($ex_md_id){

$go_sms = false;

send_push_new_qa($w,$qa_id,get_text(stripslashes($qa_subject)),conv_unescape_nl(stripslashes($qa_content)),$member['mb_id'],$config['cf_admin'],$qaconfig['qa_title'],$thumb_src,$member['mb_nick']);

}

}elseif($w == 'a') {

$ex_md_id = check_device_exist($write['mb_id'],"myreply");

if($ex_md_id){

$go_sms = false;

send_push_new_qa($w,$qa_id,get_text(stripslashes($qa_subject)),conv_unescape_nl(stripslashes($qa_content)),$config['cf_admin'],$write['mb_id'],$qaconfig['qa_title'],$thumb_src,$member['mb_nick']);

}

}

 

// SMS 알림

if($go_sms && $config['cf_sms_use'] == 'icode' && $qaconfig['qa_use_sms']) {

 

 

 

-----------------------------------------------------------------------------

코어수정 끝

-----------------------------------------------------------------------------

 

 

 

 



  1. 그누보드 코어 수정 방법 안내

    Date2025.02.05 By최고관리자 Views1060
    Read More
  2. 앱 로그인 화면에서 로그인하면 "로그인 실패했다"는 메시지가 나오고 로그인이 되지 않습니다.

    Date2017.06.22 By관리자 Views1564
    Read More
  3. 오류 발생시 원인 확인하는 방법

    Date2017.05.29 By관리자 Views1634
    Read More
  4. 구독게시판 설정을 누르면 "설정값을 불러오지 못했습니다..."라는 오류가 뜹니다.

    Date2016.08.30 By관리자 Views1522
    Read More
  5. 앱에서 파일첨부가 안됩니다.

    Date2016.08.23 By관리자 Views1486
    Read More
  6. 알림 설정 창 누르면 "표시할 게시판 목록이 없습니다..." 오류가 떠요.

    Date2016.02.11 By관리자 Views1563
    Read More
  7. 업그레이드 했는데도 자꾸 "새 버전의 앱이 있습니다...." 알림이 떠요.

    Date2016.01.28 By관리자 Views1623
    Read More
  8. 앱 실행시 '사용이 금지된 앱입니다....'라는 메시지가 떠요.

    Date2016.01.28 By관리자 Views1530
    Read More
  9. 앱을 실행하면 인트로 화면에서 멈추어서 로딩시간 초과되거나 또는 곧바로 에러로 종료됩니다.

    Date2016.01.08 By관리자 Views3835
    Read More
  10. 푸시 알림이 안 됩니다. & 푸시 알림이 많은 확률로 실패합니다.

    Date2016.01.08 By관리자 Views4382
    Read More
  11. 앱을 빌드하면 R 에러와 finished with non-zero exit value 1 에러가 납니다.

    Date2016.01.08 By관리자 Views1629
    Read More
  12. 앱 소스 수정한 다음에 빌드를 누르면 에러가 납니다.

    Date2016.01.08 By관리자 Views1656
    Read More
  13. 기존 앱을 사용하고 있는데 새 버전으로 업그레이드 할 때는 어떻게 해야 하나요?

    Date2016.01.08 By관리자 Views1750
    Read More
  14. 자바스크립트로 앱로그인,앱설정창,전면애드몹,공유화면 호출하는 방법

    Date2020.02.12 By관리자 Views2223
    Read More
  15. 하단메뉴 & 퀵메뉴 설정 방법 안내!

    Date2017.08.29 By관리자 Views2071
    Read More
  16. xe 1.9.3 이상버전에서 첨부파일 오류 해결 위한 패치파일(xe 1.11.0버전 반영, 2018-10-11)

    Date2017.08.25 By관리자 Views2132
    Read More
  17. 알림음 바꾸는 방법

    Date2016.04.02 By관리자 Views2313
    Read More
  18. small icon 색상변경 위한 이미지 원본 파일

    Date2016.03.31 By관리자 Views1717
    Read More
  19. 퀵 메뉴 색깔 위치 수동변경 방법

    Date2016.03.18 By관리자 Views1847
    Read More
  20. 권한 에러가 되었을 때 메시지 모듈 로그인 화면에서 앱 로그인으로 링크시키는 방법

    Date2016.01.30 By관리자 Views1756
    Read More
Board Pagination Prev 1 2 Next
/ 2