Topic: Include Punbb in a page

Hi,

what is the easier issue to include Punbb in a page.
I have already a template with a header and a footer content, I would just to insert the forum in my PHP file, is it possible?

Thanks for your support.

Re: Include Punbb in a page

The easiest way would be to add your header and footer into main.tpl.

Looking for a certain modification for your forum? Please take a look here before posting.

3 (edited by AndyDeacon 2007-10-25 18:15)

Re: Include Punbb in a page

Help me to include my PunBB in my page in main.tpl.

There is it:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>[(site_name)] || [*pagetitle*]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="[(base_url)]assets/templates/site/css/style_wide.css" rel="stylesheet" type="text/css">
</head>

<body>
<div id="main">
<div id="logo"><a href="[~1~]"><img src="[(base_url)]assets/templates/site/img/logo.png" alt="SITE.COM" width="163px" height="39px" border="0px"><br></a></div>
<div id="language"><a href="[~70~]"><img src="[(base_url)]assets/templates/site/img/language.png" alt="????? ?????..." width="26px" height="26px" border="0px"><br></a></div>
<div id="right_menu">
<a href="[~2~]">news     </a><br>
<a href="[~3~]">gallery  </a><br>
<a href="[~11~]">forum </a><br>
<a href="[~30~]">distribution</a><br>
<a href="[~6~]">bands </a><br>
<a href="[~7~]">downloads   </a><br>
<a href="[~8~]">links       </a><br>
</div>
<div id="left_menu">
<a href="[~58~]">gigs:</a><br>
<a href="#">gig_1  </a><br>
<a href="#">gig_2   </a><br>
<a href="#">gig_3   </a><br>
</div>

<div id="contact"><a href="[~9~]">contact</a></div>

<div id="content">

!!!FORUM!!!   <<<<<<<<<<<<<<< THERE IS MUST BE  PunBB FORUM

</div>         <<<<<<<<<<<<<<< AFTER BEGINS FOOTER OF SITE

<div id="content_bottom"> </div>

<div id="copyright">© 2007-2008 SITE.COM</div>
</div>
</body>
</html>

Please give me a final main.tpl code. I do not understant how to do it right. ((( fuh..

Re: Include Punbb in a page

somebody help me?

Re: Include Punbb in a page

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"
"http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>[(site_name)] || [*pagetitle*]</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="[(base_url)]assets/templates/site/css/style_wide.css" rel="stylesheet" type="text/css">
</head>

<body>
<div id="main">
<div id="logo"><a href="[~1~]"><img src="[(base_url)]assets/templates/site/img/logo.png" alt="SITE.COM" width="163px" height="39px" border="0px"><br></a></div>
<div id="language"><a href="[~70~]"><img src="[(base_url)]assets/templates/site/img/language.png" alt="????? ?????..." width="26px" height="26px" border="0px"><br></a></div>
<div id="right_menu">
<a href="[~2~]">news     </a><br>
<a href="[~3~]">gallery  </a><br>
<a href="[~11~]">forum </a><br>
<a href="[~30~]">distribution</a><br>
<a href="[~6~]">bands </a><br>
<a href="[~7~]">downloads   </a><br>
<a href="[~8~]">links       </a><br>
</div>
<div id="left_menu">
<a href="[~58~]">gigs:</a><br>
<a href="#">gig_1  </a><br>
<a href="#">gig_2   </a><br>
<a href="#">gig_3   </a><br>
</div>

<div id="contact"><a href="[~9~]">contact</a></div>

<div id="content">

<div id="punwrap">
<div id="pun<pun_page>" class="pun">

<div id="brdheader" class="block">
    <div class="box">
        <div id="brdtitle" class="inbox">
            <pun_title>
            <pun_desc>
        </div>
        <pun_navlinks>
        <pun_status>
    </div>
</div>

<pun_main>

<pun_footer>

</div>
</div></div>         <<<<<<<<<<<<<<< AFTER BEGINS FOOTER OF SITE

<div id="content_bottom"> </div>

<div id="copyright">© 2007-2008 SITE.COM</div>
</div>
</body>
</html>
Sorry. Unactive due to personal life.

6 (edited by AndyDeacon 2007-10-27 11:36)

Re: Include Punbb in a page

matt1298

Thanx you very much. I see how this will be work and write you.

It's action bad. ((