本方法只合适于destoon7.0系统 – dt7.0-会员升级系统自动审核修改方法

找到根目录   module/member/account.inc.php

再找到

$fee = 0;

在其下面加一行

$year_time = $DT_TIME+24*3600*365;

再找到

$db->query("INSERT INTO {$DT_PRE}upgrade (userid,username,gid,groupid,company,addtime,ip,amount,status) VALUES ('$_userid','$_username','$_groupid','$groupid','$company','$DT_TIME', '$DT_IP','$fee','2')");
  message($L['grade_msg_success'], '?action=index', 5);

直接换成

if($groupid > 6) {
			$db->query("INSERT INTO {$DT_PRE}upgrade (userid,username,gid,groupid,company,addtime,ip,amount,status,amount,msg,editor,reason,note) VALUES ('$_userid','$_username','$_groupid','$groupid','$company','$DT_TIME', '$DT_IP','$fee','3','$amount','1','admin','升级申请','系统自动审核')");
			$db->query("UPDATe {$DT_PRE}company SET groupid='$could_up',vip='1',validated='1',validator='已通过本站机构认证',vipt='1',validtime='$DT_TIME',fromtime='$DT_TIME',totime='$year_time' WHERe username='$_username'");
            $db->query("UPDATE {$DT_PRE}member SET groupid='$could_up' WHERe username='$_username'");
            message('恭喜您升级成功!', '?action=index', 5);
            } else {
            $db->query("INSERT INTO {$DT_PRE}upgrade (userid,username,gid,groupid,company,addtime,ip,amount,status) VALUES ('$_userid','$_username','$_groupid','$groupid','$company','$DT_TIME', '$DT_IP','$fee','2')");
			 message($L['grade_msg_success'], '?action=index', 5);
			}

申请VIP系统自动审核就大工告成了