웹진형 기본 게시판 - cheditor에서 올린 이미지도 썸네일 가능하도록 수정 정보
게시판 웹진형 기본 게시판 - cheditor에서 올린 이미지도 썸네일 가능하도록 수정
첨부파일
본문
기본 게시판을 변형한 것입니다.
cheditor에서 올린 이미지도 썸네일이 가능하도록 한 소스는
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=84463&sca=&sfl=mb_id%2C1&stx=xtrablue
시하님의 게시물에서 얻어왔습니다.
최대한 깔끔하게 한다고 했는데 어떤가 모르겠네요..
cheditor의 버전에 따라서
list.skin.php 화일의 158라인
if (eregi("data/cheditor[^<>]*\.(gif|jpg|png|bmp)", $edit_img, $tmp)) { // data/cheditor------
cheditor 또는 cheditor4 또는 각 경로에 맞는 폴더로 바꾸어 주시면 됩니다.
※ 스샷 위의 바로가기 버튼은 mymenu를 사용하지 않으시는 분은 빼주셔야 에러메세지가 출력되지 않습니다.
일반 게시판 설치하시듯..
board 폴더에 압축해제후 올려주시면 됩니다.
새해 복 많이 받으세요 ^^
cheditor에서 올린 이미지도 썸네일이 가능하도록 한 소스는
http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=84463&sca=&sfl=mb_id%2C1&stx=xtrablue
시하님의 게시물에서 얻어왔습니다.
최대한 깔끔하게 한다고 했는데 어떤가 모르겠네요..
cheditor의 버전에 따라서
list.skin.php 화일의 158라인
if (eregi("data/cheditor[^<>]*\.(gif|jpg|png|bmp)", $edit_img, $tmp)) { // data/cheditor------
cheditor 또는 cheditor4 또는 각 경로에 맞는 폴더로 바꾸어 주시면 됩니다.
※ 스샷 위의 바로가기 버튼은 mymenu를 사용하지 않으시는 분은 빼주셔야 에러메세지가 출력되지 않습니다.
일반 게시판 설치하시듯..
board 폴더에 압축해제후 올려주시면 됩니다.
새해 복 많이 받으세요 ^^
추천
11
11
댓글 전체
에디터 썸네일 가능 좋네요!~
새해복 많이받으세요 ^^
새해복 많이받으세요 ^^
정말 감사합니다.
글쓴이와 날짜, 조회가 보이지 안하게 하려면 어떻게 해야 하는지요.
글쓴이와 날짜, 조회가 보이지 안하게 하려면 어떻게 해야 하는지요.

관리자 메뉴에 설정이 없는 것들은 해당 list.skin.php 에서 테이블(해당 td몇개)를 없애면 됩니다.
천하냥이님. 감사합니다.
고맙습니다. ^^
Thanks
감사합니다
잘쓸께ㅐ요^^
감사합니다
넘좋아요~
고맙습니다. ^^
border 처리가 안된곳이 많은듯 싶어요. ㅜ.ㅜ
특참님~
해당파일 (예를들어 list.skin.php , view.skin.php ...) 맨위에 아래와같이 넣어주시면 이미지에 파란선(border)사라집니다 ~ ^^
<style type="text/css">
<!--
img { border : 0px; }
-->
</style>
해당파일 (예를들어 list.skin.php , view.skin.php ...) 맨위에 아래와같이 넣어주시면 이미지에 파란선(border)사라집니다 ~ ^^
<style type="text/css">
<!--
img { border : 0px; }
-->
</style>
감사합니다.~^^
정말 유용하게 잘 쓰고 있습니다. 감사드려요. 그런데 이미지가 없을경우에 no image라는 문구 말고 항상 지정한 그림으로 나오게 할수는 없나요??
이미지 수정하기 위해 이전이미지를 삭제하고 새로운 이미지 파일을 올렸는데 예전의 이미지가 나옵니다. 이것도 해결방법 없나요??
님좀 짱인듴...
1

chedit4를 사용할경우 수정할 부분
write.skin.php에서 맨위
/*
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
*/
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '250');
}
?>
136줄
<td style='padding:5 0 5 0;'>
<? if ($is_dhtml_editor) { ?>
<?//=cheditor2('fwrite', 'wr_content', '100%', '350');?>
<?=cheditor2('wr_content', $content);?>
<? } else { ?>
chedit4 버젼사용할 경우 체크하세요 ^^
write.skin.php에서 맨위
/*
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[editor_path]/cheditor.js'></script>";
echo cheditor1('wr_content', $content);
}
*/
if ($is_dhtml_editor) {
include_once("$g4[path]/lib/cheditor4.lib.php");
echo "<script src='$g4[cheditor4_path]/cheditor.js'></script>";
echo cheditor1('wr_content', '100%', '250');
}
?>
136줄
<td style='padding:5 0 5 0;'>
<? if ($is_dhtml_editor) { ?>
<?//=cheditor2('fwrite', 'wr_content', '100%', '350');?>
<?=cheditor2('wr_content', $content);?>
<? } else { ?>
chedit4 버젼사용할 경우 체크하세요 ^^
감사합니다....
111111
잘 쓸게요!
스크랩 해 갑니다

좋은 자료 ^^
Warning: include(../bbs/my_menu_script.php) [function.include]: failed to open stream: No such file or directory in /free/home/sntglobal/html/gnuboard4/skin/board/basic_webzine/list.skin.php on line 79
Warning: include() [function.include]: Failed opening '../bbs/my_menu_script.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /free/home/sntglobal/html/gnuboard4/skin/board/basic_webzine/list.skin.php on line 79
적용 시 이렇게 뜨는데, 어떻게 해결해야 하나요?
Warning: include() [function.include]: Failed opening '../bbs/my_menu_script.php' for inclusion (include_path='.:/usr/local/php/lib/php') in /free/home/sntglobal/html/gnuboard4/skin/board/basic_webzine/list.skin.php on line 79
적용 시 이렇게 뜨는데, 어떻게 해결해야 하나요?
;;오류때문에 안되는데요ㅠ
