In responce to connerhd's post smile

hmmm, didn't seem to make a differentce, however the 1st code change you suggested changes the formate of the date and time to just numerals, as the last code change you suggested does not,  but for some reason its still server time(my server is an hour ahead, said 9:57am)

However, I did notice that my test post in my forums said the time was 2:57am(I never noticed this before, but this is my first time posting in the forums since the nuke conversion).  This tells me that there is something else going on :S

oh btw, (off topic) but thanks to you making this miniportal, it allowed me to quickly understand punbb's layout,  I like how I can add any function I want to the functions.php, and then call it in any document.   Currently I have created headerinclude.php (same code from your index.php)

<?php

define('PUN_ROOT', './');
define('PUN_QUIET_VISIT', 1);
require PUN_ROOT.'include/common.php';

$page_title = pun_htmlspecialchars($pun_config['o_board_title']);
define('PUN_ALLOW_INDEX', 1);
require PUN_ROOT.'header.php';
require PUN_ROOT.'include/parser.php';
?>
       <div class="block">
           <h2><span>
<?
echo $pagetitle
?>
</span></h2>
           <div class="box">
               <div class="inbox">

and footerinclude.php

               </div>
           </div>
       </div>
<?php
require PUN_ROOT.'footer.php';

This lets me to easily create new "modules" , so for example, one could create a new page called, lol, newpage.php in the root of the punbb installation.

<?
$pagetitle="New Page";
include("headerinclude.php");
echo "here is the main content you would put";
include("footerincluce.php");
?>

I will be adding a opentable and closetable function to the functions.php
or add it to the headerinclude and footerinclude, not sure yet, but this is so that it matches with the rest of the style.
check out a test at http://antix.distortgaming.com/punbb/servers.php

* edited to include div tables to create a block for the new page

yeah I found it is using the servers time zone,  I'm checking this miniportal out today wink

So far it does everything I want, its easy to work with, I can add any blocks I want, by editing main.tpl
And I can disable the lastest forum news generator from the main page, although I kind of like that feature, but to disable, I just have to rem this line: echo pun_news(1, 10, 1);
from index.php

Connorhd dude, keep up the good work

Currently I'm editing it to use includes, for example, include("blocks.php");   instead of editing main.tpl, I will just have to edit blocks.php,  and of course the same with the welcome message in the index.php,   I will just include("news.php"); for example.

3

(9 replies, posted in Feature requests)

Thanx Smartys smile

omg, lol thank you Connorhd, wink

just posting so that I'm subscribed now, lol

6

(9 replies, posted in Feature requests)

which file is that in,  I'm using 1.2.6 btw

Yeah I'm from DistortGaming.com  and the site is currently using phpnuke (which I want to migrate away from)
one hurdle was to save all the posts and users from the modulized version of phpbb,  I tried converters that converted:
nuke to bb
bb to invision (with some hacking)
etc, etc
So after some web surfing I found punBB , I never heard of it until today.  (I don't want to use phpbb anyways, and I want out of phpnuke because of security worries)

all failed with some kind of fault (for ex: nuke to bb was great, except I could no longer log in as admin to administer the board)
but the converter that someone from your community made for punBB worked great, of course I had to rename the sql entries nuke_users to nuke_bbusers  then use the prefix nuke_bb in the converter tool, but it worked great, probably because the converter tool itself allowed me to add an admin afterwards.

Anyways, feel free to compare (of course avatars and smilies arn't the same, but meh)  http://www.distortgaming.com/modules.php?name=Forums
and http://antix.distortgaming.com/punbb/index.php

I wish private messaging was build in and that private messaging mod I'm thinking of installing(then re-converting once I'm ready to change over)  was able to email the user when a new private message arrives(not sure if it does already, but I researched and apparently it doesn't yet)

Anyways, kudos to Rickard Andersson