외부로그인 스킨에 있는 나의 최근게시물 질문입니다.

브레님의 외부 로그인 스킨을 사용 하려 합니다.


여기에 특정 그룹이나 게시판을 출력 안돼게 할려면 어찌 해야 돼나요?

주문게시판을 만들면

나의 최근글에 출력돼서 로그인한 회원 나의 최근 게시물 리스트에 나오겠더라구요

특정 그룹제외시키는 소스좀 부탁드립니다.

포인트 겨우 모아 질문 합니다., 휴~~

밑에 이 부분을 어찌 하면 될것 같은데~~ 난 까막눈이라~~

===================================================

<? // 나의 최신게시물
if ($member[mb_id])
{
$new_count = 5;

$cnt = 0;
$sql = " select bo_table, wr_parent from $g4[board_new_table] a
where mb_id = '$member[mb_id]'
-- and a.wr_id = a.wr_parent
group by bo_table, wr_parent
order by bn_id desc
limit $new_count ";
$res = sql_query($sql);

echo "<table width=85% cellpadding=0 cellspacing=0 align=center>";
for ($i=0; $row=sql_fetch_array($res), $i<$new_count; $i++)
{
if (!$row[bo_table])
{
continue;
}

$tmp_table = $g4[write_prefix].$row[bo_table];
$sql2 = " select wr_subject, wr_comment from $tmp_table where wr_id = '$row[wr_parent]' ";
$row2 = sql_fetch($sql2);
$subj = cut_str(get_text($row2[wr_subject]), 22);
$comment = "";
if ($row2[wr_comment])
$comment = "<span class=new>* $row2[wr_comment]</span>";
echo "<tr><td width='20' ><img src='$outlogin_skin_path/img/my_view_bt.gif' height='15'></td>";
echo "<td height='25' style='letter-spacing: -1px;'>";
echo "<nobr>";
echo "<a href='$g4[bbs_path]/board.php?bo_table=$row[bo_table]&wr_id=$row[wr_parent]'>$subj   $comment </a>";
echo "</nobr></td></tr>";
echo "<tr><td colspan='2' background='$outlogin_skin_path/img/dot_line.gif'><img src='$outlogin_skin_path/img/dot_line.gif'></td></tr>";
$cnt++; } if (!$cnt) echo "<tr><td colspan='2' height='50' align='center'>게시글이 없습니다.</td></tr>";
echo "</table>\n";
} ?>
========================================================
|

댓글 5개

최신게시물을 bbs/new.php 에서 가져 옵니다.

특정 게시판을 처음부터 최근게시물 목록에 등록 안되게 게시판관리자에서 검색 부분의 체크를 없애면 아예 new.php에 안나옵니다. 아마도 ;;;

$sql = " select bo_table, wr_parent from $g4[board_new_table] a
where mb_id = '$member[mb_id]'
-- and a.wr_id = a.wr_parent
group by bo_table, wr_parent
order by bn_id desc
limit $new_count ";

위부분을


$sql ="
select bo_table, wr_parent from$g4[board_new_table]
where mb_id = '$member[mb_id]' and (bo_table !='제외게시판아이디' and bo_table !='제외게시판아이디2')
group by bo_table, wr_parent
order by bn_id desc
limit $new_count
";

위와 같이 변경하세요
게시판 관리자에서 검색부분 체크없에면 최근게시물에는 안나타 나지만
위의 스킨 아웃로그인의 나의 최근게시물에는 나타나는 데요?
이미 입력된 게시물은 나옵니다.
위 답변에 스킨 수정 코드 있습니다.
감사합니다. 번칠이 올림
해결하신듯..
댓글을 작성하시려면 로그인이 필요합니다.

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기 기존 게시물은 열람만 가능합니다.

+
제목 글쓴이 날짜 조회
17년 전 조회 1,530
17년 전 조회 3,421
17년 전 조회 1,551
17년 전 조회 1,550
17년 전 조회 1,662
17년 전 조회 1,518
17년 전 조회 1,638
17년 전 조회 1,654
17년 전 조회 1,622
17년 전 조회 1,639
17년 전 조회 1,533
17년 전 조회 1,559
17년 전 조회 1,563
17년 전 조회 1,569
17년 전 조회 1,553
17년 전 조회 1,625
17년 전 조회 1,684
17년 전 조회 1,546
17년 전 조회 1,576
17년 전 조회 1,575