怎么安装啊!
1,在UChome的表 _pic里增加字段:
zhuanzai int(11)
zhuanzaiinf mediumtext
zhuanzaiuser mediumtext
2,在UChome的表 _blog里增加字段:
zhuanzai int(11)
zhuanzaiinf mediumtext
3,在UChome的表 _blogfield 里增加字段:
zhuanzaiuser mediumtext
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', 'event', 'poll', 'topic',
'click','magic', 'top', 'videophoto', 'fetion_setting', 'fetion_send');
在后面添加 , 'zhuanzai',添加后如下:
$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', 'event', 'poll', 'topic',
'click','magic', 'top', 'videophoto', 'fetion_setting', 'fetion_send', 'zhuanzai');
5,在source\function_common.php里增加一个获取用户名的函数:
function GetUserName($uid){
global $_SGLOBAL;
$query=$_SGLOBAL['db']->query('select username from '.tname('member').' where uid='.$uid);
$rst=$_SGLOBAL['db']->fetch_array($query);
return $rst['username'];
有完整的SQL导入吗? |