t

그누보드4(UTF8)와 태터툴즈1.0.6 연동하기(대충 간단히 사용하기)

태터툴즈 설치 디렉토리
/home/www/tattertools

그누보드 설치 디렉토리
/home/www/tattertools/blog/gnu

.htaccess에 그누보드 폴더를 추가한다.
RewriteCond %{REQUEST_FILENAME} /gnu
RewriteRule (.*) - [L]

Guestbook 을 게시판(BBS)으로 수정한다.
/home/www/tattertools/skin/사용하는skin/skin.html

<div class="owner">
<a href="">위치로그</a> :
<a href="">태그</a> :
<!-- <a href="">방명록</a><br /> -->
<a href="">게시판</a><br />
<a href="owner/entry/post">글을 올린다</a> :
<a href="owner/entry">관리자</a>
</div>

<!-- guestbook -->
<s_guest>
<div class="guestbook">
<h3>게시판</h3>
<!-- guestbook write -->
<!-- guestbook list -->
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<iframe id="ifrm" width="520" height="100%" frameborder="0" marginheight="0" marginwidth="0" scrolling="no" src="gnu/bbs.php"></iframe>
</td>
</tr>
</table>
</div>
<hr />
</s_guest>

iframe과 Javascript부분은 각자 사용하는 것으로 처리하면 문제없음.

/home/www/tattertools/blog/gnu/bbs.php 소스 내용

<?
include_once("./_common.php");
$g4[title] = "게시판";
include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/latest.lib.php");
$style = "basic2";
?>
<style type="text/css">
<!--
body {
background-color: #FFFFFF;
}
.style1 {
color: #333366;
font-weight: bold;
}
.style2 {color: #FF6600}
-->
</style>
<table width="520" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
<tr>
<td height="30"> </td>
</tr>
<tr>
<td width="20"> </td>
<td width="480" valign="top">
<table width="480">
<tr>
<td ><?=latest($style,"free",5,120); ?></td>
</tr>
</table>
</td>
</tr>
<tr>
<td height="40"> </td>
</tr>
<tr>
<td width="20"> </td>
<td width="480" valign="top">
<table width="480">
<tr>
<td ><?=latest($style,"test",5,120); ?></td>
</tr>
</table>
</td>
</tr>
</table>

<?
include_once("$g4[path]/tail.sub.php");
?>
|

댓글 2개

뉘신지는 모르오나 고생하셨네요.
프로그램도 맘을 열고 온고지신 한다는게 정말 힘이 듭니다.
모쪼록 좋은 결과 있으시길,..
고지가 저기 같지만 길은 멀고..
무엇에 무엇을 맞춰야 되는지도 모르지만
사실은 미쳤다는 사람들에 의해서 조금씩 변화하고 있다는 진실뿐..
수고하십시요. :-)
감사합니다 :)
댓글을 작성하시려면 로그인이 필요합니다.

그누4 팁자료실

그누보드4와 관련된 팁을 여러분들과 함께 공유하세요. 나누면 즐거움이 커집니다.

+
제목 글쓴이 날짜 조회
19년 전 조회 4,973
19년 전 조회 8,752
19년 전 조회 4,926
19년 전 조회 5,167
19년 전 조회 7,837
19년 전 조회 3,123
19년 전 조회 3,720
19년 전 조회 5,438
19년 전 조회 3,815
19년 전 조회 3,155
19년 전 조회 3,905
19년 전 조회 8,735
19년 전 조회 3,588
19년 전 조회 9,425
19년 전 조회 4,118
19년 전 조회 4,151
19년 전 조회 3,466
19년 전 조회 2,684
19년 전 조회 2,971
19년 전 조회 3,506