검색사용할 때 여분필드를 사용하면 노란색으로 표시가 되게 할려면 어디를 수정해야하나요? 정보
검색사용할 때 여분필드를 사용하면 노란색으로 표시가 되게 할려면 어디를 수정해야하나요?-
happycommunity 홈페이지 자기소개 아이디로 검색 회원게시물
- 1,235

본문
검색어에 여분필드를 사용해서 wr_1...이렇게 해서 검색항목을 추가했는데
검색을 하면 노란색으로 영역선택이 안되네요..
제목이나, 코맨트등.. 기본적으로 되어있는곳에는 검색시 노란색으로 테두리가 생기는데 여분필드를 사용해서 만들면 노란영역이 안생기네요..
이 부부은 어디서 수정을 해야하나요?
댓글 전체
bbs/search.php의 190줄이하의 아래부분을 참조하시어 추가하시면 됩니당....
// 비밀글은 검색 불가
if (strstr($row[wr_option].$row2[wr_option], "secret"))
$row[wr_content] = "[비밀글 입니다.]";
$subject = $row[wr_subject];
if (strstr($sfl, "wr_subject"))
$subject = search_font($stx, $subject);
if ($read_level[$idx] <= $member[mb_level])
{
$content = cut_str(get_text($row[wr_content]),300,"…");
if (strstr($sfl, "wr_content"))
$content = search_font($stx, $content);
}
else
$content = '';
$list[$idx][$i][subject] = $subject;
$list[$idx][$i][content] = $content;
$list[$idx][$i][name] = get_sideview($row[mb_id], cut_str($row[wr_name], $config[cf_cut_name]), $row[wr_email], $row[wr_homepage]);
아마도
if (strstr($sfl, "wr_1"))
$wr_1 = search_font($stx, $wr_1);
// 비밀글은 검색 불가
if (strstr($row[wr_option].$row2[wr_option], "secret"))
$row[wr_content] = "[비밀글 입니다.]";
$subject = $row[wr_subject];
if (strstr($sfl, "wr_subject"))
$subject = search_font($stx, $subject);
if ($read_level[$idx] <= $member[mb_level])
{
$content = cut_str(get_text($row[wr_content]),300,"…");
if (strstr($sfl, "wr_content"))
$content = search_font($stx, $content);
}
else
$content = '';
$list[$idx][$i][subject] = $subject;
$list[$idx][$i][content] = $content;
$list[$idx][$i][name] = get_sideview($row[mb_id], cut_str($row[wr_name], $config[cf_cut_name]), $row[wr_email], $row[wr_homepage]);
아마도
if (strstr($sfl, "wr_1"))
$wr_1 = search_font($stx, $wr_1);
과연 이문제는 해결이 된것인가 안된것인가?.........
질문하나 툭~~~! 시간 흐른후에
어~~~! 답 달렸네....... 해 봐야징
잘됨 ==> 잘되는 구나
안됨 ==> 다시 질문해 볼까나?....
질문하나 툭~~~! 시간 흐른후에
어~~~! 답 달렸네....... 해 봐야징
잘됨 ==> 잘되는 구나
안됨 ==> 다시 질문해 볼까나?....
죄송합니다.^^;
제가 정신이 없어서요..ㅠㅠ
님그림자님 답변 감사합니다.
적용을 아직 못해봤는데 적용하고 꼭 답글 달아드리겠습니다.^^;
제가 정신이 없어서요..ㅠㅠ
님그림자님 답변 감사합니다.
적용을 아직 못해봤는데 적용하고 꼭 답글 달아드리겠습니다.^^;
안되욤..