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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

uch1.5正式版图墙发布(1.21更新)

[复制链接]
31660954 发表于 2008-12-14 16:48:48 | 显示全部楼层 |阅读模式
UCHome插件
语言编码: GBK简体 
插件名称: uch1.5正式版图墙
插件作者: xkoo.com
适用版本:
本帖最后由 31660954 于 2009-2-17 13:33 编辑

本插件自动安装会出现点问题所以本插件为手动安装
演示网站www.okmeet.cn/home/
安装说明:
1上传附件uch1.5图墙到uch根目录
然后运行qcomic_setup.php
选择安装数据库!到此就不要动其他的了
2图墙文件安装
qcomic_plugin/qcomic.php到根目录qcomic.php
qcomic_plugin/script_qcomic.js到source/script_qcomic.js
qcomic_plugin/space_qcomic.php到source/space_qcomic.php
qcomic_plugin/cp_qcomic.htm到template/default/cp_qcomic.htm
qcomic_plugin/space_qcomic_list.htm到template/default/space_qcomic_list.htm
qcomic_plugin/admincp_qcomic.php到admin/admincp_qcomic.php
qcomic_plugin/qcomic.htm到admin/tpl/qcomic.htm
3修改uch文件代码
  template/default/header.htm
查space.php?do=album换qcomic.php?do=album
查cp.php?ac=upload换qcomic.php?do=mod
  space.php
查include_once(S_ROOT."./source/space_{$do}.php");换
//--++ plugin_code qcomic begin
@include_once S_ROOT.'./data/data_qcomic.php';
if ($_SGLOBAL['qcomic']['senable']) {
        /*if (($_GET['do'] == 'album') && $_GET['uid']) {
                header('Location: '.getsiteurl().'qcomic.php?'.$_SERVER['QUERY_STRING']);
                return;
        }*/
        $qcomic_sid = $_SGLOBAL['qcomic']['sid'];
        if ($_GET['uid']) {
                $qcomic_uid = $_GET['uid'];
        } else {
                $qcomic_uid = $space['uid'];
        }
}
//--++ plugin_code qcomic end
include_once(S_ROOT."./source/space_{$do}.php");
    admin/tpl/side.htm
查<!--{if $menus[0][config]}-->换
<!--++ plugin_code qcomic begin-->
                <!--{if $ac=='qcomic'}--><li class="active"><!--{else}--><li><!--{/if}--><a href="admincp.php?ac=qcomic">组图设置</a></li>
<!--++ plugin_code qcomic end-->
<!--{if $menus[0][config]}-->
   admincp.php查'block', 'cron'换'block', 'qcomic', 'cron'
  network.php
查include_once template("network_$ac");换
//--++ plugin_code qcomic begin
@include_once S_ROOT.'./data/data_qcomic.php';
if ($_SGLOBAL['qcomic']['senable']) {
        $qcomic_sid = $_SGLOBAL['qcomic']['sid'];
}
//--++ plugin_code qcomic end
include_once template("network_$ac");

  ]]>
  template/default/space_index.htm
查<!--{if $albumlist}-->注意有两个一个是侧边的一个是主页中间事件处的
换第2个
<!--++ plugin_code qcomic begin-->
<!--{if $_SGLOBAL['qcomic']['senable']}-->
                <div class="box">
                        <h3>图墙相册</h3>
                        <div class="post_list line_list l_text a_list">
                        <div id="div_imgwall" class="container"></div>
<script src="source/script_qcomic.js" type="text/javascript"></script>
<script type="text/javascript">
function QComicWallShow()
{
}
QComicWallShow.prototype.showWall = function(params)
{
        flashTagIns.setNew("http://p.xkoo.com/flash/coop.swf",params['width'],params['height']);
        flashTagIns.setId('qcomic_imgwall');
        flashTagIns.setBgcolor("121212");
        flashTagIns.setVersion("7,0,19,0");
        flashTagIns.wmode = null;
        flashTagIns.swLiveConnect = "true";
        flashTagIns.allowFullScreen = "true";
        flashTagIns.allowScriptAccess = "always";
        flashTagIns.flashVars = "flashmode=widget&coop=uchomesite&coop_id=$qcomic_sid&eq=1&owner_id=$qcomic_uid";

        var div_imgwall = document.getElementById(params['id']);
        div_imgwall.innerHTML = flashTagIns.toString();
}
var qcomic_wall_show = new QComicWallShow();
qcomic_wall_show.showWall({'id':'div_imgwall','width':'100%','height':'400'});
</script>
                        </div>
                </div>
