스킨적용 문의입니다 > 그누4 질문답변

그누4 질문답변

그누보드4 관련 질문은 QA 로 이전됩니다. QA 그누보드4 바로가기
기존 게시물은 열람만 가능합니다.

스킨적용 문의입니다 정보

스킨적용 문의입니다

본문

제로보드를 사용해봤지만... 스킨적용에 대한 설명을 이해 할 수가 없네요...
생성한 게시판을 어떤방법으로 링크시키는지도  알수가 없구요...
제로보드와 같이 head.php와 foot.php를 이용하여 게시판스킨을 홈페이지에 적용하는지요?

또한 스킨자료실에서 onlyfree 와 basic 이라는 스킨을 다운받아 skin 폴더의 board에 올렸는데
왜 메뉴얼 설명데로 로그인한 게시판관리에는 나타나지 않는지요?

정말 초짜입니다 고수님의 도움바랍니다

댓글 전체

저도 제로보드를 몇년간 사용하다 그누보드 사용한지는 얼마되지않았는데요.

상단파일과 하단파일 적용하는것은 제로보드와 같구요.
스킨은 말씀하신 skin폴더 내 해당 폴더( board)에 올리시는것이 맞습니다.
게시판 생성시 혹은 게시판 수정에 보시면 [스킨 디렉토리]라고 리스트박스가 있습니다. 거기서 올리신 스킨을 체크하시면됩니다...
답변감사하구요^^
어찌하다보니, 스킨목록이 보이더군요
... 현재 게시판을 필요한 수만큼 생성시켰는데... 아직php화일을 만들지 않아서
아직, basic과 onlyfree라는 스킨이 스킨자료실에서 처럼 다른 형태로 보이는지 알수 없군요

몇가지 만 더 질문하겠습니다
제로보드와 같은 형식이라면 제로보드와 똑 같이 형태로 php화일을 만들라는 뜻인가요?
그리고, 제로보드에서의 상단내용과 하단내용에 보면...
상단  <div align=center> 하단 </div> ... 이렇게 적어있던데....
무슨내용인지는 모르지만, 그누보드에서도 써줘야 하는지요?
답변 부탁합니다
정말답답하군요. 게시판에 보면 거의 쉽게 이해를 하는 것 같은데 머리만 아프니까요
다시한번 도움을 청하겠습니다 부탁합니다^^
...템플릿을 구입 수정하여 홈페이지를 연 상태이며, 나모로 작업을 하고있으며,
 홈페이지는 "낚시와펜션.kr" 입니다
게시판이 몇개가있어 php화일을 분류하여야 될 것 같아 "공지사항"이라는 게시판의 php에는
g_라고 분류했습니다. 지식in에서 참고 했지만 맞는지요?...
그래서 g_head.php라는 화일을 아래와같이 만들고

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");


