Discuz!官方免费开源建站系统

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[修改] discuz x1.5,x2.0,x2.5完美瀑布流图片墙免费开源下载

[复制链接]
kuaileky 发表于 2012-7-20 10:23:29 | 显示全部楼层
楼主看看这是什么情况
http://www.shibostars.com/show.php
回复

使用道具 举报

lyzhanghao 发表于 2012-7-21 16:38:03 | 显示全部楼层
kuaileky 发表于 2012-7-20 10:23
楼主看看这是什么情况
http://www.shibostars.com/show.php

同样的情况!X2的!
回复

使用道具 举报

atsky_2008 发表于 2012-7-22 16:56:55 | 显示全部楼层
谢谢分享,学习中
回复

使用道具 举报

 楼主| zijian8501 发表于 2012-7-24 15:28:09 | 显示全部楼层
kuaileky 发表于 2012-7-20 10:23
楼主看看这是什么情况
http://www.shibostars.com/show.php

在show.php文件中,将相关的代码屏蔽掉就OK!forum_collectionrelated 这个东西没多少用!我的论坛是x1.5的,而这个插件原生是别人针对x2.0和x2.5的,后两者,我没有测!但是x1.5版本的已经被我修改好了!如果你会改代码,就比较容易!但是,如果你不会php代码,那就不好办了!
回复

使用道具 举报

kuaileky 发表于 2012-7-24 15:53:53 | 显示全部楼层
zijian8501 发表于 2012-7-24 15:28
在show.php文件中,将相关的代码屏蔽掉就OK!forum_collectionrelated 这个东西没多少用!我的论坛是x1.5 ...

问题是我不会,那怎么修改
回复

使用道具 举报

室内设计联盟 发表于 2012-7-27 17:07:55 | 显示全部楼层
我也遇到了同样的问题  请求楼主指明方向!

本帖子中包含更多资源

您需要 登录 才可以下载或查看,没有账号?立即注册

x
回复

使用道具 举报

京北新城门户网 发表于 2012-7-31 19:41:17 | 显示全部楼层
我已经解决了! 现在把修改方法分析给各位 看我的 去滑雪网 http://www.quhuaxue.com/show.php

我的版本 GBK X2.0  

第一步:在show.php中找到如下代码,将红色标示部分全部删去

$rs=DB::query("SELECT t.*,p.message,mf.customstatus,mf.medals,c.collection
            FROM  ".DB::table("forum_thread")." t
            JOIN ".DB::table("forum_post")." p on t.tid=p.tid and p.first=1
            LEFT JOIN ".DB::table('common_member_field_forum')." mf on mf.uid=t.authorid
          left join ".DB::table("forum_collectionrelated")." c on t.tid=c.tid
            
            where t.fid in ($dyfids) and $whereadd and t.displayorder>=0
            ORDER BY  t.displayorder desc,  $orderby
            LIMIT $begin , $pagenum");
                while ($rw=DB::fetch($rs)){
                        $rw['medals'] = explode("\t",$rw['medals']);
                        $rw['lastpost'] = date('Y-m-d H:i',$rw['lastpost']);
                        $rw['lastposterenc'] = urlencode($rw['lastposter']);
                        $rw['dateline'] = date('Y-m-d H:i',$rw['dateline']);
                        $rw['authorface'] = avatar($rw['authorid'],'small',1);
                        $rw['message'] = messagecutstr($rw['message'],$threadlength);

                        $rw['releatcollectionnum'] = $rw['collection']?substr_count($rw['collection'],"\t")+1:0;


第二步:打开template中的index_index.htm  把一下部分代码删掉。

<!--{if !$_G['forum']['disablecollect'] && helper_access::check_module('collection')}-->
                    <a href="forum.php?mod=collection&action=edit&op=addthread&tid=$thread[tid]" id="k_collect" style="background:none; padding-left:0px;">淘帖<sup><span id="collectionnumber">{$thread[releatcollectionnum]}</span></sup></a>
                <!--{/if}-->


大功告成!X2.0也能用了!
回复

使用道具 举报

foho 发表于 2012-7-31 19:57:56 | 显示全部楼层
下载了  用上了 很不错


演示地址  www.mxrba.com  喵星人吧
回复

使用道具 举报

饭桶公主 发表于 2012-8-1 14:54:08 | 显示全部楼层
不知道为什么不能用

Error messages:  
&#8226;[Type] 查询语句错误
&#8226;[1146] Table 'wencom_movie.forum_collectionrelated' doesn't exist
&#8226;[Query] SELECT t.*,p.message,mf.customstatus,mf.medals,c.collection FROM forum_thread t JOIN forum_post p on t.tid=p.tid and p.first=1 LEFT JOIN common_member_field_forum mf on mf.uid=t.authorid left join forum_collectionrelated c on t.tid=c.tid where t.fid in (2) and 1 and t.displayorder>=0 ORDER BY t.displayorder desc, t.dateline desc LIMIT 0 , 10

  
Program messages:  
&#8226;[Line: 0078]show.php(DB::query)
回复

使用道具 举报

饭桶公主 发表于 2012-8-1 15:03:24 | 显示全部楼层
京北新城门户网 发表于 2012-7-31 19:41
我已经解决了! 现在把修改方法分析给各位 看我的 去滑雪网 http://www.quhuaxue.com/show.php

我的 ...

楼主 佩服你 不得不佩服啊
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

手机版|小黑屋|Discuz! 官方站 ( 皖ICP备16010102号 )star

GMT+8, 2024-6-18 13:44 , Processed in 0.103898 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

快速回复 返回顶部 返回列表