[최신글][G4용-UTF8] 그룹 내의 모든 게시판의 최신글을 1줄씩 표시 (줄 개수 조정가능) 정보
최신글 [최신글][G4용-UTF8] 그룹 내의 모든 게시판의 최신글을 1줄씩 표시 (줄 개수 조정가능)관련링크
첨부파일
본문
안녕하세요.
불량감자님의 그룹 탭 최신글을 응용하여
그룹 내의 모든 게시판의 최신글을 1줄씩 표시합니다. (줄 개수는 조정가능)
원글 : http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=121955
- 사용법 -
index.php에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
밑에 아래의 한줄을 추가하시고,
include_once("$g4[path]/skin/latest/group_line/latest_group.lib.php");
여기서,
(lib폴더에 latest_group.lib.php을 집어 넣고
include_once("$g4[path]/lib/latest_group.lib.php");
한줄 추가하셔도됨)
알맞는 위치에
<?php echo latest_group_line("group_line", 'community', 7, 1, 70, array( "info", "notice")); ?>
요렇게 삽입하시면 됩니다.
- 설명 -
latest_group_line("group_line", 'community', 7, 1, 70, array( "info", "notice"))
이거는 순서대로,
(스킨이름, 그룹이름, 전체 줄 개수, 각 게시판당 줄 개수, 제목 70자, 감추고 싶은 게시판 아이디) 입니다.
감추고 싶은 게시판이 한개면 문자열로 ex.) "notice" 복수면 배열로 ex.) arrry("info","notice")
더 자세한 설명은 원글을 참고하시는게 더 좋을 것 같습니다.
원글 : http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=121955
* 게시판 설정의 검색사용에 체크되있어야 리스트가 뜨고, 검색순서에 따라 정렬이 될 꺼 같습니다. (해보진 않았습니다. ㅈㅅ)
* 참고 : G5용은 아래의 링크에서 내려받으실 수 있습니다.
http://sir.co.kr/bbs/board.php?bo_table=g5_skin&wr_id=1377
불량감자님의 그룹 탭 최신글을 응용하여
그룹 내의 모든 게시판의 최신글을 1줄씩 표시합니다. (줄 개수는 조정가능)
원글 : http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=121955
- 사용법 -
index.php에
<?
include_once("./_common.php");
include_once("$g4[path]/lib/latest.lib.php");
밑에 아래의 한줄을 추가하시고,
include_once("$g4[path]/skin/latest/group_line/latest_group.lib.php");
여기서,
(lib폴더에 latest_group.lib.php을 집어 넣고
include_once("$g4[path]/lib/latest_group.lib.php");
한줄 추가하셔도됨)
알맞는 위치에
<?php echo latest_group_line("group_line", 'community', 7, 1, 70, array( "info", "notice")); ?>
요렇게 삽입하시면 됩니다.
- 설명 -
latest_group_line("group_line", 'community', 7, 1, 70, array( "info", "notice"))
이거는 순서대로,
(스킨이름, 그룹이름, 전체 줄 개수, 각 게시판당 줄 개수, 제목 70자, 감추고 싶은 게시판 아이디) 입니다.
감추고 싶은 게시판이 한개면 문자열로 ex.) "notice" 복수면 배열로 ex.) arrry("info","notice")
더 자세한 설명은 원글을 참고하시는게 더 좋을 것 같습니다.
원글 : http://sir.co.kr/bbs/board.php?bo_table=g4_skin&wr_id=121955
* 게시판 설정의 검색사용에 체크되있어야 리스트가 뜨고, 검색순서에 따라 정렬이 될 꺼 같습니다. (해보진 않았습니다. ㅈㅅ)
* 참고 : G5용은 아래의 링크에서 내려받으실 수 있습니다.
http://sir.co.kr/bbs/board.php?bo_table=g5_skin&wr_id=1377
추천
5
5
댓글 전체
감사합니다 +.+
감사히 잘 쓰갰습니다.