![](https://img-blog.csdnimg.cn/20201014180756780.png?x-oss-process=image/resize,m_fixed,h_64,w_64)
二次开发
iteye_6810
这个作者很懒,什么都没留下…
展开
-
discuz 门户diy实现翻页功能的修改记录
第一步:找到文件:\source\class\block\portal\block_article.php找到这个方法:function getdata($style, $parameter)将其修改为:function getdata($style, $parameter, $bid)在本文件再找到这样一段话:$query = DB::query("SELECT at.*, ac.viewnum...2015-08-13 11:32:27 · 547 阅读 · 2 评论 -
discuz x3.1完美解决推送文章标题字数限制
这个修改的地方比较多。一一来找 首先找到文件:source/class/block/forum/block_forum.php 与文件: source/class/block/forum/block_thread.php 找到代码: 'titlelength' => array( 'title' => 'forumlist_ti...2014-03-08 10:43:15 · 769 阅读 · 0 评论 -
discuz修改论坛的rss为全文输出的方法
找到文件: \source\module\forum\forum_rss.php找到位置: if($attachfile) { if($attachremote) { $filename = $_G['setting']['ftp']['attachurl'].'forum/'.$...2014-03-18 17:55:47 · 463 阅读 · 0 评论 -
让wordpress首页不显示指定分类文章的方法
第一种办法:也是最先采用的办法,是在index.php中查找 if (have_posts()) 或者 while (have_posts()) 在下面添加: <!-- If the post is in the category we want to exclude, we simply pass to the next post. --> <?p...原创 2014-05-02 13:22:21 · 256 阅读 · 0 评论 -
IIS,apche,nginx,301域名重定向设置
1.iis 301 跳转 新建一个网站比如php2 做301,要实现php2.com到www.php2.com的跳转,那么,php2 301这个网站中主机头设置为:php2.com,主目录重定向url填写http://www.php2.com。www.php2.com网站中主机头设置为www.php2.com,保存OK. 2.Apache 301跳转 在windows中不能...原创 2014-09-25 22:14:17 · 164 阅读 · 0 评论