当前位置:网站首页>织梦发布文章提示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();
} 边栏推荐
- 任务调度线程池-应用定时任务
- Pytorch框架学习记录9——非线性激活
- Little data on how to learn?Jida latest small learning data review, 26 PDF page covers the 269 - page document small data learning theory, method and application are expounded
- 使用微信公众号给指定微信用户发送信息
- MySQL语法基础
- "No title"
- Buttons with good user experience should not have hover state on mobile phones
- 【Kaggle】Classify Leaves
- Remove 360's detection and modification of the default browser
- 【无标题】
猜你喜欢
随机推荐
【无标题】
Pytorch框架学习记录9——非线性激活
解除360对默认浏览器的检测与修改
"No title"
【无标题】
useful website
Redis does web page UV statistics
Which websites are commonly used for patent searches?
通俗解释:什么是临床预测模型
面试突击70:什么是粘包和半包?怎么解决?
Digital twin Beijing the imperial palace, yuan universe is the process of tourism
用户身份标识与账号体系实践
iptables的使用简单测试
Godaddy domain name resolution is slow and how to use DNSPod resolution to solve it
【Kaggle】Classify Leaves
进行交互或动画时如何选择Visibility, Display, and Opacity
Based on FPGA in any number of bytes (single-byte or multibyte) serial port (UART) to send (including source engineering)
【无标题】
【Social Media Marketing】How to know if your WhatsApp is blocked?
数字孪生北京故宫,元宇宙推进旅游业进程









