코멘트 숫자 꾸미기! 정보
그누호환 코멘트 숫자 꾸미기!
본문
========================================================================================
밋밋한 코멘트 숫자를 좀 다양하게 표현해 봤습니다.
♣ gblist.php, latest.lib.php 수정하는 경우
1. style.css에 아래 추가
.pt7 { font-family:Tahoma,Verdana; font-size:7pt; color:#FF0000}
.pt7b { font-family:Tahoma,Verdana; font-size:7pt; color:#FFFFFF;background-color:#E66700}
2. 게시판목록
- bbs/gblist.php
- 130번째줄
$list[$i][commentcnt] = "([wr_commentcnt])";
=>
$list[$i][commentcnt] = "<font class='pt7b'>& n b s p ;$row[wr_commentcnt]& n b s p ;</font>"; <= & n b s p ;공백문자입니다. 여기서는 보여주기위해 일부러 띄워쓰기 한겁니다. 적용하실땐 붙여적으세요.
3. 최신글
- lib/latest.lib.php
- 40번째줄
$list[$i][commentcnt] = "($row[wr_commentcnt])";
=>
$list[$i][commentcnt] = "<font class='pt7'>[$row[wr_commentcnt]]</font>";
♣ 스킨만 수정하는 경우(root님 제공)
1. style.css에 아래 추가
.pt7 { font-family:Tahoma,Verdana; font-size:7pt; color:#FF0000}
.pt7b { font-family:Tahoma,Verdana; font-size:7pt; color:#FFFFFF;background-color:#E66700}
2. 게시판 목록
- gblist.skin.php
- 61번째줄 수정
<span style='font-size:8pt;'><?=$list[$i][commentcnt]?></span>
=>
<font class=pt7b><?=$list[$i][commentcnt]?></font>
3. 최신글
- latest.skin.php 수정
- 해당 최신글스킨
<?=$list[$i][commentcnt]?>
=>
<font class=pt7><?=$list[$i][commentcnt]?></font>
=================================================================================
둘중 아무거나 편하신걸로 사용하시면 됩니다.
첫번째 방법은 많은 종류의 스킨을 사용할때 편한 방법이고, 두번째 방법은 그누보드가 업그레이드 되더라도 패치에 신경 안쓰도 되므로 좋습니다.
밋밋한 코멘트 숫자를 좀 다양하게 표현해 봤습니다.
♣ gblist.php, latest.lib.php 수정하는 경우
1. style.css에 아래 추가
.pt7 { font-family:Tahoma,Verdana; font-size:7pt; color:#FF0000}
.pt7b { font-family:Tahoma,Verdana; font-size:7pt; color:#FFFFFF;background-color:#E66700}
2. 게시판목록
- bbs/gblist.php
- 130번째줄
$list[$i][commentcnt] = "([wr_commentcnt])";
=>
$list[$i][commentcnt] = "<font class='pt7b'>& n b s p ;$row[wr_commentcnt]& n b s p ;</font>"; <= & n b s p ;공백문자입니다. 여기서는 보여주기위해 일부러 띄워쓰기 한겁니다. 적용하실땐 붙여적으세요.
3. 최신글
- lib/latest.lib.php
- 40번째줄
$list[$i][commentcnt] = "($row[wr_commentcnt])";
=>
$list[$i][commentcnt] = "<font class='pt7'>[$row[wr_commentcnt]]</font>";
♣ 스킨만 수정하는 경우(root님 제공)
1. style.css에 아래 추가
.pt7 { font-family:Tahoma,Verdana; font-size:7pt; color:#FF0000}
.pt7b { font-family:Tahoma,Verdana; font-size:7pt; color:#FFFFFF;background-color:#E66700}
2. 게시판 목록
- gblist.skin.php
- 61번째줄 수정
<span style='font-size:8pt;'><?=$list[$i][commentcnt]?></span>
=>
<font class=pt7b><?=$list[$i][commentcnt]?></font>
3. 최신글
- latest.skin.php 수정
- 해당 최신글스킨
<?=$list[$i][commentcnt]?>
=>
<font class=pt7><?=$list[$i][commentcnt]?></font>
=================================================================================
둘중 아무거나 편하신걸로 사용하시면 됩니다.
첫번째 방법은 많은 종류의 스킨을 사용할때 편한 방법이고, 두번째 방법은 그누보드가 업그레이드 되더라도 패치에 신경 안쓰도 되므로 좋습니다.
추천
1
1
댓글 전체
까만도둑님....
스킨만 수정하도록 수정해주세요. 다음을 참고하시면 됩니다.
1. gblist.skin.php
<font class=pt7b><?=$list[$i][commentcnt]?></font>
2. latest.skin.php
<font class=pt7><?=$list[$i][commentcnt]?></font>
ps : 멋집니다. 많이들 사용하세요
style만 수정하면 색상도 원하는것으로 적용하실수있습니다.
스킨만 수정하도록 수정해주세요. 다음을 참고하시면 됩니다.
1. gblist.skin.php
<font class=pt7b><?=$list[$i][commentcnt]?></font>
2. latest.skin.php
<font class=pt7><?=$list[$i][commentcnt]?></font>
ps : 멋집니다. 많이들 사용하세요
style만 수정하면 색상도 원하는것으로 적용하실수있습니다.

허걱!!!
텨 3=3=3
텨 3=3=3
까만도둑님 홈페이지 찾기 대회한번 하죠..ㅋㅋㅋ
한참 봤네요.^^;
까만도둑님은 숨긴 홈페이지를 공개하라! 공개하라!
까만도둑님은 숨긴 홈페이지를 공개하라! 공개하라!
까만도둑님 멋집니다.
담에는 어떤작품이 나올지 기대됩니다.
위의 소스에 한가지 바라는 점이 있다면 스킨수정만으로 처리되었으면 합니다.
그누가 패치될 때마다 수정해야 하는 단점이 좀 있어서요.
담에는 어떤작품이 나올지 기대됩니다.
위의 소스에 한가지 바라는 점이 있다면 스킨수정만으로 처리되었으면 합니다.
그누가 패치될 때마다 수정해야 하는 단점이 좀 있어서요.