1

Topic: Wohoho what a beatiful puni !

I redesigned my site and added forum. Check it out at http://www.historyexplorer.net and forum at http://www.historyexplorer.net/historyforum

It is mercury based hehe ....

Re: Wohoho what a beatiful puni !

why add the index header over to the forum?
http://bunpai.com
example...
hehe
u just need to modify the main.tpl to pull the index page info
i used the wp mod for all my forum integrating my sites with punbb and css templates!

Q

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!

3

Re: Wohoho what a beatiful puni !

What do you mean index info ?

4 (edited by quaker 2006-05-16 18:02)

Re: Wohoho what a beatiful puni !

ok i rename the index.php from the punbb
next
i upload my css template to the main www folder where i installed punbb
so no yoursite.com/forum
everything is in the main folder
ok once i upload the css  temp.
i rename it to index.php from index.html
then i add the
punbb info so that it sessions and cookies to punbb
[<?php

define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'lang/'.$pun_user['language'].'/index.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/common.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/topic.php';
require PUN_ROOT.'lang/'.$pun_user['language'].'/login.php';
require PUN_ROOT.'include/parser.php';
?>[/b]
you may need to modify that to meet ya requirements.
next
i edit the main.tpl
so that it pull from my css from my template.

this is my main.tpl from http://bunpai.com forum

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html dir="<pun_content_direction>">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<pun_char_encoding>" />
<pun_head>

<!-- Wordpress Template CSS -->
<link rel="stylesheet" type="text/css" href="grass_stains.css" media="screen" />

<style type="text/css">
#brdtitle { display: none; }
#brdmenu  { padding-top: 0; }
#punwrap {
    width: 680px;
    text-align: left;
    margin-top: 6px;
    margin-right: 0px;
    margin-bottom: 6px;
    margin-left: 0px;
    padding-right: 2px;
}
DIV.box {BORDER-COLOR: #CFD9BE; }
.pun H2, #brdmenu {BACKGROUND-COLOR: #fff; COLOR: #E39243; }
DIV.blockpost H2 {BACKGROUND-COLOR: #fff; }
#punwrap * { font-family: 'Lucida Grande', Verdana, Arial, Sans-Serif; }
DIV.blockpost DIV.box {BORDER-COLOR: #CFD9BE; }
.pun { font-size: 11px !important; }
/*.box {
    width: 500px;
    margin-top: 12px;
    margin-right: -5px;
    margin-bottom: 12px;
    margin-left: 10px;
    border: solid 1px #999;
    color: #000;
   
}   
.inbox {
    width: 530px;
    margin-top: auto;
    margin-right: auto;
    margin-bottom: auto;
    margin-left: auto;
    border: solid 1px #999;
    color: #000;
*/   
}
</style>
<!-- Wordpress Template CSS -->

<!-- Mint
<script src='/mint/mint.js.php' type='text/javascript' language='javascript'></script>
Mint -->

</head>
<body>

<!-- Wordpress Template Header -->
<div class="wrap clearfix">
   
  <div class="header"><strong>Bunpai:</strong> Punbb CMS</div>

<table border="0" width="100%" cellpadding="0" cellspacing="0">
<tr><td align="center">
<!-- Navigational Menu -->
<div class="topnav" id="nav">
  <ul>
  <li><a href="index.php">home</a></li>
    <li><a href="#">about</a></li>
    <li><a href="forum.php">forum</a></li>
    <li><a href="calendar.php">calendar</a></li>
    <li><a href="gallery.php">gallery</a></li>
    <li><a href="#">contact</a></li>
    <li><a href="classified.php">classified</a></li>
    <li><a href="chatbox.php">chatbox</a></li>
  </ul>
  </div>

    <!-- Wordpress Template Header -->
    <div id="punwrap">
<div id="pun<pun_page>" class="pun">

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

<pun_announcement>

<pun_main>

<pun_footer>
</div></div>
<!-- Wordpress Template Footer -->
<div class="footer" id="footer">
    <a href="index.php">home</a>  :  
    <a href="#">about</a>  :  
    <a href="forum.php">forum</a>  :  
    <a href="calendar.php">calendar</a>  :  
    <a href="gallery.php">gallery</a>  :  
    <a href="#">contact</a>  :  
    <a href="classified.php">classified</a>  :  
    <a href="chatbox.php">chatbox</a>
    </div>
</td></tr></table>
</div>
</body>
</html>

that is from my bunpai.com/forum.php
it is the link between my punbb and my website template...

email me for better answers!

My stuff or my style might sux, but atleast I'm willing to help when I can.
Don't be stupid and help ! We are the stupid one's !!!