제로보드 관련된 유용한 정보를 공유하는 곳입니다.
글 수 98
23
조회 수 : 5001 신고 : 0
출처 : |
---|
제로보드 include/list_check.php 파일을 여시고 아래 부분을 찾습니다.
// 제목에 링크 거는 부분;
if($member[level]<=$setup[grant_view]||$is_admin) {
//if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" ";
if($setup[use_status]&&!$data[is_secret]) $addShowComment = " title="$showCommentStr" ";
$subject="<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >".$subject."</a>";
}
이부분을 아래처럼 바꾸세요.
// 제목에 링크 거는 부분;
if($member[level]<=$setup[grant_view]||$is_admin) {
//if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" ";
if($setup[use_status]&&!$data[is_secret]) $addShowComment = " title="$showCommentStr" ";
$subject="<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >".$subject."</a>";
} else {
$subject="<a onClick="alert(' 읽을 수 있는 권한이 없습니다.\n\n 로그인을 안하셨거나 읽을 수 있는 레벨이 아닙니다^─^ '); window.open('".$_zb_url."member_join.php".$aUrl."','zbMemberJoin','width=560,height=350,toolbars=no,resizable=yes,scrollbars=yes')"style='cursor:hand'>".$subject."</a>";}
만약 팝업이 아니라 임의로 자기가 만든 로그인 페이지로 이동하시게 하려면
// 제목에 링크 거는 부분;
if($member[level]<=$setup[grant_view]||$is_admin) {
//if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" ";
$subject="<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >".$subject."</a>";
} else {
$subject="<a onClick="alert(' 본 서비스의 이용권한이 없습니다.\n\n 로그인을 안하셨거나 읽을 수 있는 레벨이 아닙니다 '); location.href('/login/')"style='cursor:hand'>".$subject."</a>";}
위에 /login/ 부분은 자기가 만든 로그인페이지 링크를 넣어주시면 되겠습니다.
참고 링크 : http://www.nzeo.com/bbs/zboard.php?id=cgi_tip&page=1&sn1=&divpage=1&sn=off&ss=on&sc=off&keyword=경고창&select_arrange=headnum&desc=asc&no=7446
// 제목에 링크 거는 부분;
if($member[level]<=$setup[grant_view]||$is_admin) {
//if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" ";
if($setup[use_status]&&!$data[is_secret]) $addShowComment = " title="$showCommentStr" ";
$subject="<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >".$subject."</a>";
}
이부분을 아래처럼 바꾸세요.
// 제목에 링크 거는 부분;
if($member[level]<=$setup[grant_view]||$is_admin) {
//if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" ";
if($setup[use_status]&&!$data[is_secret]) $addShowComment = " title="$showCommentStr" ";
$subject="<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >".$subject."</a>";
} else {
$subject="<a onClick="alert(' 읽을 수 있는 권한이 없습니다.\n\n 로그인을 안하셨거나 읽을 수 있는 레벨이 아닙니다^─^ '); window.open('".$_zb_url."member_join.php".$aUrl."','zbMemberJoin','width=560,height=350,toolbars=no,resizable=yes,scrollbars=yes')"style='cursor:hand'>".$subject."</a>";}
만약 팝업이 아니라 임의로 자기가 만든 로그인 페이지로 이동하시게 하려면
// 제목에 링크 거는 부분;
if($member[level]<=$setup[grant_view]||$is_admin) {
//if($setup[use_status]&&!$data[is_secret]) $addShowComment = " onMouseOver="showComment('$showCommentStr',true)" onMouseOut="showComment('',false)" ";
$subject="<a href="".$view_file."?$href$sort&no=$data[no]" $addShowComment >".$subject."</a>";
} else {
$subject="<a onClick="alert(' 본 서비스의 이용권한이 없습니다.\n\n 로그인을 안하셨거나 읽을 수 있는 레벨이 아닙니다 '); location.href('/login/')"style='cursor:hand'>".$subject."</a>";}
위에 /login/ 부분은 자기가 만든 로그인페이지 링크를 넣어주시면 되겠습니다.
참고 링크 : http://www.nzeo.com/bbs/zboard.php?id=cgi_tip&page=1&sn1=&divpage=1&sn=off&ss=on&sc=off&keyword=경고창&select_arrange=headnum&desc=asc&no=7446
소중한 댓글 부탁드립니다.
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 아이콘이 붙게됩니다.
추천수 10단위당 메달이 1개씩 노출되고, 추천수에 따라 배경색이 변하며, 일정수의 추천수를 받을시 아이콘이 붙게됩니다.
추천수에 따른 배경색 보기
본문으로 바로가기
- 추천수 50개이상
- 추천수 30개이상
- 추천수 20개이상
- 추천수 10개이상
- 추천수 3개이상
첫번째 댓글을 남겨주세요!