UCHome 2.0最新 网盘插件 更新出炉 完整版

发布日期  发布: 2009-10-25 | 发布人  发布者: life | 来源  来源: 江西广告网


二.安装过程: 1、升级数据库 -- 表的结构 `uchome_udisk` CREATE TABLE `uchome_udisk` ( `albumid` mediumint(8) unsigned NOT NULL AUTO_INCREMENT, `albumname` varchar(50) NOT NULL DEFAULT '', `uid` mediumint(8) unsigned NOT NULL DEFAULT '0', `username` varchar(15) NOT NULL DEFAULT '', `dateline` int(10) unsigned NOT NULL DEFAULT '0', `updatetime` int(10) unsigned NOT NULL DEFAULT '0', `picnum` smallint(6) unsigned NOT NULL DEFAULT '0', `pic` varchar(60) NOT NULL DEFAULT '', `picflag` tinyint(1) NOT NULL DEFAULT '0', `friend` tinyint(1) NOT NULL DEFAULT '0', `password` varchar(10) NOT NULL DEFAULT '', `target_ids` text NOT NULL, PRIMARY KEY (`albumid`), KEY `uid` (`uid`,`updatetime`), KEY `friend` (`friend`,`updatetime`), KEY `updatetime` (`updatetime`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; -- -------------------------------------------------------- -- 表的结构 `uchome_files` CREATE TABLE `uchome_files` ( `picid` mediumint(8) NOT NULL AUTO_INCREMENT, `albumid` mediumint(8) unsigned NOT NULL DEFAULT '0', `uid` mediumint(8) unsigned NOT NULL DEFAULT '0', `dateline` int(10) unsigned NOT NULL DEFAULT '0', `postip` char(20) NOT NULL DEFAULT '', `filename` char(100) NOT NULL DEFAULT '', `title` char(150) NOT NULL DEFAULT '', `type` char(20) NOT NULL DEFAULT '', `size` int(10) unsigned NOT NULL DEFAULT '0', `unit` varchar(20) NOT NULL, `fileext` varchar(20) NOT NULL, `filepath` char(60) NOT NULL DEFAULT '', `thumb` tinyint(1) NOT NULL DEFAULT '0', `remote` tinyint(1) NOT NULL DEFAULT '0', PRIMARY KEY (`picid`), KEY `albumid` (`albumid`,`dateline`) ) ENGINE=MyISAM DEFAULT CHARSET=gbk; 2、上传附件内文件到UCH目录: 注:附件内所有文件为新文件,正常情况下应该没有覆盖提示; 3、修改以下几个UCH文件: (1)template/default/header.htm 在: 分享 后添加: 网盘上传 (2)template/default/network_header.htm 在合适位置添加: 网盘 (3)language/lang_cp.php 在结尾添加: , 'create_a_new_udisk' => '创建了新目录', 'only_allows_upload_udiskfile_types' => '只允许上传gif, jpg, png, rar, txt, doc, xls, ppt, htm, html, mht, zip, bmp的文件', 'mobile_picture_temporary_failure_udisk' => '无法转移临时文件到服务器指定目录', 'upload_a_new_file' => '上传了一个新文件{udisk}' (4)cp.php 原代码: $acs = array('space', 'doing', 'upload', 'comment', 'blog', 'album', 'relatekw', 'common', 'class', 'swfupload', 'thread', 'mtag', 'poke', 'friend', 'avatar', 'profile', 'theme', 'import', 'feed', 'privacy', 'pm', 'share', 'advance', 'invite','sendmail', 'userapp', 'task', 'credit', 'password', 'domain'); 修改为: $acs = array('space', 'doing', 'upload', 'comment', 'blog', 'album', 'relatekw', 'common', 'class', 'swfupload', 'thread', 'mtag', 'poke', 'friend', 'avatar', 'profile', 'theme', 'import', 'feed', 'privacy', 'pm', 'share', 'advance', 'invite','sendmail', 'userapp', 'task', 'credit', 'password', 'domain', 'udisk', 'uploadudisk', 'udiskrecode'); (5)network.php 原代码: $acs = array('space', 'doing', 'blog', 'album', 'mtag', 'thread', 'share'); 修改为: $acs = array('space', 'doing', 'blog', 'album', 'mtag', 'thread', 'share', 'udisk'); (6)space.php 原代码: $dos = array('feed', 'doing', 'mood', 'blog', 'album', 'thread', 'mtag', 'friend', 'wall', 'tag', 'notice', 'share', 'home', 'pm'); 修改为: $dos = array('feed', 'doing', 'mood', 'blog', 'album', 'thread', 'mtag', 'friend', 'wall', 'tag', 'notice', 'share', 'home', 'pm', 'udisk');

UCHOME个人网盘插件.rar
(2009-10-25 00:45:11, Size: 61.6 KB, Downloads: 177)

本站文章部分内容来自互联网,供读者交流和学习,如有涉及作者版权问题请及时与我们联系,以便更正或删除。感谢所有提供信息的网站,并欢迎各类媒体与我们进行信息共享合作。
关闭本窗口 | 打印 | 收藏此页 |  推荐给好友 | 举报

版块排行

  • SEO搜索                                    5984
  • Web软件                                    3334
  • 交互设计                                    3279
  • 平面软件                                    2575
  • 设计欣赏                                    2501
  • 游戏世界                                    1244
  • 程序开发                                    830
  • 前沿视觉                                    560
  • 电脑网络                                    514
  • 摄影赏析                                    291