11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


[배추스킨]코멘드 작성시 관리자 통보및 w 값이 제대로 넘어오지 않습니다. 오류 질문드립니다

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    .
    [배추스킨] w 값이 제대로 넘어오지 않습니다. 오류 질문드립니다 icon_qna_0.png
    글쓴이 : 심봉사                    (210.♡.41.89) 날짜 : 2012-03-14 (수) 01:35 조회 : 43 btn_singo2.gif btn_print.gif
    글주소 : http://umz.kr/08EOM copy.png
    icon_file_down.gif 2012-03-14_012343.bmp (143.4K), Down : 0, 2012-03-14 01:36:08
    icon_file_down.gif 2012-03-14_011027.bmp (62.0K), Down : 0, 2012-03-14 01:36:08
    배추스킨을 사랑하는사용자 입니다 

    write_comment_update.skin.php //에 코멘드 작성시 관리자 메일발송/수신 사용 ..추가시 error 문의좀 
      
    화면이 아래 소스중  코멘드 게시시 메일 수신하고자 아래 영역 추가 ..무엇을 더추가해야 정상적인 게시판으로 이동 되나요 

     // 메일발송 사용 시작 . 
    ..... 추가 내용. 
     // 메일발송 사용 끝. 
    ............. 
    >>>> 첨부 증상과 같이 
    w 값이 제대로 넘어오지 않습니다. 
    오류 질문드립니다 

    -------------- 소스 ----------- 

    <? 
    /** 
     * Bechu-Basic Skin for Gnuboard4 
     * 
     * Copyright (c) 2008 Choi Jae-Young <www.miwit.com
     * 
     * This program is free software; you can redistribute it and/or modify 
     * it under the terms of the GNU General Public License as published by 
     * the Free Software Foundation; either version 2 of the License, or 
     * (at your option) any later version. 
     * 
     * This program is distributed in the hope that it will be useful, 
     * but WITHOUT ANY WARRANTY; without even the implied warranty of 
     * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the 
     * GNU General Public License for more details. 
     * 
     * You should have received a copy of the GNU General Public License 
     * along with this program; if not, write to the Free Software 
     * Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA  02111-1307  USA 
     */ 

    if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가 

    $sql = "update $write_table set wr_option = '$wr_option' where wr_id = '$comment_id'"; 
    sql_query($sql); 

    // 익명 
    if ($mw_basic[cf_anonymous]) { 
        sql_query(" update $write_table set wr_anonymous = '$wr_anonymous' where wr_id = '$comment_id' "); 

    // 메일발송 사용 (수정글은 발송하지 않음) 
    if (!($w == "u" || $w == "cu") && $config[cf_email_use]) 

        $emails = explode("\n", $mw_basic[cf_email]); 

        if (count($emails) > 0) 
        { 
            $wr_subject = get_text(stripslashes($wr_subject)); 

            $tmp_html = 0; 
            if (strstr($html, "html1")) 
                $tmp_html = 1; 
            else if (strstr($html, "html2")) 
                $tmp_html = 2; 

            $wr_content = conv_content(stripslashes($wr_content), $tmp_html); 

            $warr = array( ""=>"입력", "u"=>"수정", "r"=>"답변", "c"=>"코멘트", "cu"=>"코멘트 수정" ); 
            $str = $warr[$w]; 

            $subject = "'{$board[bo_subject]}' 게시판에 {$str}글이 올라왔습니다."; 
            $link_url = "$g4[url]/$g4[bbs]/board.php?bo_table=$bo_table&wr_id=$wr_id&$qstr"; 

            include_once("$g4[path]/lib/mailer.lib.php"); 

            ob_start(); 
            include ("$g4[bbs_path]/write_update_mail.php"); 
            $content = ob_get_contents(); 
            ob_end_clean(); 

            foreach ($emails as $email) 
            { 
                $email = trim($email); 
                if (!$email) continue; 
                if ($email == "test@test.com") continue; 
                mailer($wr_name, $wr_email, $email, $subject, $content, 1); 
        write_log("$g4[path]/data/mail.log", "$email\n"); 
            } 
        } 

    // 추가끝-메일발송 사용 
    // 짧은 글주소 사용 
    /*if ($mw_basic[cf_umz]) { 
        $url = "$g4[url]/$g4[bbs]/board.php?bo_table=$bo_table&wr_id=$wr_id#c_$comment_id"; 
        $umz = umz_get_url($url); 
        sql_query("update $write_table set wr_umz = '$umz' where wr_id = '$comment_id'"); 
    }*/ 
    // 모바일 
    if ($w == 'c') { 
        if (preg_match("/(iphone|samsung|lgte|mobile|BlackBerry|android|windows ce|mot|SonyEricsson)/i", $_SERVER[HTTP_USER_AGENT])) { 
            sql_query("update $write_table set wr_is_mobile = '1' where wr_id = '$comment_id'", false); 
        } 

    ?>
    noimage.gif
     
     
    shims
    질문자가 자신의 포인트 50 점을 걸었습니다.
    답변하시면 포인트 5을, 답변이 채택되면 포인트 135점 (채택 35 + 추가 100을 드립니다.
     send_me2day.png send_twitter.png send_facebook.png send_yozm.png send_cy.png

    icon_notice.gif
    회원님, 질문답변 게시판에서 궁금한 사항을 해결하셨다면, 애써 답변해주신 분께 잘 되었다고 따뜻한 댓글 한마디 남겨주세요. 
    그리고 답변해주신 분의 글을 '추천' 해주세요. 
    추천받으신 분에게 10포인트가, 추천하신 분에게도 1포인트가 적립됩니다. ^^

    miwit
     
     
    miwit.gif 곱슬최씨 btn_singo.gif 2012-03-14 (수) 13:49
    이 코드를 빼보세요. 

      write_log("$g4[path]/data/mail.log", "$email\n");

    \r\n----------------------------------------------
    \r\nHomepc.11q.kr
    \r\n========================\n
    [이 게시물은 관리자님에 의해 2013-11-18 21:29:50 11.H_BBS에서 이동 됨]
    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    최고관리자님의 댓글

    no_profile 최고관리자 쪽지보내기 메일보내기 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    <table width="100%" height="28" cellpadding="0" cellspacing="0" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-family: gulim; background-image: url(http://g4.miwit.com/skin/board/mw.basic/img/co_title_bg.gif); background-attachment: initial; background-origin: initial; background-clip: initial; background-color: initial; "><tbody><tr><td style="line-height: 16px; padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; "><span class="mw_basic_comment_name" style="font-weight: bold; color: rgb(136, 136, 136); margin-top: 0px; margin-right: 10px; margin-bottom: 0px; margin-left: 0px; "><a href="http://g4.miwit.com/bbs/board.php?bo_table=g4_qna&amp;wr_id=38180&amp;page=1&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=&amp;spt=0&amp;page=1&amp;cwin=" title="[ss1145]심봉사" style="font-size: 11px; color: rgb(136, 136, 136); text-decoration: none; " target="_blank"><span class="member">심봉사</span></a></span>&nbsp;<span class="mw_basic_comment_ip" style="font-size: 11px; color: rgb(136, 136, 136); ">(119.♡.210.174)</span>&nbsp;<a href="http://g4.miwit.com/bbs/board.php?bo_table=g4_qna&amp;wr_id=38180&amp;page=1&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=&amp;spt=0&amp;page=1&amp;cwin=" style="color: rgb(0, 0, 0); " target="_blank"><img src="http://g4.miwit.com/skin/board/mw.basic/img/btn_comment_update.gif" border="0" align="absmiddle" title="수정" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; border-style: initial; border-color: initial; border-style: initial; border-color: initial; "></a>&nbsp;<a href="http://g4.miwit.com/bbs/board.php?bo_table=g4_qna&amp;wr_id=38180&amp;page=1&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=&amp;spt=0&amp;page=1&amp;cwin=" style="color: rgb(0, 0, 0); " target="_blank"><img src="http://g4.miwit.com/skin/board/mw.basic/img/btn_comment_delete.gif" border="0" align="absmiddle" title="삭제" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; border-style: initial; border-color: initial; border-style: initial; border-color: initial; "></a>&nbsp;<a href="http://g4.miwit.com/bbs/board.php?bo_table=g4_qna&amp;wr_id=38180&amp;page=1&amp;sca=&amp;sfl=wr_subject||wr_content&amp;stx=&amp;spt=0&amp;page=1&amp;cwin=" style="color: rgb(0, 0, 0); " target="_blank"><img src="http://g4.miwit.com/skin/board/mw.basic/img/btn_singo.gif" align="absmiddle" title="신고" style="border-top-width: 0px; border-right-width: 0px; border-bottom-width: 0px; border-left-width: 0px; border-style: initial; border-color: initial; border-image: initial; border-style: initial; border-color: initial; border-style: initial; border-color: initial; "></a> <span class="mw_basic_comment_datetime" style="font-size: 11px; color: rgb(136, 136, 136); margin-right: 10px; ">2012-03-14 (수) 23:41</span></td></tr></tbody></table><table width="100%" cellpadding="0" cellspacing="0" class="mw_basic_comment_content" style="padding-top: 0px; padding-right: 0px; padding-bottom: 0px; padding-left: 0px; margin-top: 0px; margin-right: 0px; margin-bottom: 0px; margin-left: 0px; border-collapse: collapse; -webkit-border-horizontal-spacing: 0px; -webkit-border-vertical-spacing: 0px; font-family: gulim; "><tbody><tr><td valign="top" style="padding-top: 7px; padding-right: 7px; padding-bottom: 7px; padding-left: 7px; word-break: break-all; "><div id="view_38232">감사 합니다&nbsp;<br>상기와 같이 이메일 추가 부분을 하고 아래&nbsp;<br>//&nbsp; write_log("$g4[path]/data/mail.log", "$email\n");&nbsp;<br>을 삭제 하니 정상적으로 코멘드 작성시 error없이 관리자로 메일 발송 잘됩니다</div></td></tr></tbody></table>


    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,752 / 13 Page
    [ ● 시놀로지작업)동영상 분석 테스트 letsencrypt 업데이트 및 자동 업 데이트 ] 댓글 1

    ● 시놀로지작업)동영상 분석 테스트 letsencrypt 업데이트 및 자동 업 데이트주) 1일 5회이상 발급 안됨,,,,에러 나옴 >>…

    [ [자료] NetDrive (광고없는 무료버전, 1.3.4) ] 댓글 5

    \r\n[자료] NetDrive (광고없는 무료버전, 1.3.4)\r\nPosted 2014/09/18 14:18 by archjang\r\n\…

    [ 작업_성공) DSM 6.2_ds3615 jun's Loader 103b 설치 작업 ( 서버 ds918p … ] 댓글 31

    작업_성공) DSM 6.2_ds3615 jun's Loader 103b 설치 작업 ( 서버 ds918p to ds3615 변경 작업)주)하기와 …

    [ ● vCenter 없이 ESXi 6.7을 7.0으로 업그레이드하는 방법 ]

    ESXi 7.0에서 지원되지 않는 공급업체 하드웨어 VIB가 호스트에 설치되어 있을 수 있으므로 이러한 VIB가 업그레이드 프로세스를 차단할 수…

    [ [림스업] 배추 게시판 림스모바일 사용시 삭제 않되는 문제 추가 m/bbs/delete.php에 스킨 경로… ]

    // 배추 게시판 림스모바일 사용시 삭제 않되는 문제 추가 m/bbs/delete.php에 스킨 경로 #3추가시작// 스킨경로 추가 내용$boa…

    [ dsm 게시판 설치 사용기 ] 댓글 1

    \r\n\r\ndsm 게시판 설치 사용기\r\n아래 config파일을 web폴더에 카피후\r\ntelnet실행후 .htaccess를 홈피 폴더에…

    [ ★★★ 림스 모바일 2.6.3버전 설치 방법 메뉴얼 1월14일 이후 config.php 적용 방법및 저의 홈… ] 댓글 5

    림스 모바일 2.6.3버전 1월14일 이후 config.php 수정 적용 방법1) 수정 1 m폴더 적용 // config.php 가 있는곳의 웹…

    [ 시놀로지 공장초기화 444초 진행 리셋버튼 reset 4초 4초후 reset 4초 및 WEB STAT… ]

    링크\r\n기존ds712 에 DSM 6.0 시놀로지가 web station이\r\n홈페이지가 동작 하지 않는다오리지널 시놀로지 공장초기화 444…

    [ 배추빌더 --> 후딱빌더 이전 하지말것 ] 댓글 1

    자유게시판후딱빌더 호환성글쓴이일임날짜2012.02.27 16:31조회439배추빌더 --> 후딱빌더 이전 할 때 대부분은 성공했는데, 글쓰는…

    [ 자작 nas 설치사례)Xpenology(헤놀로지)NAS서버_install_file 초기/화 재설치 구성 방… ] 댓글 12

    모든 저의 설정 저장값을 pdf viewer 가능한 게시판에 등록 공유 합니다\r\n첨부 워드자료 참조 최종 사용 자료xpenology를 설치를…

    [ g4(배추라이트)와 amina v3 스킨/테마 모바일 적용 ]

    g4(배추라이트)와 amina v3 스킨/테마 모바일 적용\r\n\r\n1) 배추 빌더라이트 정상설치\r\n- 주) 아미나테마 적용카피전 아미나…

    [ [배추스킨]코멘드 작성시 관리자 통보및 w 값이 제대로 넘어오지 않습니다. 오류 질문드립니다 ] 댓글 1

    .[배추스킨] w 값이 제대로 넘어오지 않습니다. 오류 질문드립니다글쓴이 :심봉사(210.♡.41.89)날짜 :2012-03-14 (수) 01:…

    [ 최고관리자 자동로그인 되개 하기 모바일/ 아미나 모바일 최고 관리자 자동로그인 ]

    최고관리자 자동로그인 되개 하기 모바일/ 아미나 모바일 최고 관리자 자동로그인\r\n수정 내용 ss 자동로그인 관리자 가능 수정1/3~3/3 참…

    [ ● Esxi 서버 부트로더 변환 작업이 필요 없는 img 파일 올리기 ] 댓글 1

    ● Esxi 서버 부트로더변환 작업이 필요 없는img 파일 올리기 저는 Esxi 서버에서 img을 그대로 사용합니다방법은vmdk 변환을 1회만 …

    [ ● 저의 Esxi서버 7.0.2 메인서버 DS3615xs dsm7.1 서버전환 완료 ]

    ● 저의 Esxi서버 7.0.2 메인서버 DS3615xs dsm7.1 서버전환 완료기존 dsm7.0 에서 tinycore bootloader 0…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-06-01 21:39:38

    오늘의 홈 현황


    • 현재 접속자♨ 514 명
    • 오늘 가입자※ 2 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 12 명
    • 오늘 방문자 1,970 명
    • 어제 방문자 1,415 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,353,116 명
    • 전체 게시물※ 8,611 개
    • 전체 댓글수※ 24,675 개
    • 전체 회원수 11,004 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