테스트 사이트 - 개발 중인 베타 버전입니다

게시판수정에서 dhtml사용글작성시 내용이 보이질 않아요.

· 12년 전 · 1508 · 6
1.jpg
오류주소 : p://hanasis.co.kr/gnuboard4/bbs/board.php?bo_table=pos_faq

게시판 목록에서 >> dhtml에디터 사용 테스트입니다.
요 글 클릭시에 내용이 보이질 않죠? dhtml사용 체크하고 작성할땐 내용이 보이는데
글쓰기 누르고 목록에서 보면 내용이 없습니다.

질답게시판 검색해봐도 찾질 못하겠어요..ㅠ.ㅠ

회원을 받지 않아. 글쓰기 글답변 모두 관리자 외에는 필요가 없구요.
비회원은 글읽기 권한만 있으면 되서요.

도와주세요.

댓글 작성

댓글을 작성하시려면 로그인이 필요합니다.

로그인하기

댓글 6개

12년 전
해당 dhtml - 에디터 사용시엔 글 가져 올때 단순히 wr_content 로 가져 오면 목록에선 보이지 않습니다.
bbs/list.php 파일에서 get_list 부분을 찾으셔서 하단에

$html = 0;
if (strstr($list[$i][wr_option], "html1"))
$html = 1;
else if (strstr($list[$i][wr_option], "html2"))
$html = 2;

$list[$i][content] = conv_content($list[$i][wr_content], $html);
if (strstr($sfl, "content"))
$list[$i][content] = search_font($stx, $list[$i][content]);


이와 같은 코드가 되어 있는지 확인 해 보세요.
get_list 검색하니 두군데 나오는데 어디에다 넣어야하나요? 두군데 모두 위 적어주신 소스는 없네요. 그리고 소스 어디 바로 밑에 넣어야하는지두 부탁드려요.


if (!$sca && !$stx)
{
$arr_notice = explode("\n", trim($board[bo_notice]));
for ($k=0; $k<count($arr_notice); $k++)
{
if (trim($arr_notice[$k])=='') continue;

$row = sql_fetch(" select * from $write_table where wr_id = '$arr_notice[$k]' ");

if (!$row[wr_id]) continue;

$list[$i] = get_list($row, $board, $board_skin_path, $board[bo_subject_len]);
$list[$i][is_notice] = true;

$notice_order .= " and wr_id != '$arr_notice[$k]'"; //[2013-04-03] 추가

$i++;
}
}


------------------------------------------------------------------

// 검색일 경우 wr_id만 얻었으므로 다시 한행을 얻는다
if ($sca || $stx)
$row = sql_fetch(" select * from $write_table where wr_id = '$row[wr_parent]' ");

$list[$i] = get_list($row, $board, $board_skin_path, $board[bo_subject_len]);
if (strstr($sfl, "subject"))
$list[$i][subject] = search_font($stx, $list[$i][subject]);
$list[$i][is_notice] = false;
//$list[$i][num] = number_format($total_count - ($page - 1) * $board[bo_page_rows] - $k);
$list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k;
12년 전
2군데 모두 집어 넣어 주시면 됩니다. ^-^

1. $list[$i][is_notice] = true; 하단
2. $list[$i][num] = $total_count - ($page - 1) * $board[bo_page_rows] - $k; 하단
아아... 넣었는데 해결이 안되네요 ㅠ.ㅠ
에구...... 답변 감사합니다.
12년 전
아직 해결 못하셨다면 쪽지로 메신저 알려 주시면 메신저를 통해 봐드리겠습니다.. 만 너무 늦은것 같네요 ㄷㄷ;
아니요!! 아니늦었어요.ㅠ.ㅠ
도와주세요. kikita27@nate.com 부탁드립니다. 감사합니다.
혹시라도 로그인이 안되어있다믄 elnyang23 카톡입니다.

게시글 목록

번호 제목
284508
284499
284492
284490
284484
284481
284478
284476
284474
284472
284470
284458
284457
284454
284453
284447
284446
284444
284441
284440