飞龙博客

feilong.org 前端开发教程

mingle forum wordpress on php4

飞龙修订于 20100703 04:58 36 次浏览

Mingle forum is a simple WordPress forum plugin based on wp-forum.It is just a plugin and can be updated automatically at your wordpress backend.Simple and easy to use,and can be skinned by yourself. The author is mingle forum

Feilong have test it on localhost(windows vista and xampp), it can not support Chinese words.I wonder if there are Chinese language package  or other languages?

But when I test it on my website(Unix and php4.*),Chinese is OK.but....something wrong with BBCode.php in line 58

I have asked Cartpauj the author of this plugin,he said that my php needs to be upgraded.But I do not want to do that,for it is troublesome to ask the web hosting provider and perhaps it is dangerous for other sites on this web hosting.

So feilong tried to edit the BBCode.php,and by chance successfully resolved it.But how?

1.Open BBCode.php with EditPlus or notepad, then go to line 58,
$subjectTwo = str_ireplace($findQ, $replaceQ, $subject);

2. then replace str_ireplace iwith str_replace

Feilong come to know the difference between str_ireplace and str_replace

str_ireplace supports PHP5 — Case-insensitive version of str_replace()
str_replace supports PHP4 and PHP5 — Replace all occurrences of the search string with the replacement string

The last question is,Does mingle forum support category slug and fancy url?

The default url of some category or forum is,is ,for eaxmple
?mingleforumaction=viewforum&f=5.0

Thanks to mingle forum and php.net.This post update url is http://feilong.org/mingle-forum-wordpress

网址:https://feilong.org/mingle-forum-wordpress
初发:20100703 04:58

想学前端?长按二维码加我微信

想学前端?点击飞龙QQ

分类: wordpress

新作:

旧文:

关闭

长按二维码 -> 识别图中二维码

打开微信,发现,扫一扫

支付完成后,点击下一步

感谢大力支持

然后你手机号:

最后点这,稍等即可