i found that some mods were only include a xml file.
how can i use it?

just like ipb.

SuperMAG wrote:

when you post a message in the quick reply box and enter the submit button it shows ajax waiting image and automathecally post the post without refreshing the page.

yes. this is what i want.
and i wish that more ajax taste(effect) will add into punbb1.3.

sorry for my english ,wish you will understand... smile


1. timezone

show wrong below (correct in phpbb and other popular programs)

set: (Administration)Server timezone +8 & (user Profile) timezone +8

may be wrong in /include/functions.php line 630

$diff = ($pun_user['timezone'] - $pun_config['o_server_timezone']) * 3600;

in my mind, Server timezone(var: $pun_config['o_server_timezone']) only affect default timezone set in registration.
so the code should modify to

$diff = $pun_user['timezone'] * 3600;

2. show utf8 character in database(for example: phpmyadmin)
if necessary...

/header.php

find

header('Pragma: no-cache');        // For HTTP/1.0 compability

add after

header("Content-Type: text/html; charset=utf-8");

/include/dblayer/mysql.php

find

return $this->link_id;

add before

mysql_query("SET NAMES utf8");
mysql_query("SET CHARACTER SET utf8");
mysql_query("SET COLLATION_CONNECTION='utf8_general_ci'");

and
if you want to use multi language select...

/lang/english/common.php

find

/*
// Determine what locale to use
switch (PHP_OS)
{
    case 'WINNT':
    case 'WIN32':
        $locale = 'english';
        break;

    case 'FreeBSD':
    case 'NetBSD':
    case 'OpenBSD':
        $locale = 'en_US.US-ASCII';
        break;

    default:
        $locale = 'en_US';
        break;
}

// Attempt to set the locale
setlocale(LC_CTYPE, $locale);
*/

// Language definitions for frequently used strings
$lang_common = array(

// Text orientation and encoding
'lang_direction'        =>    'ltr',    // ltr (Left-To-Right) or rtl (Right-To-Left)
'lang_encoding'            =>    'iso-8859-1',
'lang_multibyte'        =>    false,

replace it

// Determine what locale to use
switch (PHP_OS)
{
    case 'WINNT':
    case 'WIN32':
        $locale = 'english';
        break;

    case 'FreeBSD':
    case 'NetBSD':
    case 'OpenBSD':
        $locale = 'en_US.UTF-8';
        break;

    default:
        $locale = 'en_US';
        break;
}

// Attempt to set the locale
setlocale(LC_CTYPE, $locale);


// Language definitions for frequently used strings
$lang_common = array(

// Text orientation and encoding
'lang_direction'        =>    'ltr',    // ltr (Left-To-Right) or rtl (Right-To-Left)
'lang_encoding'            =>    'UTF-8',
'lang_multibyte'        =>    true,