当前位置:网站首页>织梦发布文章提示body has not allow words错误
织梦发布文章提示body has not allow words错误
2022-08-01 20:46:00 【网站建设影子】
织梦模板有时发表文章时候,会显示:“body has not allow words!”,想发表的文章,无法上传、发表。
查找原因。此句“body has not allow words!”英文的意思,大概是“文章具有示充许的字符!”
我在后台“系统”—“系统基本参数”—设置版块中的“互动设置”中敏感字词开设得太多,让会员用户中招了。
问题是出在“系统基本参数”上。而当会员遇到“body has not allow words!”提示,不知所谓时,你可以通过以下修定,将英文提示,变为中文提示,这样会员就不会心慌意乱啦
打开/inclide/fileter.inc.php文件
找到大约19行左右改成下面代码
Copy to ClipboardLiehuo.Net Codes引用的内容:[www.91084.com]
if($cfg_notallowstr!='' && eregi($cfg_notallowstr,$svar))
{
preg_match_all("@{$cfg_notallowstr}@",$svar,$me);
$me = array_unique($me[0]);
$notallowkeys = '';
foreach($me as $v){
$notallowkeys .= $v . ', ';
}
$msg = '您发布的内容中带有不被允许的文字 :' . $notallowkeys;
ShowMsg($msg,'-1');
exit();
} 边栏推荐
- 基于FPGA的任意字节数(单字节、多字节)的串口(UART)发送(含源码工程)
- To promote energy conservation institute 】 【 the opinions of the agricultural water price reform
- 【Untitled】
- [Energy Conservation Institute] Comparative analysis of smart small busbar and column head cabinet solutions in data room
- Zheng Xiangling, Chairman of Tide Pharmaceuticals, won the "2022 Outstanding Influential Entrepreneur Award" Tide Pharmaceuticals won the "Corporate Social Responsibility Model Award"
- 给定中序遍历和另外一种遍历方法确定一棵二叉树
- 【节能学院】推进农业水价综合改革的意见解读
- 【luogu P1912】诗人小G(二分栈)(决策单调性优化DP)
- LinkedList源码分享
- Go Atomic
猜你喜欢
随机推荐
作为程序员你应该会的软件
STAHL触摸屏维修一体机显示屏ET-316-TX-TFT常见故障
StringTable详解 串池 性能调优 字符串拼接
Nacos 配置中心
Protocol Buffer usage
OSG Notes: Set DO_NOT_COMPUTE_NEAR_FAR to manually calculate far and near planes
漏刻有时文档系统之XE培训系统二次开发配置手册
卷积神经网络(CNN)mnist数字识别-Tensorflow
[Energy Conservation Institute] Comparative analysis of smart small busbar and column head cabinet solutions in data room
外骨骼机器人(七):标准步态数据库
【节能学院】推进农业水价综合改革的意见解读
瀚高数据导入
98.嵌入式控制器EC实战 EC开发板开发完成
Simple test of the use of iptables
tiup mirror merge
latex paper artifact -- server deployment overleaf
【Dart】dart之mixin探究
Software you should know as a programmer
9月备考PMP,应该从哪里备考?
Interpretation of the meaning of each dimension of two-dimensional, three-dimensional, and four-dimensional matrices








