<?xml version="1.0" encoding="utf-8"?>
<!--  RSS generated by phpcms.cn RSS Builder [2026-04-07 13:35:43]  --> 
<rss version="2.0" xmlns:im="http://purl.org/rss/1.0/item-images/" xmlns:dc="http://purl.org/dc/elements/1.1/" >
<channel>
<pubDate>Tue, 07 Apr 2026 13:35:43 +0800</pubDate>
<lastBuildDate>Tue, 07 Apr 2026 13:35:43 +0800</lastBuildDate>
<docs>https://www.pweb123.com</docs>
<link>https://www.pweb123.com</link>
<title>PHPCMS</title>
<image>
<title>PHPCMS</title>
<url><![CDATA[]]></url>
<link>https://www.pweb123.com</link>
</image>
<webMaster>https://www.pweb123.com</webMaster>
<generator>https://www.pweb123.com</generator>
<ttl>60</ttl>
<dc:creator>https://www.pweb123.com</dc:creator>
<dc:date>Tue, 07 Apr 2026 13:35:43 +0800</dc:date>
<item>
<title><![CDATA[phpcmsv9会员投稿无法上传图片的解决方法]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/1040.html]]></link>
<description><![CDATA[这是因为后台的上传图片的在前台上传没有权限的原因，必须管理员登录的后台，前台才可以上传东西。所以在前台用户投稿编辑器需要插入图片上传的话，就得去除权限，修改：找到phpcms modules attachments attachments php18行:$this-&gt;isadmin=$this-&gt;admin_username=$_SESSION[&amp; 39;ro   ]]></description>
<pubDate>2024-11-12 15:01:17</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/1040.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms自动去掉非本站内链]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/1034.html]]></link>
<description><![CDATA[编辑器文本自动去掉非本站内链，这个功能一般的cms都有，但是phpcms好像没有，可以按照如下改造一下1、找到phpcms  libs  functions  extention func php添加去除外链函数  去除外链functionclear_links($str){if(!$str)return$str;$sitelist=getcache(&amp; 39;sitelist&amp; 39;,&amp; 39;commons&amp;   ]]></description>
<pubDate>2024-08-07 18:09:27</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/1034.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms删除评论提示：评论统计不正常，请返回检查]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/1029.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2024/0701/thumb_150_150_20240701083942201.jpg border='0' /><br />以前经常在删除未审核的评论的时候会提示：评论统计不正常，请返回检查一直以为是pc_hash的问题造成地 统计错误，所以一直就没去处理过，需要切换到评论审核里边管理删除评论，今天研究了一下代码，发现代码逻辑有点问题，修改方法:找到phpcms modules comment comment_admin php（1   ]]></description>
<pubDate>2024-07-01 08:24:29</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/1029.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[PHPCMS v9城市分站插件]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/1020.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2024/0324/thumb_150_150_20240324094213731.png border='0' /><br />PHPCMS自带的有多站点功能，但是用过的朋友都知道，自带的多站点功能有很多的不方便之处，例如站点栏目没法公用，每个站点都需要创建模型、每个站点都需要单独添加内容，还有站点必须静态化。如果你内容很多这些功能当然无可厚非，但是实际情况我们网站内容不会这么多的，所以决定开   ]]></description>
<pubDate>2024-03-24 09:33:27</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/1020.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms v10一些问题的调整]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/1015.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2024/0116/thumb_150_150_20240116102040878.jpg border='0' /><br />1、后台频繁提示hash数据验证超时请重试v9的时候可能只是偶尔碰到这种问题，但是在v10下这种情况比较频繁，如果实在不爽可以去掉校验。修改方法找到文件：  cms  modules  admin  classes  admin class php找到check_hash方法（约364行）找到代码：if(preg_match(&amp; 39; ^public_ &amp; 39;,ROU   ]]></description>
<pubDate>2024-01-16 21:14:16</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/1015.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms v9添加子级栏目后，父栏目无法添加和调用内容问题]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/981.html]]></link>
<description><![CDATA[一、设置子级栏目，父栏目无法添加内容问题对于phpcms v9 中存在父栏目下有子栏目，则父栏目无法编辑内容的问题，大家一定不陌生，那么我们说一下解决方法。1 首先第一步：我们要找到 phpcm  modules  content  content php的文件。大约在488行找到$strs2=&quot;&lt;spanclass=&amp; 39;folder&amp; 3   ]]></description>
<pubDate>2023-09-21 15:05:02</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/981.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms自动生成标题图片]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/959.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2023/0624/thumb_150_150_20230624032225256.png border='0' /><br />利用文章标题生成一个纯色背景的图片，效果如图：看着是不是很整齐，舒服，实现方法：1、在phpcms libs functions global func php中添加添加函数：functionthumbTitle($id,$catid,$width=400,$height=300){global$image;$upload_url=pc_base::load_config(&amp; 39;system&amp; 39;,&amp; 39;upl   ]]></description>
<pubDate>2023-06-24 15:11:56</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/959.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms v9调用外部数据库的方法]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/958.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2023/0623/thumb_150_150_20230623061432720.png border='0' /><br />1、配置外部数据源（模块--&gt;数据源--&gt;外部数据源--&gt;添加外部数据源）2、数据源名：自己起（在后面的get标签里面用到）用户名和密码：mysql数据库的，而且都是必须填的，所以在创建数据库是必须要有密码数据库名：外部数据库名数据表前缀：可不填3、测试链接 如果成功就确定4、在模板   ]]></description>
<pubDate>2023-06-23 18:07:02</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/958.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms-snow版本h5上传修改]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/939.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2023/0417/thumb_150_150_20230417085519842.jpg border='0' /><br />phpcms-snow版本的phpcms改造h5上传的时候，改动比较多，有的想改用我的h5上传，修改方式如下：我的h5上传版本下载地址：https:  doc tengcee com other 120 html（1）下载的h5上传代码，除了phpcms  modules  attachment  attachments php不上传,其他上传（2）找到压缩包里边的phpcms  m   ]]></description>
<pubDate>2023-04-17 08:48:42</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/939.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms 9.6多编辑器字段，一键增加任意多编辑器]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/933.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2023/0327/thumb_150_150_20230327105154652.png border='0' /><br />有时候我们需要在后台需要增加任意多个编辑器，比如旅游网站需要增加旅游天数，每条旅游线路的天数不一样，这就需要我们可以自由控制编辑器数量，亦或者做人物简介，需要增加N多个生平轶事，都需要用到多编辑器效果。效果如图：（为了截图效果，我把编辑器高度调成100了，自己可以随   ]]></description>
<pubDate>2023-03-27 10:49:08</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/933.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms将标题生成随机图片代码]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/923.html]]></link>
<description><![CDATA[以内容标题文字，渲染在随机的背景图片内，生成为一张全新的图片进行展示步骤一在根目录的api文件夹内建立一个pic php文件，放入下面的代码：&lt;?phpdefined(&amp; 39;IN_PHPCMS&amp; 39;)orexit(&amp; 39;Nopermissionresources &amp; 39;);if(isset($_SERVER[&amp; 39;HTTP_REFERER&amp; 39;])){if(strpos($_S   ]]></description>
<pubDate>2022-11-22 12:28:50</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/923.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms筛选字段增加多选情况]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/898.html]]></link>
<description><![CDATA[网上搜到的教程，基本都是搜索单选字段的，所以并没有处理多选的情况，改造方式为：找到structure_filters_sql方法：原始的代码是：functionstructure_filters_sql($modelid){$sql=$fieldname=$min=$max=&amp; 39;&amp; 39;;$fieldvalue=array();$modelid=intval($modelid);$model=getcache(&amp;   ]]></description>
<pubDate>2022-08-23 19:05:06</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/898.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA["蒙奇时光"后台风格下载]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/874.html]]></link>
<description><![CDATA[慢慢的网上资源在减少，为了防止有人找不到，这里提供一下下载的地方和使用方法下载：蒙奇时光 zip注意：这是官方最原始的版本，里边有一些小问题，具体的修复教程参考：https:  www pweb123 com cms phpcms 740 html蒙奇时光安装：1、phpcms statics css下新增文件夹muntime 所有添   ]]></description>
<pubDate>2022-06-24 09:03:10</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/874.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[解决PHPCMS V9生成静态后发布内容读取不到url和时间的BUG]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/873.html]]></link>
<description><![CDATA[问题复现当内容设置为生成静态，前台或者后台发布内容后自动生成静态，show模板里使用{$url}调用url和{$updatetime}调用更新时间，会发现值是空的！需要手动点一下更新才可以，如果数据量很大非常影响效率，解决方法 phpcms model content_model class php 141行左右找到$urls[&amp; 39;   ]]></description>
<pubDate>2022-06-22 16:52:50</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/873.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[PHPCMS V9编辑器中新增上传视频按钮(去掉flash上传)]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/838.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2022/0217/thumb_150_150_20220217042437474.png border='0' /><br />由于PHPCMS v9默认的编辑器中上传的视频插入的是embed标签使用的是flash播放器，手机端无法播放，所以来改造下，让其上传视频并插入HTML5的video标签，这样电脑端的主流浏览器和手机端能都播放，当然也可以参考本文修改进而支持ckplayer、cuplayer等播放器。修改步骤（为防止与其它   ]]></description>
<pubDate>2022-02-17 16:22:31</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/838.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcmsv9实现给顶级栏目添加文章并生成静态页面]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/832.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2021/1012/thumb_150_150_20211012091153770.jpg border='0' /><br />在phpcmsv9程序中默认是不支持给顶级栏目添加文章内容的，而且，给添加过文章的栏目添加子栏目后，该栏目下原有的文章在管理内容中也看不到，同时在生成静态页面时，这个栏目下原有的文章不会被生成静态页面，只会把它子栏目中的文章生成静态页面。从上面的动态图中可以看到，国内新   ]]></description>
<pubDate>2021-10-12 21:05:58</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/832.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[给phpcms自带的ckeditor编辑器增加首行缩进]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/831.html]]></link>
<description><![CDATA[phpcms自带的ckeditor编辑器，但是我又不太喜欢新版本的灰色风格，所以一直没去升级，自带的编辑器只有一个增加缩进量的按钮，点击之后自带缩进40px像素，这明显不符合我们的需求，看了网上的修改ckeditor4 x版本的方法，改造一下自带的版本的首行缩进量功能打开 statics js ckeditor   ]]></description>
<pubDate>2021-09-25 15:28:39</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/831.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms栏目增加多图片上传功能]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/828.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2021/0716/thumb_150_150_20210716103958370.png border='0' /><br />phpcms虽然字段里边有多图上传字段，但是我们在其他地方却无法想单图上传那样，随意使用，单图调用的代码是：&lt;?phpechoform::images(&amp; 39;info[image]&amp; 39;,&amp; 39;image&amp; 39;,$image,&amp; 39;content&amp; 39;);?&gt;但是却没有多图调用的方法，添加方法如下：（1）找到phpcms libs classes form   ]]></description>
<pubDate>2021-07-16 22:26:50</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/828.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[修复网上自定义栏目名称伪静态的bug]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/824.html]]></link>
<description><![CDATA[网上的自定义栏目伪静态基本都是互相抄袭的，都存在一个问题，如果当两个栏目重复的时候，会造成伪静态错误，虽然phpcms不允许一级栏目重复，但是二级栏目一下就不能判断了。所以我们需要多校验一级栏目，当然还有极端1情况，那就是网上栏目还是有重复的，这种暂时不考虑修复代码：pr   ]]></description>
<pubDate>2021-06-08 14:20:14</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/824.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
<item>
<title><![CDATA[phpcms文章内容页如何自定义url]]></title>
<link><![CDATA[https://www.pweb123.com/cms/phpcms/823.html]]></link>
<description><![CDATA[<img src=https://www.pweb123.com/uploadfile/2021/0522/thumb_150_150_20210522094208845.png border='0' /><br />本教程是根据网上的教程做的简单调整1、添加字段内容-模型管理-选择你要修改的模型，一般是文章模型，然后是字段管理，添加字段作为主表字段，选择 是，非常重要，否则在批量生成url中会无法生成自定义字段字段名为prefix 不建议修改，因为要跟后面的代码关联起来（为什么网上的所   ]]></description>
<pubDate>2021-05-22 21:31:16</pubDate>
<guid><![CDATA[https://www.pweb123.com/cms/phpcms/823.html]]></guid>
<author>https://www.pweb123.com</author>
</item>
</channel>
</rss>
