飞龙博客

飞龙博客 飞龙在天

WordPress论坛插件mingleforum在php4安装小修改

feilong.org 修订于2010-07-03 04:31:36 496 次浏览

mingleforum是WordPress的论坛插件,飞龙尝试mingleforum好几次没有成功,出现BBCode.php 58行有错误。问了mingleforum插件的作者,原来是我的主机空间php不是5.2版本。今天碰运气自己修改代码,哈成功了。本日志更新网址:http://feilong.org/mingle-forum-wordpress-cn 飞龙第4次修订于20100517

方法很简单,找到BBCode.php 的58行
$subjectTwo = str_ireplace($findQ, $replaceQ, $subject);

你把str_ireplace换为str_ireplace即可。

查了php手册,比较str_ireplace与str_ireplace的区别。看懂英文了吗?

str_ireplace (PHP 5)
str_ireplace — Case-insensitive version of str_replace().
飞龙解释:str_ireplace适用于PHP 5,是str_replace()的大小写敏感版本。

str_replace (PHP 4, PHP 5)
str_replace — Replace all occurrences of the search string with the replacement string
飞龙解释:str_replace适用于PHp4和phP5,作用是查找和替换,找到字符,就全部替换。

mingleforum的下载介绍和地址:http://feilong.org/mingle-forum-wordpress

更新网址:https://feilong.org/mingle-forum-wordpress-cn
最初发布:20100703 04:31:36 feilong.org 于广州

加入收藏夹,查看更方便。

所在分类: wordpress

新作:

旧文:

blog money bui 教程 echarts 教程 eclipse 教程 html css 教程 IT趋势 js 教程 json 教程 mysql 教程 nodejs npm 教程 onblog SQLite 教程 tutorials vscode 教程 wap网站 winpe启动盘 wordpress 主机推荐 书法 前端开发 博客 名企名网 国学 域名注册 常用软件 建站程序 操作系统 教程 数码 无线上网 日记 电子商务 电脑笔记本 网站 网站优化 网站开发 网站推广 网站策划 网络 虚拟现实 默认