leangjia1983 wrote:

这是国内的正规备案了的空间,楼上说错了吧?怎会失效呢,我又测试了一次,下载有效。

嗯,能下载。大哥误会我的意思了,我说不能下载的是国外网站及楼主的台湾网站

hcs wrote:

Our Chinese is much worse!

No matter. I will speak English.
"徐侨伯" said, his forum encountered a 500 error when he set Simple Chinese to default language. I suppose it is a syntax error in script.

3

(12 replies, posted in PunBB 1.4 troubleshooting)

I support you.

hcs wrote:

I think it is fair to block users who use to communicate in this forum language other than English.

Block? but our english are bad.

500,说明程序出错,多半是中文语言包存在语法之类的错误,你可以尝试在header.php中加入以下代码来获取详情的报错信息,从而找到解决方法:
error_reporting(E_ALL);
ini_set('display_errors', 'On');

6

(10 replies, posted in Language packs)

Great, my friend!

内地很多国外的网站都打不开,所以...那个下载地址对我是失效的...
嗯,可能是IP被限制,须要用代理

PHP is very great, it is the sixth language in 3/2012 (Java=>C=>C#=>C  =>Objective-C=>PHP).
Tell you the truth, PHP enable to develop application of android (extension: .apk). At first, you need install SL4A and PHPforAndroid (see official site: www.phpforandroid.net) in order to build a PHP envoriment. Hello World as follow:
<?php
include 'Android.php';//引用安卓API
$droid = new Android();//创建安卓对象
$droid->dialogCreateAlert('www.liyujiang.tk提示:', 'Hello World');//创建对话框
$droid->dialogShow();//显示对话框
?>
Similaritily:
<script language="javascript">
window.alert("Hello World");//弹窗
</script>

9

(2 replies, posted in Programming)

PHP code:

<?php
Main::startApp();
/*
*入口类
*/
class Main
{
    public static function startApp()
    {
        $lyj = new WapLyj();
        try {
            $lyj->test();//调用方法
        } catch(MyError $e) {
            echo $e->toString();//捕获错误
        }
    }
    public static function pauseApp() { }
    public static function distroyApp() { }
}
/*
*类一
*/
class WapLyj
{
    var $url = '';
    public function test()
    {
        if ($this->url == '')
            throw new MyError('变量$url未初始化值为“www.waplyj.in”');//抛出错误
        else
            echo '变量$url的值为'.$this->url;
    }
}
/*
*类二
*/
class MyError extends Exception
{
    var $msg = '';
    function __construct($msg)
    {
        $this->msg = $msg;
    }
    public function toString()
    {
        return $this->msg;
    }
}
?>
J2ME code:
import javax.microedition.midlet.MIDlet;
import javax.microedition.lcdui.Display;
import javax.microedition.io.ConnectionNotFoundException;
/*
*入口类
*/
public class Main extends MIDlet
{
    protected void startApp()
    {
        WapLyj lyj = new WapLyj();
        try {
            lyj.test();//调用方法
        } catch(MyError e) {
            e.toString();//捕获错误
        }
    }
    protected void pauseApp() { }
    protected void destroyApp(boolean arg0) { }
}
/*
*类一
*/
class WapLyj
{
    String url = "";
    public void test() throws MyError
    {
        if (this.url == "")
            throw new MyError("变量url未初始化值为“www.waplyj.in”");//抛出错误
        else
        {
            try {
                new Main().platformRequest(this.url);
                } catch(ConnectionNotFoundException cnfe) { }
        }
    }
}
/*
*类二
*/
class MyError extends Exception
{
    String msg = "";
    public MyError(String msg)
    {
        this.msg = msg;
    }
    public String toString()
    {
        return this.msg;
    }
}

Use FTP modify the config cache file.

11

(4 replies, posted in General discussion)

Hi,all:
I'm from China, although Christmas isn't a festival  in my country, but now(2011-12-25,00:00) I am writing: Merry Christmas, best wish for you. I hope we can become  friends.

12

(3 replies, posted in General discussion)

mikewok wrote:

I had the same question. Thanks for the answer.

you can translate from 'lang/English/...'

13

(18 replies, posted in General discussion)

rezax123 wrote:

what is the location of the footer file?

Locate at PunBB root, named 'footer.php'.

For your first question: find out the file 'include/functions.php', then search the function 'generate_navlinks()', you will see.

15

(13 replies, posted in Programming)

hoho, I learn HTML&CSS from www.w3school.com.cn , and learn PHP from www.php.net/manual/zh/. As BenInBlack said, you needn't to buy some books.

fanta wrote:

……台湾是中华民族……→MZD

呵呵,我不敢妄语。

17

(1 replies, posted in Feature requests)

OKay

Good idea.

19

(2 replies, posted in Feature requests)

tknudsen wrote:

I would love to see this too smile

Me too.

20

(11 replies, posted in News)

Thanks.

wonk wrote:

…1.3的中文的我也看了,有些语言并不适合国内会员的体验,我的部分翻译参考的discuz的名称,比如“帖子”、“版主”等等(当然翻译中也有很多错误,我是看到台湾的那个同胞说1.4都没有中文的,气愤。…

嗯,我已将其替换V1.3,总体还不错,不过有个别的翻译该改进,如“日光节约时间”宜改为“夏令时”,“检视”宜改为“浏览”或“查阅”。
My English is very poor, hope administrators will understand, hehe

感谢分享,早在v1.4繁体中文包出来时我就回帖说过v1.3的简体中文包也适用于v1.4。

hcs wrote:

Please english!

Sorry, Administrator, my english is bad.
What's more, we are from China and the language pack is Simplified Chinese, so we use our mather language to communicate is better than english.

The PunBB is great, I like it. I hope someone able to develop a mobile edition (WAP2.0). We can Named punBB-wap like phpBB-wap.
  By the way, WAP2.0 seems very popular in Russia, such as phpBB-wap,JohnCMS,MobileCMS...

ethan42411 wrote:

Try to download from this:
-

谢谢!Thank you very much, you are great.

第二条很好,许多英文程序的数据库表字段宽度,以及输入框的maxlength属性都不适合中文,毕竟一个中文字符相当于三个英文字符(UTF-8编码)