//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=euc-kr" />
<title>닊시와펜션입니다</title>
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="JS/flash.js"></script>
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style2 {color: #666666}
-->

</head>

<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="FFF9F9" valign="top">

<!---------------좌측bg : 시작 ---------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="212" style="background:url(img/main_left_bg2.gif);background-position:top;background-repeat:repeat-x">&nbsp;</td>
      </tr>
    </table>
<!---------------좌측bg : 끝 ---------------->

</td>
    <td width="966" valign="top" bgcolor="FFF9F9">
<table width="966%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="161">
<!-----------------------------------------상단 네비게이션 시작------------------------------------------------>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
          <td height="161">
    <DIV id="floater" style="Z-INDEX: 1; LEFT: 300px; VISIBILITY: visible; WIDTH: 730px; POSITION: absolute; TOP: 34px; HEIGHT: 109px">
          <table width="730" height="109" border="0" cellpadding="0" cellspacing="0">
      <tr>
          <td><script language='javascript'>m_menu("pension008.swf?PageNum=1&subPageNum=1", "730", "109");</script></td>
      </tr>
          </table>
          </DIV>
      <script language='javascript'>m_menu("pension008_navibg.swf?PageNum=1&subPageNum=1", "966", "161");</script>
          </td>
</tr>
</table>
<!-----------------------------------------상단 네비게이션 끝------------------------------------------------>
</td></tr>
      <tr>
        <td valign="top"><img src="img/community/img.gif" width="966" height="220"></td>
      </tr>
      <tr>
        <td height="0">
<table width="966" border="0" cellpadding="0" cellspacing="0">
                            <tr>
            <td width="226" valign="top" style="padding-top:27px">

<!-----------좌측부분 : 시작----------------->
<table width="225" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="225" height="150" valign="top"><img src="img/community/sub_title.gif" width="225" height="115"></td>
                <td width="1" rowspan="3"><img src="img/community/sub_bg.gif" width="1" height="691"></td>
              </tr>
              <tr>
                <td height="321" valign="top"><img src="img/community/sub_menu666.gif" width="225" height="134" border="0" usemap="#sub_menu05"></td>
              </tr>
                                        <tr>
                                            <td height="240" valign="top" align="left" style="padding-left:14px"><img src="img/pension1/customer2.gif" width="179" height="266" border="0" usemap="#ImageMap1"></td>
                                        </tr>
            </table>
<!-----------좌측부분 : 끝----------------->
</td>
                                <td width="740" valign="top" style="padding-top:27px">

                                    <!-----------컨텐츠부분 : 시작----------------->
                                    <table width="740" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td width="557" height="49" align="left" valign="bottom" style="padding-left:24px"><span class="style3" style="font-size:14pt;"><b><font color="#333333">&nbsp;&lt; 공지사항&nbsp;&gt;</font></b></span></td>
                                            <td width="183" valign="bottom" style="padding:0px 0px 7px 16px"><img src="img/community/con_bolit.gif" width="13" height="10"><span class="style3">&gt;커뮤니티&gt; <span class="style5">공지사항</span></span></td>
                                        </tr>
                                        <tr>
                                            <td height="1" colspan="2" background="img/community/con_bg.gif"></td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" align="left" valign="top" style="padding-left:24px">&nbsp;</td>
                                        </tr>
                                    </table>
<span class="style3" style="font-size:14pt;"><b><font color="#333333">

다음 tail.php화일을 g_tail.php라는 화일로 아래와같이만들었습니다

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

                                </td>
                            </tr>
        </table>
</td>
      </tr>
    </table>
</td>
    <td bgcolor="FFF9F9" valign="top">

<!---------------우측bg : 시작 ---------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td  height="212" style="background:url(img/main_right_bg2.gif);background-position:top;background-repeat:repeat-x">&nbsp;</td>
      </tr>
    </table>
<!---------------우측bg : 끝 ---------------->

</td>
  </tr>
  <tr>
    <td height="83" colspan="3" bgcolor="F3F0F0" align="left">

<!---------------하단부분 : 시작 ---------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="261" align="right" style="padding-right:30px"><a href="index.htm" target="_parent"><img src="img/bot_logo1.gif" width="142" height="27"></a></td>
        <td><img src="img/bot_copy.gif" width="380" height="27"></td>
      </tr>
    </table>
<!---------------하단부분 : 끝 ---------------->

</td>
  </tr>
</table>

<map name="sub_menu05">
<area shape="rect" coords="17,2,215,28" href="sub6.html" target="_parent">
<area shape="rect" coords="15, 29, 210, 58" href="
<area shape="rect" coords="19,59,214,87" href="sub666.htm" target="_parent">
<area shape="rect" coords="19,87,214,118" href="sub6666.htm" target="_parent">
</map>
<map name="ImageMap1">
<area shape="rect" coords="2, 85, 178, 109" href="sub1.html" target="_parent">
<area shape="rect" coords="2, 116, 178, 138" href="sub3.html" target="_parent">
<area shape="rect" coords="1, 143, 172, 170" href="sub4.html" target="_parent">
<area shape="rect" coords="2, 175, 177, 201" href="sub5.html" target="_parent">
<area shape="rect" coords="2, 239, 178, 264" href="sub6.html" target="_parent">
<area shape="rect" coords="2, 239, 178, 261" href="sub6.html" target="_parent">
<area shape="rect" coords="1, 205, 178, 233" href="sub111.htm" target="_parent">
</map></body>
</html>

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

다음 게시판관리에 들어가 상단및 하단화일경로에 ../g_head.php와 ../g_tail_php를 삽입하고
확인을 을 하니 저장이 되는 것 같았습니다

다음 홈페이지의 "공지사항"이라는 게시판을 들어가봤지만... 게시판은 생성이 안되고 있습니다
어느부분이 잘못된 것인지요?

도움을 바랍니다
<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

include_once("$g4[path]/head.sub.php");
include_once("$g4[path]/lib/outlogin.lib.php");
include_once("$g4[path]/lib/poll.lib.php");
include_once("$g4[path]/lib/visit.lib.php");
include_once("$g4[path]/lib/connect.lib.php");
include_once("$g4[path]/lib/popular.lib.php");
include_once("$g4[path]/lib/latest.lib.php");


//print_r2(get_defined_constants());

// 사용자 화면 상단과 좌측을 담당하는 페이지입니다.
// 상단, 좌측 화면을 꾸미려면 이 파일을 수정합니다.
?> 
<link href="css/style.css" rel="stylesheet" type="text/css" />
<script type="text/javascript" src="JS/flash.js"></script>
<!--
body {
margin-left: 0px;
margin-top: 0px;
margin-right: 0px;
margin-bottom: 0px;
}
.style2 {color: #666666}
-->


<body>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
  <tr>
    <td bgcolor="FFF9F9" valign="top">

<!---------------좌측bg : 시작 ---------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="212" style="background:url(img/main_left_bg2.gif);background-position:top;background-repeat:repeat-x">&nbsp;</td>
      </tr>
    </table>
<!---------------좌측bg : 끝 ---------------->

</td>
    <td width="966" valign="top" bgcolor="FFF9F9">
<table width="966%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td height="161">
<!-----------------------------------------상단 네비게이션 시작------------------------------------------------>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
          <td height="161">
    <DIV id="floater" style="Z-INDEX: 1; LEFT: 300px; VISIBILITY: visible; WIDTH: 730px; POSITION: absolute; TOP: 34px; HEIGHT: 109px">
          <table width="730" height="109" border="0" cellpadding="0" cellspacing="0">
      <tr>
          <td><script language='javascript'>m_menu("pension008.swf?PageNum=1&subPageNum=1", "730", "109");</script></td>
      </tr>
          </table>
          </DIV>
      <script language='javascript'>m_menu("pension008_navibg.swf?PageNum=1&subPageNum=1", "966", "161");</script>
          </td>
</tr>
</table>
<!-----------------------------------------상단 네비게이션 끝------------------------------------------------>
</td></tr>
      <tr>
        <td valign="top"><img src="img/community/img.gif" width="966" height="220"></td>
      </tr>
      <tr>
        <td height="0">
<table width="966" border="0" cellpadding="0" cellspacing="0">
                            <tr>
            <td width="226" valign="top" style="padding-top:27px">

<!-----------좌측부분 : 시작----------------->
<table width="225" border="0" cellpadding="0" cellspacing="0">
              <tr>
                <td width="225" height="150" valign="top"><img src="img/community/sub_title.gif" width="225" height="115"></td>
                <td width="1" rowspan="3"><img src="img/community/sub_bg.gif" width="1" height="691"></td>
              </tr>
              <tr>
                <td height="321" valign="top"><img src="img/community/sub_menu666.gif" width="225" height="134" border="0" usemap="#sub_menu05"></td>
              </tr>
                                        <tr>
                                            <td height="240" valign="top" align="left" style="padding-left:14px"><img src="img/pension1/customer2.gif" width="179" height="266" border="0" usemap="#ImageMap1"></td>
                                        </tr>
            </table>
<!-----------좌측부분 : 끝----------------->
</td>
                                <td width="740" valign="top" style="padding-top:27px">

                                    <!-----------컨텐츠부분 : 시작----------------->
                                    <table width="740" border="0" cellpadding="0" cellspacing="0">
                                        <tr>
                                            <td width="557" height="49" align="left" valign="bottom" style="padding-left:24px"><span class="style3" style="font-size:14pt;"><b><font color="#333333">&nbsp;&lt; 공지사항&nbsp;&gt;</font></b></span></td>
                                            <td width="183" valign="bottom" style="padding:0px 0px 7px 16px"><img src="img/community/con_bolit.gif" width="13" height="10"><span class="style3">&gt;커뮤니티&gt; <span class="style5">공지사항</span></span></td>
                                        </tr>
                                        <tr>
                                            <td height="1" colspan="2" background="img/community/con_bg.gif"></td>
                                        </tr>
                                        <tr>
                                            <td colspan="2" align="left" valign="top" style="padding-left:24px">&nbsp;</td>
                                        </tr>
                                    </table>
<span class="style3" style="font-size:14pt;"><b><font color="#333333">
<!----  이부분에 공지사항 게시판들어갈 부분------------_<?
include_once("$g4[path]/tail.sub.php");
?>>

다음 tail.php화일을 g_tail.php라는 화일로 아래와같이만들었습니다

<?
if (!defined("_GNUBOARD_")) exit; // 개별 페이지 접근 불가

                                </td>
                            </tr>
        </table>
</td>
      </tr>
    </table>
</td>
    <td bgcolor="FFF9F9" valign="top">

<!---------------우측bg : 시작 ---------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td  height="212" style="background:url(img/main_right_bg2.gif);background-position:top;background-repeat:repeat-x">&nbsp;</td>
      </tr>
    </table>
<!---------------우측bg : 끝 ---------------->

</td>
  </tr>
  <tr>
    <td height="83" colspan="3" bgcolor="F3F0F0" align="left">

<!---------------하단부분 : 시작 ---------------->
<table width="100%" border="0" cellpadding="0" cellspacing="0">
      <tr>
        <td width="261" align="right" style="padding-right:30px"><a href="index.htm" target="_parent"><img src="img/bot_logo1.gif" width="142" height="27"></a></td>
        <td><img src="img/bot_copy.gif" width="380" height="27"></td>
      </tr>
    </table>
<!---------------하단부분 : 끝 ---------------->

</td>
  </tr>
</table>

<map name="sub_menu05">
<area shape="rect" coords="17,2,215,28" href="sub6.html" target="_parent">
<area shape="rect" coords="15, 29, 210, 58" href="
<area shape="rect" coords="19,59,214,87" href="sub666.htm" target="_parent">
<area shape="rect" coords="19,87,214,118" href="sub6666.htm" target="_parent">
</map>
<map name="ImageMap1">
<area shape="rect" coords="2, 85, 178, 109" href="sub1.html" target="_parent">
<area shape="rect" coords="2, 116, 178, 138" href="sub3.html" target="_parent">
<area shape="rect" coords="1, 143, 172, 170" href="sub4.html" target="_parent">
<area shape="rect" coords="2, 175, 177, 201" href="sub5.html" target="_parent">
<area shape="rect" coords="2, 239, 178, 264" href="sub6.html" target="_parent">
<area shape="rect" coords="2, 239, 178, 261" href="sub6.html" target="_parent">
<area shape="rect" coords="1, 205, 178, 233" href="sub111.htm" target="_parent">
</map></body>

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


g_head.php 과 g_tail.php 파일을 gnuboard에 올리시고...
관리자로 가셔서 게시판 생성하시고    게시판관리에서 g_head.php와 g_tail.php파일을 불러오시면 됩니다

지금 홈페이지에 가보니 공지사항부분에 게시판을 생성하지 않은것 같습니다
notice가 공지사항 게시판 이름이라면 아래와 같이 불러와 집니다

http://낚시와펜션.kr/그누드렉토리/board.php?bo_table=notice
이해가 가시는지요?
모든 메뉴가 htm으로 저장되어 있는것 같은데요...
그렇게 안하시고 바로 게시판에서 불러올수 잇지요~^^
htm으로 할려면 아이프레임으로 불러와야할것 같네요..

수고하세요
답변에 진심으로 감사드립니다만, 몇가지 다시 문의드려야 할 것 같습니다^^
g_head.php 과 g_tail.php 파일을 g4에 올리고 관리자에들어가 생성되어있는 공지사항의
table인 googji 라는 단어에 첵크를 하니 ...

url 이...  http://xn--c20bn13ai7ah8fu0v.kr/g4/adm/board_form.php?w=u&bo_table=goonji&
 변경되어 보여집니다,
다시 상단의파일경로를 g_head.php 를  하단의 파일경로를  g_tail.php 로 적고 저장을 하니
url 이...  http://xn--c20bn13ai7ah8fu0v.kr/g4/adm/board_form.php?w=u&bo_table=goonji&&sst=&sod=&sfl=&stx=&page= 로 바뀌였습니다
... 참고로 xn--c20bn13ai7ah8fu0v.kr 은 호스팅업체에서 " 낚시와펜션.kr "의 접속부호라 하더군요
저장 후  홈페이지에 접속해도 게시판은 보이지 않고 있습니다.

게시판 생성에 문제가 있는 것인지요? 아니면 혹, php화일을 만들고 저장하는 과정은 잘못된것은 아닌지요? .. 메모장에서는 저장시 g_head.php해서 ftp로 올려서 확인하면  g4폴더에는 g_head.phptxt로 보여지고, 부호도 기존의 php화일과 틀리게 보여,
이름바꾸기로 g_head.php로 변경하면, 기존의 화일과 같은 부호로 바뀌더군요.

님의 설명 중 " notice가 공지사항 게시판 이름이라면 아래와 같이 불러와 집니다
http://낚시와펜션.kr/그누드렉토리/board.php?bo_table=notice 이해가 가시는지요?
모든 메뉴가 htm으로 저장되어 있는것 같은데요...
그렇게 안하시고 바로 게시판에서 불러올수 잇지요~^^
htm으로 할려면 아이프레임으로 불러와야할것 같네요.. " 에서

 - notice라는 것이 공지사항을 클릭했을때 나타나는 url을 말하는 것이라면 아무래도
 설치과장에서 문제가 있는 것은 아닌지요?
 - 템플릿과 html코딩이된것을 구입했기때문에 htm으로 저장되어있을 것으로 생각됩니다 만,
 
  " 그렇게 안하시고 바로 게시판에서 불러올수 잇지요~^^
  htm으로 할려면 아이프레임으로 불러와야할것 같네요.." 라는 뜻이
현재의 홈페이지를 아이프레임 형태로  수정해야 한다는 뜻인지요?
   
 너무 기초를 모르는 상태라 답답하시겠지만... 다시 도움을 주셨으면 합니다
전체 66,554 |RSS
그누4 질문답변 내용 검색

회원로그인

(주)에스아이알소프트 / 대표:홍석명 / (06211) 서울특별시 강남구 역삼동 707-34 한신인터밸리24 서관 1402호 / E-Mail: admin@sir.kr
사업자등록번호: 217-81-36347 / 통신판매업신고번호:2014-서울강남-02098호 / 개인정보보호책임자:김민섭(minsup@sir.kr)
© SIRSOFT