<?xml version="1.0" encoding="utf-8"?>
<rss version="2.0">
  <channel>
    <title>云美公社 - 帝国cms论坛</title>
    <link>https://ym.gs/f-124-1</link>
    <description>Latest 20 threads of 帝国cms论坛</description>
    <copyright>Copyright(C) 云美公社</copyright>
    <generator>Discuz! Board by Discuz! Team</generator>
    <lastBuildDate>Wed, 03 Jun 2026 16:40:45 +0000</lastBuildDate>
    <ttl>60</ttl>
    <image>
      <url>https://ym.gs/static/image/common/logo_88_31.gif</url>
      <title>云美公社</title>
      <link>https://ym.gs/</link>
    </image>
    <item>
      <title>帝国cms列表页模板自动将标题图片生成缩放图并调用出来</title>
      <link>https://ym.gs/t-50487-1-1.html</link>
      <description><![CDATA[我们在使用帝国cms过程中，添加的标题图片大小不一直，这样在列表页显示的图片不统一，很难看，尤其是在手机模板里面，这时我们就用到帝国cms生成缩图函数，我们只需要把以下代码加到列表模板里面的列表内容模板(list.var) (*)
使用程序代码这个一定要打钩，代码如下： ...]]></description>
      <category>帝国cms论坛</category>
      <author>蔡志德</author>
      <pubDate>Tue, 28 Jan 2020 09:43:25 +0000</pubDate>
    </item>
    <item>
      <title>帝国cms7.5整合论坛程序discuzX3.2同时登陆退出的实现方法</title>
      <link>https://ym.gs/t-50485-1-1.html</link>
      <description><![CDATA[1、首先参照下载帝国CMS7.5安装在网站根目录，同时安装完毕，另外在下载discuzX3.2到网站目录club文件夹。并安装完毕
2、按照帝国论坛教程http://bbs.phome.net/showthread-35-78648-0.html
3、在修改帝国CMS目录下的e/config.inc.php文件配置：（UTF-8版要用dreamweave ...]]></description>
      <category>帝国cms论坛</category>
      <author>芳悟</author>
      <pubDate>Tue, 28 Jan 2020 09:10:20 +0000</pubDate>
    </item>
    <item>
      <title>帝国cms wap模板中调用栏目分类的实现代码</title>
      <link>https://ym.gs/t-50483-1-1.html</link>
      <description><![CDATA[我们在帝国wap模板中调用栏目导航的方法,代码如下：]]></description>
      <category>帝国cms论坛</category>
      <author>张御</author>
      <pubDate>Tue, 28 Jan 2020 09:06:17 +0000</pubDate>
    </item>
    <item>
      <title>帝国cms后台生成更新后，前台页面显示空白的原因分析</title>
      <link>https://ym.gs/t-50481-1-1.html</link>
      <description><![CDATA[帝国cms后台生成更新内容页后，前台页面显示空白的原因有以下几种：
1.查看下这个栏目设置的问题 看看模板选项里面 选择内容页模板了吗
2.查看下目录是否有写入权限
3.查看下自己的网站空间是否满了
基本上就是这种问题了
不过如果是网站使用了cdn，刚好生成的瞬间内容 ...]]></description>
      <category>帝国cms论坛</category>
      <author>硕利</author>
      <pubDate>Tue, 28 Jan 2020 07:54:23 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS点击量onclick的数值过万时换成万为单位的方法</title>
      <link>https://ym.gs/t-50479-1-1.html</link>
      <description><![CDATA[比如：点击量的数值过万时怎样变成 如： 10009变成1.09万
找到显示点击量的地方换成如下代码，下面是内容模板使用的代码：

&amp;lt;?=$navinfor[onclick]&amp;gt;=10000?($navinfor[onclick]/10000).&amp;quot;万&amp;quot;navinfor[onclick]?&amp;gt;

其实后期用js判断然后强制转换可以的。 ...]]></description>
      <category>帝国cms论坛</category>
      <author>二湖水</author>
      <pubDate>Tue, 28 Jan 2020 07:50:41 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS手机站限制网页只能在微信浏览器打开的方法</title>
      <link>https://ym.gs/t-50478-1-1.html</link>
      <description><![CDATA[有时候我们需要帝国CMS做的网站只能在手机端微信浏览器打开，那么就需要以下步骤了，包括了一个判断方法（前台JS静态判断客户端）！
代码如下：
把以下js代码加到模板里头部]]></description>
      <category>帝国cms论坛</category>
      <author>爱迷路的人</author>
      <pubDate>Tue, 28 Jan 2020 07:48:30 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS在JS登陆状态模板中调用会员收到的短消息数</title>
      <link>https://ym.gs/t-50476-1-1.html</link>
      <description><![CDATA[1、在ememberloginloginjs.php中查找&amp;ldquo; $mhavelogin=1; &amp;rdquo;在其下面加上$user=islogin();
2、在&amp;ldquo;$mhavelogin=1;&amp;rdquo;下的 &amp;ldquo;//数据&amp;rdquo;下加上

$msgcount=$empire-&amp;gt;gettotal(&amp;quot;select count(*) as total from phome_enewsqmsg where to_usernam ...]]></description>
      <category>帝国cms论坛</category>
      <author>稳中求升</author>
      <pubDate>Tue, 28 Jan 2020 07:43:27 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS使用灵动标签调用tags名称和链接的代码</title>
      <link>https://ym.gs/t-50474-1-1.html</link>
      <description><![CDATA[帝国CMS在调用tags标签时可以使用[showtags]模板标签进行调用，但是其格式和调用数据比较固定，有时候不能满足要求。这时候可以使用比较灵活的loop灵动标签调用更方便。
loop标签调用代码如下：

[e:loop={&amp;quot;select * from [!db.pre!]enewstags order by num desc limit  ...]]></description>
      <category>帝国cms论坛</category>
      <author>远方风笛</author>
      <pubDate>Tue, 28 Jan 2020 07:38:17 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS首页通过loop标签调用TAGS的实现代码</title>
      <link>https://ym.gs/t-50472-1-1.html</link>
      <description><![CDATA[帝国CMS首页无法调用TAGS，但是本人整理了一段可以使用的代码分享给大家。]]></description>
      <category>帝国cms论坛</category>
      <author>有你最好</author>
      <pubDate>Tue, 28 Jan 2020 06:54:20 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS7.5使用TAGSID实现伪静态调用方法</title>
      <link>https://ym.gs/t-50470-1-1.html</link>
      <description><![CDATA[看到官网介绍了，帝国CMS7.5可以使用TAGS ID做伪静态，但是找了好多办法用了都不好用，要么是太复杂，要么改了没有反应，今天试了一天时间，终于找到简单的解决办法了
后台设置（就是默认的设置，点一下默认就可以）

首页或者其它页面调用

&amp;nbsp;[showtags]&amp;rdquo;,20 ...]]></description>
      <category>帝国cms论坛</category>
      <author>指南者指南</author>
      <pubDate>Tue, 28 Jan 2020 06:49:13 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS灵动标签调用文章第一张图片作为缩略图的实现代码</title>
      <link>https://ym.gs/t-50467-1-1.html</link>
      <description><![CDATA[今天给大家整理一下帝国CMS 灵动标签调用特俗效果是的一些实例代码，希望能给大家获得帮助。
教程开始：

灵动标签实例代码：]]></description>
      <category>帝国cms论坛</category>
      <author>你的背包</author>
      <pubDate>Tue, 28 Jan 2020 06:43:28 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS的灵动标签同时调用头条(1级、2级)、推荐(1级、2级)多种方法</title>
      <link>https://ym.gs/t-50465-1-1.html</link>
      <description><![CDATA[方法1、同时调用头条（1级、2级）、推荐（1级、2级）

[e:loop={0,10,3,0,\'isgood=1 or firsttitle=1 or isgood=2 or firsttitle=2\'}]
&amp;lt;a href=&amp;quot;&amp;lt;?=$bqsr[\'titleurl\']?&amp;gt;&amp;quot; target=&amp;quot;_blank&amp;quot;&amp;gt;&amp;lt;?=$bqr[\'title\']?&amp;gt;&amp;lt;/a&amp;gt; &amp;lt;br&amp;gt;
[/e:loop]

也可以这样写，]]></description>
      <category>帝国cms论坛</category>
      <author>爱枫林</author>
      <pubDate>Tue, 28 Jan 2020 06:38:11 +0000</pubDate>
    </item>
    <item>
      <title>帝国cms之通过ID取得栏目地址的函数代码</title>
      <link>https://ym.gs/t-50463-1-1.html</link>
      <description><![CDATA[语法：sys_ReturnBqClassname($r,9)
说明：$r为含栏目ID的数组，变量名可任意命名。
使用范例：取得栏目ID=2的栏目地址。]]></description>
      <category>帝国cms论坛</category>
      <author>悬壶医者</author>
      <pubDate>Tue, 28 Jan 2020 06:34:07 +0000</pubDate>
    </item>
    <item>
      <title>阿里云主机安装帝国cms时提示php.ini配置有问题的解决方法</title>
      <link>https://ym.gs/t-50460-1-1.html</link>
      <description><![CDATA[有些客户使用阿里云虚拟主机安装帝国cms出行错误提示，您的PHP配置文件php.ini配置有问题，
请按下面操作即可解决： 
1、修改php.ini，将：short_open_tag 设为 On
2、修改后重启apache/iis方能生效。

我们去阿里云主机控制面板 找到修改php.ini参数设置;

发现没有并 ...]]></description>
      <category>帝国cms论坛</category>
      <author>公平公正公开</author>
      <pubDate>Tue, 28 Jan 2020 05:32:39 +0000</pubDate>
    </item>
    <item>
      <title>帝国cms在微信公众号里面获取不到下载认证码的解决方法</title>
      <link>https://ym.gs/t-50458-1-1.html</link>
      <description><![CDATA[现在很多网站为了获取用户都开始这样使用扫码关注微信公众号才能获取下载码

比如我们下载这个模板，
微信里回复了关键字，不回复验证码的原因，是因为我们网站前段时间把php版本升级了7.3
检查了下 微信接口代码

因为php7.0版本很多都设置了register_globals禁止,不能 ...]]></description>
      <category>帝国cms论坛</category>
      <author>谢康</author>
      <pubDate>Tue, 28 Jan 2020 05:14:46 +0000</pubDate>
    </item>
    <item>
      <title>帝国cms使用Linux系统数据盘扩容后宝塔控制面板数据盘大小不变的解决方法</title>
      <link>https://ym.gs/t-50456-1-1.html</link>
      <description><![CDATA[最近一个帝国cms用户网站服务器，发现磁盘空间不够用了，数据盘50GB的空间只剩下5%，于是给服务器数据盘扩容200G。详细教程如下：
在操作硬盘扩容前，为了安全起见，请通过磁盘快照功能备份服务器系统盘与数据盘;
然后在确保数据安全的情况下操作关闭服务器，购买磁盘空 ...]]></description>
      <category>帝国cms论坛</category>
      <author>清晨无雨</author>
      <pubDate>Tue, 28 Jan 2020 05:04:47 +0000</pubDate>
    </item>
    <item>
      <title>帝国cms后台系统设置网站地址改了信息地址域名不变的解决方法</title>
      <link>https://ym.gs/t-50454-1-1.html</link>
      <description><![CDATA[我们是不是遇到过在帝国cms后台系统设置-网站地址改了域名，然后也全站更新了，怎么打开信息的地址还是原来的域名呢，
下面就是解决方法如同所示

需要在后台-系统-数据更新-更新信息也地址，这里全部点击下了之后，然后在数据更新-全部更新下就可以了 ...]]></description>
      <category>帝国cms论坛</category>
      <author>阡陌之上</author>
      <pubDate>Tue, 28 Jan 2020 04:58:13 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS电脑端自动跳转到手机端动态页和静态页的实现代码</title>
      <link>https://ym.gs/t-50452-1-1.html</link>
      <description><![CDATA[Empire CMS 7.2版本引入了全面的多接入终端功能，使网站更方便地制作多个移动接入终端。版本7.5中的多访问者升级：支持主端的后台刷新以生成每个访问端的静态页面，并且多访问端在静态模式下使用更方便。
页面头部
JS代码在body前面加上以下HTML源代码 ...]]></description>
      <category>帝国cms论坛</category>
      <author>不爱进厨房的伙夫</author>
      <pubDate>Tue, 28 Jan 2020 04:52:18 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS广告标签phomead生成的广告代码修改方法</title>
      <link>https://ym.gs/t-50450-1-1.html</link>
      <description><![CDATA[帝国cms生成广告标签如下:
[phomead]1[/phomead]
1就是广告的id
那么生成广告标签的代码是在哪里修改呢
是在 /e/class/t_functions.php 文件里面的 function sys_GetAd 函数里修改。
不过在实际应用中
最是用加载js代码，方便修改。 ...]]></description>
      <category>帝国cms论坛</category>
      <author>默兮然雪</author>
      <pubDate>Tue, 28 Jan 2020 04:42:53 +0000</pubDate>
    </item>
    <item>
      <title>帝国CMS判断内容正文newstext字段是否有图片的方法</title>
      <link>https://ym.gs/t-50448-1-1.html</link>
      <description><![CDATA[帝国CMS判断内容正文newstext字段是否有图片，没有图片则显示文中广告，有图片则不显示，代码如下]]></description>
      <category>帝国cms论坛</category>
      <author>逆風更適合飛翔</author>
      <pubDate>Tue, 28 Jan 2020 04:38:46 +0000</pubDate>
    </item>
  </channel>
</rss>