MhanCMS 1.31 With GNUBoard, Template_ - 드디어 게시판도 CMS에 넣을 수 있게 되었네여..^^ 정보
기타 MhanCMS 1.31 With GNUBoard, Template_ - 드디어 게시판도 CMS에 넣을 수 있게 되었네여..^^첨부파일
본문
이전까지는 게시판을 넣기 위해서는 iframe 형태로 넣었어야 했는데,
드디어 오늘 iframe없이도 보여질 수 있도록 작업을 마쳤습니다.
MhanCMS 에 관심을 가져주시는 분들 모두모두 감사드립니다.
===============================================================================================
작 성 자 : 바다사랑 (메일:http://gnuboard4.jejudo.info:10080/ --> 관리자 화면은 여기서 보세요. (admin, 1234)
데모화면에 1.3 을 적용하였습니다.
데모화면에서 관리자 비밀번호를 바꾸거나 권한을 없애지 말아 주세요.
비밀번호를 바꾸거나 권한을 없애시면 다른 분들이 오셔서 보실 수가 없습니다.
===============================================================================================
목차
===============================================================================================
가. 설치
나. 환경설정
다. 테이블 생성
라. 팝업관리, 배너관리, 팝업존관리
마. MhanCMS 메뉴 설명
바. MhanCMS 알아두기
사. 간단하게 사이트 만들기
아. 버전 정보
별첨. spaw 설치
===============================================================================================
===============================================================================================
아. 버전 정보
===============================================================================================
2009.04.13 MhanCMS 1.31
게시판 연결시 포트가 다를 때, 접속 안되는 현상 수정
업데이트된 화일
gnuboard4/bbs/board_head.php 에 소스 추가하기 (환경설정참조)
MhanCMS/index.php
2009.04.11 MhanCMS 1.3
게시판을 MhanCMS 에 연결하여 사용 가능하게 추가
업데이트된 화일
gnuboard4/adm/MhanCMS/contents.add.php
gnuboard4/adm/MhanCMS/contents.add.ok.php
MhanCMS/index.php
gnuboard4/bbs/board_head.php 에 소스 추가하기 (환경설정참조)
gnuboard4/bbs/board_tail.php 에 소스 추가하기 (환경설정참조)
2009.04.08 MhanCMS 1.2
테이블 자동 생성 추가
예제 사이트 추가
cheditor 외에 spaw, tinymce 에디터기 사용가능하도록 추가
2009.03.18 MhanCMS 1.0
이미지관리 추가
팝업/배너/팝업존관리 추가
2009.01.20 MhanCMS 1.0
사이트관리
아이템관리
레이아웃관리
컨텐츠관리
===============================================================================================
드디어 오늘 iframe없이도 보여질 수 있도록 작업을 마쳤습니다.
MhanCMS 에 관심을 가져주시는 분들 모두모두 감사드립니다.
===============================================================================================
작 성 자 : 바다사랑 (메일:http://gnuboard4.jejudo.info:10080/ --> 관리자 화면은 여기서 보세요. (admin, 1234)
데모화면에 1.3 을 적용하였습니다.
데모화면에서 관리자 비밀번호를 바꾸거나 권한을 없애지 말아 주세요.
비밀번호를 바꾸거나 권한을 없애시면 다른 분들이 오셔서 보실 수가 없습니다.
===============================================================================================
목차
===============================================================================================
가. 설치
나. 환경설정
다. 테이블 생성
라. 팝업관리, 배너관리, 팝업존관리
마. MhanCMS 메뉴 설명
바. MhanCMS 알아두기
사. 간단하게 사이트 만들기
아. 버전 정보
별첨. spaw 설치
===============================================================================================
===============================================================================================
아. 버전 정보
===============================================================================================
2009.04.13 MhanCMS 1.31
게시판 연결시 포트가 다를 때, 접속 안되는 현상 수정
업데이트된 화일
gnuboard4/bbs/board_head.php 에 소스 추가하기 (환경설정참조)
MhanCMS/index.php
2009.04.11 MhanCMS 1.3
게시판을 MhanCMS 에 연결하여 사용 가능하게 추가
업데이트된 화일
gnuboard4/adm/MhanCMS/contents.add.php
gnuboard4/adm/MhanCMS/contents.add.ok.php
MhanCMS/index.php
gnuboard4/bbs/board_head.php 에 소스 추가하기 (환경설정참조)
gnuboard4/bbs/board_tail.php 에 소스 추가하기 (환경설정참조)
2009.04.08 MhanCMS 1.2
테이블 자동 생성 추가
예제 사이트 추가
cheditor 외에 spaw, tinymce 에디터기 사용가능하도록 추가
2009.03.18 MhanCMS 1.0
이미지관리 추가
팝업/배너/팝업존관리 추가
2009.01.20 MhanCMS 1.0
사이트관리
아이템관리
레이아웃관리
컨텐츠관리
===============================================================================================
추천
4
4
댓글 전체
Column count doesn't match value count at row 1
테이블생성설치시작을 누르면 상단처럼뜨는데..왜그런건지요...
글구 기존테이블에영향이잇다는 문구가 있는데.. 기존 전체홈페이지에 생성된 테이블에 영화을주는건지 아님 cms에 관련된것이 영향이 있다는건지궁금하네요...
테이블생성설치시작을 누르면 상단처럼뜨는데..왜그런건지요...
글구 기존테이블에영향이잇다는 문구가 있는데.. 기존 전체홈페이지에 생성된 테이블에 영화을주는건지 아님 cms에 관련된것이 영향이 있다는건지궁금하네요...
또한번 수고하셧네요...
감사합니다.......
감사합니다.......
수고하셨습니다.....
추천한방..
추천한방..
토큰님//
혹 DB 버전이 어떻게 되는지여..버전이 낮아서 그런것 같은데..
기존에 영향을 주는 테이블은
게시판 아이디가 main_banner, popup, popzone 인 것만 지웠다가 다시 생성합니다.
나머지에는 영향이 없습니다.
그리고, CMS관련 테이블들은 모두 다시 지웠다가 생성하구여.
전체홈페이지 테이블에는 영향이 없습니다.
혹 DB 버전이 어떻게 되는지여..버전이 낮아서 그런것 같은데..
기존에 영향을 주는 테이블은
게시판 아이디가 main_banner, popup, popzone 인 것만 지웠다가 다시 생성합니다.
나머지에는 영향이 없습니다.
그리고, CMS관련 테이블들은 모두 다시 지웠다가 생성하구여.
전체홈페이지 테이블에는 영향이 없습니다.
먼저 감사부터 드립니다.^^
utf-8에서도 사용가능합니까?
utf-8에서도 사용가능합니까?
파파님//
euc-kr 로 만든거라서..T.T..
그누보드를 utf-8로 설치를 하신 후에
MhanCMS 관련 파일들을 전부 utf-8로 변환 후에 사용하셔야 합니다.
차후에 euc-kr과 utf-8 전부 배포를 해야할 듯 하네여..
변환프로그램에 보시면, utf-8로 일괄변경하는게 있을것 같은데
그걸 한번 사용해보셔도 될듯합니다.
관심 가져 주셔서 감사합니다.
euc-kr 로 만든거라서..T.T..
그누보드를 utf-8로 설치를 하신 후에
MhanCMS 관련 파일들을 전부 utf-8로 변환 후에 사용하셔야 합니다.
차후에 euc-kr과 utf-8 전부 배포를 해야할 듯 하네여..
변환프로그램에 보시면, utf-8로 일괄변경하는게 있을것 같은데
그걸 한번 사용해보셔도 될듯합니다.
관심 가져 주셔서 감사합니다.
그누보드설치폴더/bbs/board_head.php 에 추가하는 소스가 변경되었습니다.
메인에서 해당 게시판으로 갈때, 레이아웃이 안나오는 현상 수정본입니다.
(MhanCMS 1.3 With GNUBoard, Template_.zip 파일을 재업로드 했습니다.)
// MhanCMS 에서 보드 사용시 필요
// 최신글 링크에 "board_ctid=컨텐츠코드" 를 추가해주세요.
------------ 추가된 부분 ------------
if (!($_SESSION["board_ctid"])) { // 메인화면에서 해당 게시판으로 왔을 때, 인식하기 위해서 필요
$_SESSION["board_ctid"] = $_GET["board_ctid"];
}
------------------------------------
if ($_SESSION["board_ctid"]) {
include_once("$g4[path]/config.MhanCMS.php");
$head_contents = MhanCMSfetchURL("http://". $_SERVER["SERVER_NAME"] . $MhanCMS['webpath'] . "/?ctid=".$_SESSION["board_ctid"]."&viewmode=read");
$head_layout = explode("::board::", $head_contents);
if (count($head_layout) > 1) {
echo $head_layout[0];
}
}
메인에서 해당 게시판으로 갈때, 레이아웃이 안나오는 현상 수정본입니다.
(MhanCMS 1.3 With GNUBoard, Template_.zip 파일을 재업로드 했습니다.)
// MhanCMS 에서 보드 사용시 필요
// 최신글 링크에 "board_ctid=컨텐츠코드" 를 추가해주세요.
------------ 추가된 부분 ------------
if (!($_SESSION["board_ctid"])) { // 메인화면에서 해당 게시판으로 왔을 때, 인식하기 위해서 필요
$_SESSION["board_ctid"] = $_GET["board_ctid"];
}
------------------------------------
if ($_SESSION["board_ctid"]) {
include_once("$g4[path]/config.MhanCMS.php");
$head_contents = MhanCMSfetchURL("http://". $_SERVER["SERVER_NAME"] . $MhanCMS['webpath'] . "/?ctid=".$_SESSION["board_ctid"]."&viewmode=read");
$head_layout = explode("::board::", $head_contents);
if (count($head_layout) > 1) {
echo $head_layout[0];
}
}
감사합니다.. 유용하게 쓰이겠네요.. ^^
뭘 어떻게 질문을 드려야 할지...
기존에 사용하던 사이트가 있다면 이것을 적용하면 어떻게 되나요?
그러닌깐 특정한 빌더를 다운받아 사용할때 빌더는 레이아웃이 정해져 있잖아요?
위 소스를 서버에 올리면 깨져버리나요?
아니면 어떤 현상이 일어나는지...
넘 무서버서 테스트도 못하고 ... 이궁... 쓰고 싶은데요 ... 갈등이 일어납니다. 잘못될까봐여..
기존에 사용하던 사이트가 있다면 이것을 적용하면 어떻게 되나요?
그러닌깐 특정한 빌더를 다운받아 사용할때 빌더는 레이아웃이 정해져 있잖아요?
위 소스를 서버에 올리면 깨져버리나요?
아니면 어떤 현상이 일어나는지...
넘 무서버서 테스트도 못하고 ... 이궁... 쓰고 싶은데요 ... 갈등이 일어납니다. 잘못될까봐여..
골든님//
MhanCMS 는 레이아웃이 정해진것이 아니고, 레이아웃을 만든 후에 적용하는 것입니다.
덮어쓰는 것은 adm/admin.menu400.php 만을 덮어씁니다.
관리자메뉴에서 추가한 메뉴가 있으면, 한번체크를 해보시는 것이 좋구여,
게시판아이디가 main_banner, popzone, popup 인 것은
테이블을 지운후에 다시 설치하니깐 중복되는 것을 체크해야됩니다.
기존에 운영중인 사이트가 있으면,
로컬에서 셋팅 후 점검을 하신 후에 설치를 권합니다.
MhanCMS 는 레이아웃이 정해진것이 아니고, 레이아웃을 만든 후에 적용하는 것입니다.
덮어쓰는 것은 adm/admin.menu400.php 만을 덮어씁니다.
관리자메뉴에서 추가한 메뉴가 있으면, 한번체크를 해보시는 것이 좋구여,
게시판아이디가 main_banner, popzone, popup 인 것은
테이블을 지운후에 다시 설치하니깐 중복되는 것을 체크해야됩니다.
기존에 운영중인 사이트가 있으면,
로컬에서 셋팅 후 점검을 하신 후에 설치를 권합니다.
Warning: main(../common.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 3
Warning: main() [function.include]: Failed opening '../common.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 3
Warning: main(/config.MhanCMS.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 4
Warning: main() [function.include]: Failed opening '/config.MhanCMS.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 4
Warning: main(/lib/outlogin.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 5
Warning: main() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 5
Warning: main(/lib/poll.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 6
Warning: main() [function.include]: Failed opening '/lib/poll.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 6
Warning: main(/lib/visit.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 7
Warning: main() [function.include]: Failed opening '/lib/visit.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 7
Warning: main(/lib/connect.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 8
Warning: main() [function.include]: Failed opening '/lib/connect.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 8
Warning: main(/lib/popular.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 9
Warning: main() [function.include]: Failed opening '/lib/popular.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 9
Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 10
Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 10
Warning: main(/lib/popup.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 11
Warning: main() [function.include]: Failed opening '/lib/popup.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 11
Fatal error: Call to undefined function: get_microtime() in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 16
이상하게 관리자방에서 CMS메뉴를 클릭하면 위와 같이 에러가 나네요
Warning: main() [function.include]: Failed opening '../common.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 3
Warning: main(/config.MhanCMS.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 4
Warning: main() [function.include]: Failed opening '/config.MhanCMS.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 4
Warning: main(/lib/outlogin.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 5
Warning: main() [function.include]: Failed opening '/lib/outlogin.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 5
Warning: main(/lib/poll.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 6
Warning: main() [function.include]: Failed opening '/lib/poll.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 6
Warning: main(/lib/visit.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 7
Warning: main() [function.include]: Failed opening '/lib/visit.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 7
Warning: main(/lib/connect.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 8
Warning: main() [function.include]: Failed opening '/lib/connect.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 8
Warning: main(/lib/popular.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 9
Warning: main() [function.include]: Failed opening '/lib/popular.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 9
Warning: main(/lib/latest.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 10
Warning: main() [function.include]: Failed opening '/lib/latest.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 10
Warning: main(/lib/popup.lib.php) [function.main]: failed to open stream: No such file or directory in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 11
Warning: main() [function.include]: Failed opening '/lib/popup.lib.php' for inclusion (include_path='.:/usr/local/php_standalone/lib/php') in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 11
Fatal error: Call to undefined function: get_microtime() in /home/gusim/public_html/mbor/adm/MhanCMS/head.php on line 16
이상하게 관리자방에서 CMS메뉴를 클릭하면 위와 같이 에러가 나네요
골든님//
MhanCMS 와 그누보드 설치 폴더가 어디인지 알려주세요.
MhanCMS 와 그누보드 설치 폴더가 어디인지 알려주세요.
MhanCMS폴드는
/public_html/mbor/adm/MhanCMS 이렇게 두었고요
그누보드 설치는
/public_html/mbor/ 밑에 index.php파일과 각종 폴드 및 파일들이 있습니다.
/public_html/mbor/adm/MhanCMS 이렇게 두었고요
그누보드 설치는
/public_html/mbor/ 밑에 index.php파일과 각종 폴드 및 파일들이 있습니다.
그리고 head.php파일에 아래와 같이 변경을 했습니다.
$g4_path = "../.."; // common.php 의 상대 경로
$g4_path = "../.."; // common.php 의 상대 경로
골드님//
폴더 구성도 입니다.
/(ROOT)
|
|---그누보드
|
|---adm
|---img
|---MhanCMS
|---그외폴더들
|
|
|---MhanCMS
1. /MhanCMS 폴더가 실제로 보이는 페이지이고
2. /그누보드/adm/MhanCMS 폴더는 관리페이지입니다.
"/public_html/mbor/adm/MhanCMS 이렇게 두었고요 "
위는 관리폴더(2.)가 위치한 곳에
실제 보여질 페이지(1.)로 덮어쓰신 것 같은데..
확인해보세요.
MhanCMS폴더를 /public_html/mbor/MhanCMS 폴더에 넣으셔야 할 것 같습니다.
폴더 구성도 입니다.
/(ROOT)
|
|---그누보드
|
|---adm
|---img
|---MhanCMS
|---그외폴더들
|
|
|---MhanCMS
1. /MhanCMS 폴더가 실제로 보이는 페이지이고
2. /그누보드/adm/MhanCMS 폴더는 관리페이지입니다.
"/public_html/mbor/adm/MhanCMS 이렇게 두었고요 "
위는 관리폴더(2.)가 위치한 곳에
실제 보여질 페이지(1.)로 덮어쓰신 것 같은데..
확인해보세요.
MhanCMS폴더를 /public_html/mbor/MhanCMS 폴더에 넣으셔야 할 것 같습니다.
그누보드설치폴더/bbs/board_head.php 에 추가하는 소스가 변경되었습니다.
메인에서 해당 게시판으로 갈때, 레이아웃이 안나오는 현상 수정본입니다.
(MhanCMS 1.3 With GNUBoard, Template_.zip 파일을 재업로드 했습니다.)
// MhanCMS 에서 보드 사용시 필요
// 최신글 링크에 "board_ctid=컨텐츠코드" 를 추가해주세요.
------------ 추가된 부분 ------------
if (!($_SESSION["board_ctid"])) { // 메인화면에서 해당 게시판으로 왔을 때, 인식하기 위해서 필요
$_SESSION["board_ctid"] = $_GET["board_ctid"];
}
------------------------------------
if ($_SESSION["board_ctid"]) {
include_once("$g4[path]/config.MhanCMS.php");
$head_contents = MhanCMSfetchURL("http://". $_SERVER["SERVER_NAME"] . $MhanCMS['webpath'] . "/?ctid=".$_SESSION["board_ctid"]."&viewmode=read");
$head_layout = explode("::board::", $head_contents);
if (count($head_layout) > 1) {
echo $head_layout[0];
}
}
위 코드를 board_head.php에 넣어야 하나요?
메인에서 해당 게시판으로 갈때, 레이아웃이 안나오는 현상 수정본입니다.
(MhanCMS 1.3 With GNUBoard, Template_.zip 파일을 재업로드 했습니다.)
// MhanCMS 에서 보드 사용시 필요
// 최신글 링크에 "board_ctid=컨텐츠코드" 를 추가해주세요.
------------ 추가된 부분 ------------
if (!($_SESSION["board_ctid"])) { // 메인화면에서 해당 게시판으로 왔을 때, 인식하기 위해서 필요
$_SESSION["board_ctid"] = $_GET["board_ctid"];
}
------------------------------------
if ($_SESSION["board_ctid"]) {
include_once("$g4[path]/config.MhanCMS.php");
$head_contents = MhanCMSfetchURL("http://". $_SERVER["SERVER_NAME"] . $MhanCMS['webpath'] . "/?ctid=".$_SESSION["board_ctid"]."&viewmode=read");
$head_layout = explode("::board::", $head_contents);
if (count($head_layout) > 1) {
echo $head_layout[0];
}
}
위 코드를 board_head.php에 넣어야 하나요?
이제는 사이트관리메뉴를 클릭하면 테이블 생성을 먼저해야 합니다.
확인을 클릭하면
테이블 생성을 시작합니다.
기존에 설치가 되어 있다면, 백업을 받은 신 후에 작업을 하세요.
기존의 테이블들은 모두 지운 후에 다시 생성하게 됩니다.
설치시작 버튼이 생기네요
설치시작버튼을 클릭하면
Duplicate entry 'main_banner' for key 1가 뜹니다.
확인을 클릭하면
테이블 생성을 시작합니다.
기존에 설치가 되어 있다면, 백업을 받은 신 후에 작업을 하세요.
기존의 테이블들은 모두 지운 후에 다시 생성하게 됩니다.
설치시작 버튼이 생기네요
설치시작버튼을 클릭하면
Duplicate entry 'main_banner' for key 1가 뜹니다.