我下了原始版的安装程序,这下点+号出东西了,不过卸载却把数据库弄坏了
很麻烦啊
卸载插件列表: 卡片中心 2.3 FOR D5 [--]
文件:viewthread.php 成功 [+]
查找:(可能已经卸载或者还没有安装):
mf.customstatus/*[ Tool of Card Center(pig) BY PerfectWorks] add 1/2 START*/,m.pigavatar/*[ Tool of Card Center(pig) BY PerfectWorks] add 1/2 END*/
替换为:
mf.customstatus
查找:(可能已经卸载或者还没有安装):
while($post = $db->fetch_array($query)) {//[ Card Center BY PerfectWorks] add 1/1 STARTeval($hooks['card_readcard']);//[ Card Center BY PerfectWorks] add 1/1 END//[ Tool of Card Center(postscript) BY PerfectWorks] add 1/1 STARTeval($hooks['card_tool_postscript2']);//[ Tool of Card Center(postscript) BY PerfectWorks] add 1/1 END
替换为:
while($post = $db->fetch_array($query)) {
查找:(可能已经卸载或者还没有安装):
//[ Tool of Card Center(pig) BY PerfectWorks] add 2/2 STARTeval($hooks['card_tool_showpig']);//[ Tool of Card Center(pig) BY PerfectWorks] add 2/2 END } else { if(!$post['authorid']) {
替换为:
} else { if(!$post['authorid']) {
文件:include/common.inc.php 成功 [+]
查找:(可能已经卸载或者还没有安装):
m.accessmasks/*[ Card Center BY PerfectWorks] add 1/1 START*/,m.cards/*[ Card Center BY PerfectWorks] add 1/1 END*/
替换为:
m.accessmasks
查找:(可能已经卸载或者还没有安装):
, accessmasks/*[ Card Center BY PerfectWorks] add 1/2 START*/,cards/*[ Card Center BY PerfectWorks] add 1/2 END*/
替换为:
, accessmasks
文件:include/newthread.inc.php 成功 [+]
查找:(可能已经卸载或者还没有安装):
if(!defined('IN_DISCUZ')) { exit('Access Denied');}//[ Card Center BY PerfectWorks] add 1/5 STARTeval($hooks['card_loadcache']);//[ Card Center BY PerfectWorks] add 1/5 END
替换为:
if(!defined('IN_DISCUZ')) { exit('Access Denied');}
查找:(可能已经卸载或者还没有安装):
//[ Card Center BY PerfectWorks] add 2/5 STARTeval($hooks['card_carddown']);//[ Card Center BY PerfectWorks] add 2/5 END$author = !$isanonymous ? $discuz_user : '';
替换为:
$author = !$isanonymous ? $discuz_user : '';
查找:(可能已经卸载或者还没有安装):
//[ Tool of Card Center(anonymous) BY PerfectWorks] add 1/1 STARTeval($hooks['card_tool_anonymous']);//[ Tool of Card Center(anonymous) BY PerfectWorks] add 1/1 END//[ Tool of Card Center(postscript) BY PerfectWorks] add 1/1 STARTeval($hooks['card_tool_postscript']);//[ Tool of Card Center(postscript) BY PerfectWorks] add 1/1 START$subscribed = !empty($emailnotify) && $discuz_uid ? 1 : 0;
替换为:
$subscribed = !empty($emailnotify) && $discuz_uid ? 1 : 0;
查找:(可能已经卸载或者还没有安装):
parseurloff, attachment/*[ Card Center BY PerfectWorks] add 3/5 START*/, card, postscript/*[ Card Center BY PerfectWorks] add 3/5 END*/
替换为:
parseurloff, attachment
查找:(可能已经卸载或者还没有安装):
'$parseurloff', '$attachment'/*[ Card Center BY PerfectWorks] add 4/5 START*/ ,'$cardid', '$postscript'/*[ Card Center BY PerfectWorks] add 4/5 END*/
替换为:
'$parseurloff', '$attachment'
查找:(可能已经卸载或者还没有安装):
updatepostcredits('+', $discuz_uid, $postcredits); //[ Card Center BY PerfectWorks] add 5/5 STARTeval($hooks['card_update']);//[ Card Center BY PerfectWorks] add 5/5 END
替换为:
updatepostcredits('+', $discuz_uid, $postcredits);
文件:include/newreply.inc.php 成功 [+]
查找:(可能已经卸载或者还没有安装):
if(!defined('IN_DISCUZ')) { exit('Access Denied');}//[ Card Center BY PerfectWorks] add 1/5 STARTeval($hooks['card_loadcache']);//[ Card Center BY PerfectWorks] add 1/5 END
替换为:
if(!defined('IN_DISCUZ')) { exit('Access Denied');}
查找:(可能已经卸载或者还没有安装):
//[ Card Center BY PerfectWorks] add 2/5 STARTeval($hooks['card_carddown']);//[ Card Center BY PerfectWorks] add 2/5 END$author = !$isanonymous ? $discuz_user : '';
替换为:
$author = !$isanonymous ? $discuz_user : '';
查找:(可能已经卸载或者还没有安装):
//[ Tool of Card Center(anonymous) BY PerfectWorks] add 1/1 STARTeval($hooks['card_tool_anonymous']);//[ Tool of Card Center(anonymous) BY PerfectWorks] add 1/1 END//[ Tool of Card Center(postscript) BY PerfectWorks] add 1/1 STARTeval($hooks['card_tool_postscript']);//[ Tool of Card Center(postscript) BY PerfectWorks] add 1/1 START$pinvisible = $modnewreplies ? 2 : 0;
替换为:
$pinvisible = $modnewreplies ? 2 : 0;
查找:(可能已经卸载或者还没有安装):
parseurloff, attachment/*[ Card Center BY PerfectWorks] add 3/5 START*/, card, postscript/*[ Card Center BY PerfectWorks] add 3/5 END*/
替换为:
parseurloff, attachment
查找:(可能已经卸载或者还没有安装):
'$parseurloff', '$attachment'/*[ Card Center BY PerfectWorks] add 4/5 START*/ ,'$cardid', '$postscript'/*[ Card Center BY PerfectWorks] add 4/5 END*/
替换为:
'$parseurloff', '$attachment'
查找:(可能已经卸载或者还没有安装):
updatepostcredits('+', $discuz_uid, $replycredits); //[ Card Center BY PerfectWorks] add 5/5 STARTeval($hooks['card_update']);//[ Card Center BY PerfectWorks] add 5/5 END
替换为:
updatepostcredits('+', $discuz_uid, $replycredits);
文件:templates/default/post_newthread.htm 成功 [+]
查找:(可能已经卸载或者还没有安装):
{lang post_anonymous}<br><!--{/if}--> <!--[Tool of Card Center(anonymous)] By PerfectWorks START--><input type="checkbox" name="useanonymous" value="1" class="checkbox"> {lang card_use}$_CARD[card][anonymous][name]<br><!--[Tool of Card Center(anonymous)] By PerfectWorks END-->
替换为:
{lang post_anonymous}<br><!--{/if}-->
文件:templates/default/post_newreply.htm 成功 [+]
查找:(可能已经卸载或者还没有安装):
{lang post_anonymous}<br><!--{/if}--> <!--[Tool of Card Center(anonymous)] By PerfectWorks START--><input type="checkbox" name="useanonymous" value="1" class="checkbox"> {lang card_use}$_CARD[card][anonymous][name]<br><!--[Tool of Card Center(anonymous)] By PerfectWorks END-->
替换为:
{lang post_anonymous}<br><!--{/if}-->
文件:templates/default/viewthread.htm 成功 [+]
查找:(可能已经卸载或者还没有安装):
<div class="right" style="font-weight: normal"> <!--[ Card Center BY PerfectWorks] add 1/1 START--><span id="card">{lang card_use}{lang card_card}<script type="text/javascript">menuregister(false, "card")</script></span> |<!--[ Card Center BY PerfectWorks] add 1/1 END-->
替换为:
<div class="right" style="font-weight: normal">
查找:(可能已经卸载或者还没有安装):
</span><br>{lang member_anonymous} <!--[Tool Of Card Center(showanonymous) By PerfectWorks] add 1/1 START--><br><a href="plugin.php?identifier=card&module=card&action=use&id=showanonymous&pid=$post[pid]&fid=$fid">{lang card_use}$_CARD[card][showanonymous][name]</a><!--[Tool Of Card Center(anonymous) By PerfectWorks] add 1/1 END-->
替换为:
</span><br>{lang member_anonymous}
查找:(可能已经卸载或者还没有安装):
<div style="font-size: {MSGFONTSIZE}">$post[message]</div><!--[ Card Center BY PerfectWorks ] add 2/2 START--><!--{if $post[card]}--><table align="right" width="50%" cellpadding="{TABLESPACE}" cellspacing="{INNERBORDERWIDTH}" class="tableborder"> <tr class="altbg2"> <td vAlign=middle> <div align=center><img src="images/card/$post[card][image]" /></div> </td> <td valign='top' width="100%" height="100%"> <table height="100%"> <tr class="altbg2"><td valign="top">{lang card_down}</td></tr> <tr class="altbg2"> <td valign="bottom"> {lang card_name}: $post[card][name]<br /> {lang card_description}: $post[card][description]<br /> {lang card_price}: $extcredits[$_DPLUGIN[card][vars][cardextcredits]][title] $post[card][price] $extcredits[$_DPLUGIN[card][vars][cardextcredits]][unit] </td> </tr> </table> </td> </tr></table><!--{/if}--><!--[ Card Center BY PerfectWorks ] add 2/2 END-->
替换为:
<div style="font-size: {MSGFONTSIZE}">$post[message]</div>
文件:templates/default/jsmenu.htm 成功 [+]
查找:(可能已经卸载或者还没有安装):
<!--[ Card Center BY PerfectWorks] add 1/1 START--><!--{if $discuz_uid}--><div class="headermenu_popup" id="card_menu" style="display: none"><table cellpadding="4" cellspacing="0" border="0"><!--{loop $_CARD[card] $id $card}--> <!--{if $mycardlist[$id]}--> <tr><td class="popupmenu_option"> <a href="plugin.php?identifier=card&module=card&action=use&tid=$tid&fid=$fid&id=$card[identifier]">$card[name]</a><!--{/if}--> </td></tr><!--{/loop}--><tr><td class="popupmenu_option"><a href="plugin.php?identifier=card&module=card&action=center">{lang card_buy}</a></td></tr></table></div><!--{/if}--><!--[ Card Center BY PerfectWorks] add 1/1 END--><!--{if $jsmenu[2]}--> <div class="headermenu_popup" id="memcp_menu" style="display: none">
替换为:
<!--{if $jsmenu[2]}--> <div class="headermenu_popup" id="memcp_menu" style="display: none">
文件:admin/menu.inc.php 成功 [+]
查找:(可能已经卸载或者还没有安装):
echo '</div><div id="others" style="display: none">'; //add by perfectworks - start showmenu($lang['card_center'],array(array('name' => $lang['card_sittings'],'url' => 'admincp.php?action=plugins&identifier=card'), array('name' => $lang['card_editcard'], 'url' => 'admincp.php?action=plugins&identifier=card&mod=admin_card'), array('name' => $lang['card_editmarket'],'url' => 'admincp.php?action=plugins&identifier=card&mod=admin_market'), array('name' => $lang['card_log'],'url' => 'admincp.php?action=plugins&identifier=card&mod=admin_log'), array('name' => $lang['card_updatecache'],'url' => 'admincp.php?action=plugins&identifier=card&mod=admin_updatecache')));//add by perfectworks
替换为:
echo '</div><div id="others" style="display: none">';
文件:templates/default/admincp.lang.php 成功 [+]
查找:(可能已经卸载或者还没有安装):
$lang = array(//[Card Center] By PerfectWorks & SunnyLily - START'card_center' => '??Ƭɨփ','card_sittings' => '??փ','card_editcard' => '?༭??Ƭ','card_editmarket' => '?༭??җ','card_log' => '??Ƭȕ־','card_updatecache' => '??????槬//[Card Center] By PerfectWorks & SunnyLily - END
替换为:
$lang = array(
文件:templates/default/templates.lang.php 成功 [+]
查找:(可能已经卸载或者还没有安装):
$language = array('card_use' => 'ʹӃ','card_card' => '??Ƭ','card_name' => '??Ƭû?Ƨ,'card_price' => '??Ƭ?۸񧬍'card_description' => '??Ƭèʶ','card_buy' => '??²??Ƭ','card_down' => 'ֻ̽??ߑ????һɹ??̬ɏ?􏂀?һ??ǣ?ս?ÔҔڻ$post[author]}ͷɏ??ɏæ??Ӑ{$post[card][name]}һՅ','card_tool_Use' => 'ʹӃ','card_Use' => 'ʹӃ',
替换为:
$language = array(
文件:templates/default/actions.lang.php 成功 [+]
查找:(可能已经卸载或者还没有安装):
$actioncode = array(171 => '??Ƭ֐Є',
替换为:
$actioncode = array(
到第3步 DELETE FROM `cdb_crons` WHERE filename='addcard_daily.inc.php';
DROP TABLE IF EXISTS `cdb_card`;
DROP TABLE IF EXISTS `cdb_cardlog`;
DROP TABLE IF EXISTS `cdb_cardmarket`; ALTER TABLE `cdb_posts` DROP `card`;
ALTER TABLE `cdb_posts` DROP `postscript`;
ALTER TABLE `cdb_members` DROP `cards`;
ALTER TABLE `cdb_members` DROP `postscript`;
ALTER TABLE `cdb_members` DROP `pigavatar`; Discuz! info: MySQL Query Error
Time: 2006-12-5 7:34pm
Script: /bbs/index.php
SQL: SELECT s.sid, s.styleid, s.groupid='6' AS ipbanned, s.pageviews AS spageviews, s.lastolupdate, s.seccode, m.uid AS discuz_uid,
m.username AS discuz_user, m.password AS discuz_pw, m.secques AS discuz_secques, m.adminid, m.groupid, m.groupexpiry,
m.extgroupids, m.email, m.timeoffset, m.tpp, m.ppp, m.posts, m.digestposts, m.oltime, m.pageviews, m.credits, m.extcredits1, m.extcredits2, m.extcredits3,
m.extcredits4, m.extcredits5, m.extcredits6, m.extcredits7, m.extcredits8, m.timeformat, m.dateformat, m.pmsound,
m.sigstatus, m.invisible, m.lastvisit, m.lastactivity, m.lastpost, m.newpm, m.accessmasks/*[ Card Center BY PerfectWorks] add 1/1 START*/,m.cards/*[ Card Center BY PerfectWorks] add 1/1 END*/,m.xspacestatus, m.editormode, m.customshow
FROM cdb_sessions s, cdb_members m
WHERE m.uid=s.uid AND s.sid='xIr8ZS' AND CONCAT_WS('.',s.ip1,s.ip2,s.ip3,s.ip4)='61.186.117.74' AND m.uid='11622'
AND m.password='ee0c11f9d24bcacc48ba75be518a8d25' AND m.secques=''
Error: Unknown column 'm.cards' in 'field list'
Errno.: 1054
[ 本帖最后由 1jibing 于 2006-12-5 19:38 编辑 ] |