웹버스님 멀티스킨을 g에디터+g업로드 사용하기로 개조. 정보
게시판 웹버스님 멀티스킨을 g에디터+g업로드 사용하기로 개조.첨부파일
본문
웹버스님의 멀티스킨을 g에디터 g업로드 용으로 개조만 해봤습니다.
파일올리는데 한번에 여러개가 업로드 안되서 무진장 불편하더군요.ㅠ
발실력으로 막 개조해서 폴더가 개판입니다..
압축풀어서 루트에 덮어주심 됩니다.;
UTF-8버전입니다
아 그리고 그냥 팁게 자료보고 막 해서 그런지 멀티업로드 한파일을 에디터 삽입 버튼이 먹통이네요.ㅠㅠ// 수정하셨습니다.
파일올리는데 한번에 여러개가 업로드 안되서 무진장 불편하더군요.ㅠ
발실력으로 막 개조해서 폴더가 개판입니다..
압축풀어서 루트에 덮어주심 됩니다.;
UTF-8버전입니다
아 그리고 그냥 팁게 자료보고 막 해서 그런지 멀티업로드 한파일을 에디터 삽입 버튼이 먹통이네요.ㅠㅠ// 수정하셨습니다.
추천
7
7
댓글 전체
앗싸!
1등!
우선 추천부터 쾅!
에디터 삽입 고쳐줘유~~~
1등!
우선 추천부터 쾅!
에디터 삽입 고쳐줘유~~~
수정됫습니다~^^
http://oopblog.com/bbs/board.php?bo_table=test01&wr_id=2&page=0&sca=&sfl=&stx=&sst=&sod=&spt=0&page=0
이모티콘이나 사진을 적용하고 미리보기에선 잘 나오는데 글쓰면 이렇게 텍스트로 나오네요;; 비회원으로 글쓸때 자동등록방지가 않뜨네요=_=;;
좋은 스킨입니다+_+ 추천!
이모티콘이나 사진을 적용하고 미리보기에선 잘 나오는데 글쓰면 이렇게 텍스트로 나오네요;; 비회원으로 글쓸때 자동등록방지가 않뜨네요=_=;;
좋은 스킨입니다+_+ 추천!
자동등록방지는 지금 수정중인데 글쓰기 텍스트가 나오는건 승민쿤님이 올려주신 URL에서 글 읽을때 포인트가 나가게되있어서 확인이 불가능하네요.;;
자세히좀 가르쳐주세요
자세히좀 가르쳐주세요
글쓰기 할때 미리보기엔 제대로 나옵니다~~
근데 쓰고 나서 내용을 보면 이미지랑 이모티콘이 정상적으로 출력이 되는게 아니라
<P><IMG src="http://oopblog.com/geditor/1102/1930769423_c01b8224_22.jpg"><BR><BR><IMG border=0 src="http://oopblog.com/emoticon/em23.gif"><BR></P>
<P> </P>
이렇게 나오네요 ;;
근데 쓰고 나서 내용을 보면 이미지랑 이모티콘이 정상적으로 출력이 되는게 아니라
<P><IMG src="http://oopblog.com/geditor/1102/1930769423_c01b8224_22.jpg"><BR><BR><IMG border=0 src="http://oopblog.com/emoticon/em23.gif"><BR></P>
<P> </P>
이렇게 나오네요 ;;
html 출력문제 수정됬습니다~^^
자동등록방지 난감하네요.;;
자동등록방지 난감하네요.;;
감사합니다~^^ 써봐야지~~~
Fatal error: Cannot redeclare thumbnail() (previously declared in C:\APM_Setup\htdocs\lib\thumb.lib.php:87) in C:\APM_Setup\htdocs\skin\board\webbus\lib\skin.lib.php on line 150
라고 뜨네요 ㅠㅠ
라고 뜨네요 ㅠㅠ
utf-8에서 파일명중에 한글이잇으면 한글이후부터 파일명이 짤리는 버그는
guploader/file_upload.php 파일 58번째줄에
$source = iconv("utf-8", "euc-kr", $upload[source]);
를
$source = $upload[source];
로 수정해주세요
그리고 글쓰기 페이지에서 파일을 올려두고 창을닫고
다시 글쓰기 페이지에 들어가면 이전에 올려둔 파일이 그대로 남아있음을 발견하실수 있습니다.
이건 임시파일DB와 파일들이 서버에 남게되잇는데요
삭제는
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=25550
를 참고해주세요!
guploader/file_upload.php 파일 58번째줄에
$source = iconv("utf-8", "euc-kr", $upload[source]);
를
$source = $upload[source];
로 수정해주세요
그리고 글쓰기 페이지에서 파일을 올려두고 창을닫고
다시 글쓰기 페이지에 들어가면 이전에 올려둔 파일이 그대로 남아있음을 발견하실수 있습니다.
이건 임시파일DB와 파일들이 서버에 남게되잇는데요
삭제는
http://sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=25550
를 참고해주세요!
요런거 맘에 드네요
선 추천입니다.
Fatal error: Cannot redeclare thumbnail() (previously declared in ..../lib/thumb.lib.php:87) in ...../skin/board/webbus/lib/skin.lib.php on line 60
thumb.lib.php
-----------------------------
function thumbnail($file_name, $width=0, $height=0, $is_create=false, $is_crop=2, $quality=70, $small_thumb=true, $watermark="", $filter="", $noimg="", $thumb_type="")
{
//if (!$file_name)
// return;
// memory limit 설정 변경
@ini_set("memory_limit", -1);
// 썸네일 디렉토리
$real_dir = dirname($_SERVER['DOCUMENT_ROOT'] . "/nothing");
$dir = dirname(file_path($file_name));
$file = basename($file_name);
$thumb_dir = $dir . "/thumb";
// 썸네일을 저장할 디렉토리
$thumb_path = $thumb_dir .
--------------------------------이하생략------------
webbus/lib/skin.lib.php on line 60
------------------------------------
function thumbnail($exist, $creat, $width, $height, $fail = null)
{
if(is_file($exist) == true && in_array(strtolower(end(explode('.', $exist))), array('gif', 'jpg', 'jpeg', 'png')) == true)
{
if(file_exists($creat) == false)
{
list($img['width'], $img['height'], $img['type']) = getimagesize($exist);
if($img['width'] > $width || $img['height'] > $height)
{
if($img['width'] > $img['height'])
{
$dst['width'] = $width;
$dst['height'] = ceil(($width / $img['width']) * $img['height']);
}
충돌이 있나요?
에러가 나네요
살펴주세요
thumb.lib.php
-----------------------------
function thumbnail($file_name, $width=0, $height=0, $is_create=false, $is_crop=2, $quality=70, $small_thumb=true, $watermark="", $filter="", $noimg="", $thumb_type="")
{
//if (!$file_name)
// return;
// memory limit 설정 변경
@ini_set("memory_limit", -1);
// 썸네일 디렉토리
$real_dir = dirname($_SERVER['DOCUMENT_ROOT'] . "/nothing");
$dir = dirname(file_path($file_name));
$file = basename($file_name);
$thumb_dir = $dir . "/thumb";
// 썸네일을 저장할 디렉토리
$thumb_path = $thumb_dir .
--------------------------------이하생략------------
webbus/lib/skin.lib.php on line 60
------------------------------------
function thumbnail($exist, $creat, $width, $height, $fail = null)
{
if(is_file($exist) == true && in_array(strtolower(end(explode('.', $exist))), array('gif', 'jpg', 'jpeg', 'png')) == true)
{
if(file_exists($creat) == false)
{
list($img['width'], $img['height'], $img['type']) = getimagesize($exist);
if($img['width'] > $width || $img['height'] > $height)
{
if($img['width'] > $img['height'])
{
$dst['width'] = $width;
$dst['height'] = ceil(($width / $img['width']) * $img['height']);
}
충돌이 있나요?
에러가 나네요
살펴주세요
썸네일 관련은 아마 불당썸이 안깔려있어서 그런거 같네요^^;
한번 불당썸을 설치해보시면 될꺼같아요
한번 불당썸을 설치해보시면 될꺼같아요
저도 같은 에러...ㅠㅠ
지금 문제가 된 것은 불당섬(thumb.lib.php ) 파일입니다.
설치되어 있다는 것이지요???
설치되어 있다는 것이지요???
감사합니다...
추천드립니다. 꼭 필요한 스킨이었어요.^^
불당썸을 설치하셔야되요~
잘쓰겠습니다
dd