|
|
马上注册,结交更多好友,享用更多功能,让你轻松玩转社区。
您需要 登录 才可以下载或查看,没有帐号?会员注册
x
 | |  | | 修改方法如下: 7 A3 G' I |" T% o
打开论坛根目录下的source/module/forum下的forum_misc.php,找到 - updatemembercount($post['authorid'], $creditsarray, 1, 'PRC', $_G['gp_pid']);
复制代码在 上面添加 - //<<<<<<<<<<<<<<<<added by 江湖大虾仁 for 评分扣除自己的积分
+ y5 h( s) L0 S! b+ x o2 N
2 W: p3 V. Z" c6 Y+ c- $czw_creditarr=array();- M3 S3 K6 ]5 e' |) L3 x
- 5 t$ M2 y. ] t4 W* `+ H
- foreach($creditsarray as $czw_temp_id=>$czw_temp_value){
- q; K8 t1 D2 y) s
. x \0 s& C1 U! m+ a, p! {- $czw_creditarr['extcredits'.$czw_temp_id]=$czw_temp_value;
3 N8 t$ G' U1 l - ! I/ o1 v: h8 q& |. o5 a
- }
; W" H& z: C7 o! \- Q6 V4 W/ q - , [1 p4 O" O- x6 [2 `9 @
- checklowerlimit($czw_creditarr,0,-1);( I: J* @; u: P
6 e8 U3 E! ]8 n8 s1 z. M/ m9 W* ?9 \- batchupdatecredit($czw_creditarr,0,NULL,-1);
+ J, ^/ U# s+ X - ; I) Z8 V1 x5 Q
- //>>>>>>>>>>>>>>>>added by 江湖大虾仁 for 评分扣除自己的积分
复制代码 | |  |  |  | CooL.泪猪说: |
|