묻고답하기

아래는 블루게이트님의 상담글을 지정된 한사람만 볼수있도록 하신 기능입니다.
그런데 제가
1.4.4.4버전을 사용중인데 버전이 틀려서그런지
수정하면 에러가
Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line 67

Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line
253

Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line
254

Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line
255

Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line
256

Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line
257

Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line
258

Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line
77

Warning
: Cannot modify header information - headers already sent by (output started at /home/hosting_users/incline2010/www/main/modules/board/board.view.php:1) in /home/hosting_users/incline2010/www/main/classes/display/DisplayHandler.class.php on line
77
나타납니다.
혹시 1.4.4.4버전으로 수정해주실분안계신가요??
꼭좀 부탁드립니다.

========================================================================
블루게이트님의 기능설명부분입니다.

상담기능에서 내용을 보여주고 싶은 1인 등록하기

상담기능은 작성자와 관리자 이외에는 볼수없게 하는 기능이다. 
좋은 기능이긴 하나 관리자가 작성한 글을 다른이에게 보여줄수 없다는 불편함이 있다.

이문제를 해결하기 위해 확장변수를 이용하여
추가로 보여주고자 하는 1인의 아이디를 등록하는 방법이다.

수정대상 : ./ modules / board / board.view.php
수정전 :
                // 상담기능이 사용되고 공지사항이 아니고 사용자의 글도 아니면 무시
                if($oDocument->isExists() && $this->consultation && !$oDocument->isNotice()) {
                    $logged_info = Context::get('logged_info');
                    if($oDocument->get('member_srl')!=$logged_info->member_srl) $oDocument = new DocumentItem();
                }
                .
                .
                .
               // 상담 기능이 on되어 있으면 현재 로그인 사용자의 글만 나타나도록 옵션 변경
            if($this->consultation) {
                $logged_info = Context::get('logged_info');
                $args->member_srl = $logged_info->member_srl;
            }

수정후 :
                // 상담기능이 사용되고 공지사항이 아니고 사용자의 글도 아니면 무시
                if($oDocument->isExists() && $this->consultation && !$oDocument->isNotice()) {
                    $logged_info = Context::get('logged_info');
                    if($oDocument->get('member_srl')!=$logged_info->member_srl && $oDocument->get('extra_vars1')!=$logged_info->user_id) $oDocument = new DocumentItem();
                }
                .
                .
                .
            // 상담 기능이 on되어 있으면 현재 로그인 사용자의 글만 나타나도록 옵션 변경
            if($this->consultation) {
                $logged_info = Context::get('logged_info');
                $args->member_srl = $logged_info->member_srl;
                $args->user_id_extra_vars1 = $logged_info->user_id;
            }


수정대상 : ./ modules / document / document.model.php
수정전 :
            $args->member_srl = $obj->member_srl;
  

수정후 :
            $args->member_srl = $obj->member_srl;
            $args->user_id_extra_vars1 = $obj->user_id_extra_vars1;


수정대상 : ./ modules / document / queries / getDocumentList.xml
수정전 :
   <condition operation="equal" column="member_srl" var="member_srl" filter="number" pipe="and" />
        

수정후 :
   <group pipe="and">
       <condition operation="equal" column="member_srl" var="member_srl" filter="number" pipe="or" />
       <condition operation="equal" column="extra_vars1" var="user_id_extra_vars1" pipe="or" />
   </group>

동일한 방법으로 getDocumentListWithinComment.xml, getDocumentListWithinTag.xml 두개 파일도 수정해준다.

이것으로 수정끝  케시재생성해주는 것 잊지 마시기 바랍니다. 


자 이제 사용을 해야겠죠.

게시판을 하나 만듭니다. 설정에 상담기능 사용으로 체크하시구요
확장변수1번을 "text"로 설정하고, 제목은 "받을 사람 ID" 로 해서 저장합니다.

이제 게시판에서 글을 작성해 봅니다. 이때 따로 보여주고자 하는 사람이 있으면 아이디를 등록해 줍니다.
이것으로 긑...

글쓴이 제목 최종 글
XE 공지 글 쓰기,삭제 운영방식 변경 공지 [16] 2019.03.05 by 남기남
한정숙278 게시판 확장변수에서 한국주소 추가시  
복고열전 제로보드xe에서 회원들에게 전체 쪽지보낼수있는 기능  
시니시즘 이 부분 수정하고 싶은데 어떻게 해야 하나요? [1] file 2009.04.08 by 궁금이2
맥문동 cafe xe 생성가능 갯수에 관해 문의합니다. [1] 2009.04.08 by 대암지기
pdos 질문] 업로드 시 error #2038 발생 [1] 2009.04.08 by phiz
상추 [중복질문] 레이아웃을 이것처럼 적용하고 싶습니다.  
컴터광 select language에서 한글에서 영어전환시 환경설정 제어판에있는 다른메뉴 호출방법없나요?  
krata 회원 명단 출력에 관하여  
상추 제로보드에서 홈피만들 때 메인설정하는 법 [3] 2009.04.08 by 상추
민서파파 접속 에러 관련..  
피키4 게시판 xpresseditor 적용시 에러문제 [1] file 2009.04.08 by 피키4
별의카비542 이미지를 올리면 두장이 떠요 ㅠ_ㅠ [1] 2009.06.01 by 出会い
관리자 글쓰기할적에 상단의 글쓴이,비밀번호,이메일주소,홈페이지 글씨색상 [1] 2009.06.01 by メル友
디비디 회원 전체메일 발송은 어떻게 하나요? [2] 2009.04.08 by 디비디
1.2.0패치 업데이트후 에러발생 file  
Seth 메뉴명의 값을 입력해주세요 file  
김봉후 레이아웃을 에디터로 수정 후 회원정보보기 하면 합쳐서나옵니다  
박신우955 다시 질문이요... [1] file 2009.04.08 by 궁금이2
하선비 페이지 및 메뉴 경로 [1] 2009.04.08 by 백성찬
김문수462 글 작성시 이메일은 오는데 이미지가 제대로 보이지가 않아요~ [1] file 2009.04.08 by bad 40''s 키라
싸이 계정에 자료를 다른 계정으로 옮기고 나서 해야할 일이 뭐죠.  
<사랑지기> XE설치시 다음과 같은 오류 문구가 나옵니다. [2] file 2009.04.08 by <사랑지기>
최영석222 게시판 사이즈 조종? [1] file 2009.04.08 by 궁금이2
튀긴건빵 흠, 본문 애드센스삽입관련  
튀긴건빵 메일문의 구현가능할까요? [2] 2009.04.08 by 튀긴건빵
songi1999 게시판 제목 영문폰트 변경 [1] 2009.04.08 by 궁금이2
dominicson 파일첨부 에러!!! ERROR 403.. 꼭 좀 도와주세요..!!! [1] 2009.04.08 by 백성찬
김봉후 위젯이 추가 후 저장 되질 않습니다 [1] 2009.04.08 by 정성호
jro DB 테이블 질문입니다.  
신호근 항목별 정렬방식을 left에서 center로 바꾸니 글씨 색이 바껴요