<!--{/if}-->
<!--++ plugin_code qcomic end-->
<!--{if $albumlist}-->
   template/default/space_index.htm
查space.php?uid=$space[uid]&do=album&view=me换qcomic.php?uid=$space[uid]&do=album&view=me
注意有好几个都换!
  template/default/network_album.htm  
把原来uch相册的代码删除换成
<!--++ plugin_code qcomic begin-->
<!--{if $_SGLOBAL['qcomic']['senable']}-->
                        <h3><a href="http://www.xkoo.com/tlook/{$qcomic_sid}.html">图墙相册</a></h3>
                        <div class="post_list line_list l_text a_list">
                        <div id="div_imgwall" class="container"></div>
<script src="source/script_qcomic.js" type="text/javascript"></script>
<script type="text/javascript">
function QComicWallShow()
{
}
QComicWallShow.prototype.showWall = function(params)
{
        flashTagIns.setNew("http://p.xkoo.com/flash/coop.swf",params['width'],params['height']);
        flashTagIns.setId('qcomic_imgwall');
        flashTagIns.setBgcolor("121212");
        flashTagIns.setVersion("7,0,19,0");
        flashTagIns.wmode = null;
        flashTagIns.swLiveConnect = "true";
        flashTagIns.allowFullScreen = "true";
        flashTagIns.allowScriptAccess = "always";
        flashTagIns.flashVars = "flashmode=widget&look=1&coop=uchomesite&coop_id={$qcomic_sid}&owner_id=0&eq=1";

        var div_imgwall = document.getElementById(params['id']);
        div_imgwall.innerHTML = flashTagIns.toString();
}
var qcomic_wall_show = new QComicWallShow();
qcomic_wall_show.showWall({'id':'div_imgwall','width':'100%','height':'400'});
</script>
                        </div>
                </div>

                <div class="box">
<!--{/if}-->
<!--++ plugin_code qcomic end-->


最后说明在个人主页处有uch原来的相册事件还有上传提醒最好删除
还有如果不想会员用原来uch的相册设置好权限不让传图片和附件然后把space_qcomic_list.htm和cp_qcomic.htm里的老相册去掉
附件里的new文件是我改好的在安装完图墙文件后不想修改可以直接覆盖

本帖子中包含更多资源

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

x
 楼主| 31660954 发表于 2008-12-14 16:49:41 | 显示全部楼层
回复

使用道具 举报

大力色狼 发表于 2008-12-14 16:54:21 | 显示全部楼层
虽然用不着 但佩服这种有探索与共享精神的LZ
回复

使用道具 举报

kisslbz 发表于 2008-12-14 16:56:25 | 显示全部楼层
((mk13))还没升级 支持下
回复

使用道具 举报

 楼主| 31660954 发表于 2008-12-14 17:56:57 | 显示全部楼层
谢谢啦
回复

使用道具 举报

wlfan 发表于 2008-12-15 00:39:31 | 显示全部楼层
回复

使用道具 举报

057499 发表于 2008-12-15 09:46:12 | 显示全部楼层
回复

使用道具 举报

abcnic1 发表于 2008-12-15 10:15:27 | 显示全部楼层
支持了 :)
回复

使用道具 举报

 楼主| 31660954 发表于 2008-12-15 10:30:47 | 显示全部楼层
好东西就要大家分享嘛嘿嘿
回复

使用道具 举报

1youcheng 发表于 2008-12-15 17:37:05 | 显示全部楼层
个人主页处有uch原来的相册事件还有上传提醒最好删除


怎么删?
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-9-29 05:25 , Processed in 0.178873 second(s), 19 queries , Gzip On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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