当前位置:网站首页>织梦发布文章提示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();
}
边栏推荐
- 【Kaggle】House Prices
- Interview assault 70: what is the glue bag and a bag?How to solve?
- Different operating with different locks, rounding
- 大整数相加,相减,相乘,大整数与普通整数的相乘,相除
- 【Kaggle】Classify Leaves
- Buttons with good user experience should not have hover state on mobile phones
- 虚拟机的IP地址自动变为127.0.0.1
- 小数据如何学习?吉大最新《小数据学习》综述,26页pdf涵盖269页文献阐述小数据学习理论、方法与应用
- Based on FPGA in any number of bytes (single-byte or multibyte) serial port (UART) to send (including source engineering)
- 面试突击70:什么是粘包和半包?怎么解决?
猜你喜欢
Wildcard SSL/TLS certificate
[Energy Conservation Institute] Ankerui Food and Beverage Fume Monitoring Cloud Platform Helps Fight Air Pollution
数据库单字段存储多个标签(位移操作)
WeChat applet cloud development | personal blog applet
【节能学院】推进农业水价综合改革的意见解读
STAHL touch screen repair all-in-one display screen ET-316-TX-TFT common faults
【Social Media Marketing】How to know if your WhatsApp is blocked?
New graduate students, great experience in reading English literature, worthy of your collection
【社媒营销】如何知道自己的WhatsApp是否被屏蔽了?
Qt设置应用程序开机自启 解决设置失败原因
随机推荐
宝塔搭建PESCMS-Ticket开源客服工单系统源码实测
excel高级绘图技巧100讲(二十二)-如何对不规则数据进行分列
【Kaggle】Classify Leaves
Protocol Buffer usage
任务调度线程池-应用定时任务
tiup mirror init
面试官:大量请求 Redis 不存在的数据,从而打倒数据库,有什么方案?
【多任务学习】Modeling Task Relationships in Multi-task Learning with Multi-gate Mixture-of-Experts KDD18
KDD2022 | Self-Supervised Hypergraph Transformer Recommendation System
小数据如何学习?吉大最新《小数据学习》综述,26页pdf涵盖269页文献阐述小数据学习理论、方法与应用
Wildcard SSL/TLS certificate
"Torch" tensor multiplication: matmul, einsum
【Untitled】
iptables的使用简单测试
"No title"
【无标题】
useful website
Failed to re-init queues : Illegal queue capacity setting (abs-capacity=0.6) > (abs-maximum-capacity
OSG笔记:设置DO_NOT_COMPUTE_NEAR_FAR,手动计算远近平面
LTE时域、频域资源