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

 找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索

[插件] 卡片中心 2.3 FOR D50 [2006/11/22]

[复制链接]
1jibing 发表于 2006-12-4 22:16:16 | 显示全部楼层
原帖由 PerfectWorks 于 2006-12-4 12:23 发表

你用DZ插件安装工具装完之后的common.inc.php是什么样子的


我装完后这个文件没有变化,里面没有你的名PerfectWorks.....
回复

使用道具 举报

 楼主| PerfectWorks 发表于 2006-12-5 14:20:24 | 显示全部楼层

回复 #1011 1jibing 的帖子

自动安装到修改文件的时候,DZ插件安装工具会提示修改文件是否成功,你点开仔细看下
如果修改文件都成功了,你再确定你是否把DZ插件安装工具给你的升级包上传了
回复

使用道具 举报

g0212014 发表于 2006-12-5 14:44:34 | 显示全部楼层
真鬱悶....老是
admin 登入後就會出現

Warning: printf() [function.printf]: Too few arguments in f:\www\bbs\plugintool\include\xml.class.php on line 136

好想安裝卡片中心阿...><"
回复

使用道具 举报

jopt 发表于 2006-12-5 16:45:16 | 显示全部楼层
怎么验证随机掉卡成不成功呢?
回复

使用道具 举报

1jibing 发表于 2006-12-5 18:09:18 | 显示全部楼层
原帖由 PerfectWorks 于 2006-12-5 14:20 发表
自动安装到修改文件的时候,DZ插件安装工具会提示修改文件是否成功,你点开仔细看下
如果修改文件都成功了,你再确定你是否把DZ插件安装工具给你的升级包上传了



我的升级数据包:备份数据包:下载下来都只有22K,打开什么都没有
我手动把plugintool\plugins\cardcenter.zip解压缩后上传覆盖,再更新缓存,仍不能解决

我是手动升级的数据库,还有SQL。TXT,用工具装的时候点开+号下面什么都没有

[ 本帖最后由 1jibing 于 2006-12-5 18:27 编辑 ]
回复

使用道具 举报

jopt 发表于 2006-12-5 19:02:12 | 显示全部楼层
不知道为什么.膏药卡 死活不出来.
回复

使用道具 举报

1jibing 发表于 2006-12-5 19:24:04 | 显示全部楼层
我下了原始版的安装程序,这下点+号出东西了,不过卸载却把数据库弄坏了
很麻烦啊
    卸载插件列表:
      卡片中心 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' => '??&#428;&#616;&#1411;','card_sittings' => '??&#1411;','card_editcard' => '?&#3885;??&#428;','card_editmarket' => '?&#3885;??&#1175;','card_log' => '??&#428;&#533;&#1470;','card_updatecache' => '??????槬//[Card Center] By PerfectWorks & SunnyLily - END
          替换为:


          $lang = array(


        文件:templates/default/templates.lang.php 成功 [+]

          查找:(可能已经卸载或者还没有安装):


          $language = array('card_use' => '&#697;&#1219;','card_card' => '??&#428;','card_name' => '??&#428;&ucirc;?&#423;,'card_price' => '??&#428;?&#1784;&#424717;'card_description' => '??&#428;è&#694;','card_buy' => '??&sup2;??&#428;','card_down' => '&#1467;&#829;??&#2001;????&#1211;&#633;??&#812;&#591;?&#1110144;?&#1211;??&#483;?&#1405;?&Ocirc;&#1172;&#1723;$post[author]}&#887;&#591;??&#591;&aelig;??&#1232;{$post[card][name]}&#1211;&#1349;','card_tool_Use' => '&#697;&#1219;','card_Use' => '&#697;&#1219;',
          替换为:


          $language = array(


        文件:templates/default/actions.lang.php 成功 [+]

    到第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`;
    MYSQL升级完毕,点击查看执行的SQL语句

    数据库就错误了,
    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 编辑 ]
回复

使用道具 举报

1jibing 发表于 2006-12-5 21:11:08 | 显示全部楼层
不知道怎么又使用正常了,谢谢楼主
回复

使用道具 举报

jopt 发表于 2006-12-5 21:51:45 | 显示全部楼层
膏药卡好了。

不过有一个问题。。

膏药卡:

这几个字。用3号字太大了。在那里改?我想把红色也改改。
回复

使用道具 举报

jopt 发表于 2006-12-5 22:15:32 | 显示全部楼层
已经解决了。谢谢。
回复

使用道具 举报

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

本版积分规则

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

GMT+8, 2024-11-15 14:33 , Processed in 0.070838 second(s), 2 queries , Gzip On, Redis On.

Powered by Discuz! X3.4

Copyright © 2001-2023, Tencent Cloud.

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