나의 최근게시물에서 제외하고 싶은그룹이 있는데..
다음 스킨을 적용해서 잘 사용하고 있습니다.
그런데 하나의 그룹에서 쓰는글들은 나의 최근게시물에서 나오지 않게 하고 싶은데
어떻게 해야할까요?
|
댓글을 작성하시려면 로그인이 필요합니다.
로그인
댓글 13개
$sql = " select bo_table, wr_parent from $g4[board_new_table] a inner join g4_board using ( bo_table)
where mb_id = '$member[mb_id]'
and a.wr_id = a.wr_parent
order by bn_id desc, a.bo_table, wr_parent limit $from_record, $new_count ";
select bo_table, wr_parent from g4_board_new a inner join g4_board using( bo_table) where mb_id = 'boriba' and a.wr_id = a.wr_parent order by bn_id desc, a.bo_table, wr_parent limit 0, 5
1052 : Column: 'bo_table' in field list is ambiguous
error file : /shop/mypage.php
select bo_table, wr_parent from g4_board ...
를
select a.bo_table, wr_parent from g4_board ...
로.
$sql = " select a.bo_table, wr_parent from $g4[board_new_table] a inner join g4_board using ( bo_table)
where mb_id = '$member[mb_id]'
and a.wr_id = a.wr_parent
order by bn_id desc, a.bo_table, wr_parent limit $from_record, $new_count ";
이렇게 하여주었습니다. ckk 그룹이 제외 되지 않는군요?
where mb_id = '$member[mb_id]'
and gr_id !='ckk'
and a.wr_id = a.wr_parent
order by bn_id desc, a.bo_table, wr_parent limit $from_record, $new_count ";
이렇게 넣어주니 ckk 그룹리스트가 안올라오네요 고맙습니다.
예전에도 그룹문제로 rolo 님에게 도움을 받았던거 같은데 ..
고맙습니다.
해제한 후에 작성된 글은 최근게시물에 나오지 않습니다.
최근게시물에 보관되는 기간이 지나면 이전것은 자동 삭제될것입니다.
글을 다시 올려도 나의 최근게시물 리스트에 나오네요..
이렇게 끝까지 도와주셔서 감사드립니다.
소스에 $sql 문에 where gr_id !='gr_id' "
해주니 해결되었습니다.
그누보드4 : 팁(tip) > 글등록시 스킨에서 최근게시물($g4[board_new_table])의 글삭제하기
http://www.sir.co.kr/bbs/board.php?bo_table=g4_tiptech&wr_id=605
페이지마다 보이는 게시물 갯수가 달라진다는것이 어떤것인지 이해가 되지 않습니다