GithubHelp home page GithubHelp logo

bluemoonn / whmcs-batch-processing Goto Github PK

View Code? Open in Web Editor NEW

This project forked from iforday/whmcs-batch-processing

0.0 0.0 0.0 4 KB

这是一些可以批量处理WHMCS中业务需求的PHP脚本

License: MIT License

PHP 100.00%

whmcs-batch-processing's Introduction

MxiDev

WHMCS-Batch-Processing


这些是这段时间使用WHMCS时,遇到一些需要批量处理产品的业务需求而写的,希望能帮助到一些有类似需求的小伙伴,也顺便作为一个备份。本人水平欠佳,望大佬轻喷,若有什么问题,欢迎提交Issues,觉得有帮助请点个Star噢

使用方法: 将文件放入WHMCS的根目录,php 文件名.php 即可

以下是使用说明

AddTime.php

  • 该脚本可以批量给指定的产品/服务增加到期时间
  • 使用前请修改第12行的 /产品/服务 ID
  • /产品/服务 ID 可以在WHMCS后台->系统设置->/产品/服务->/产品/服务, 点击您希望补偿的服务,浏览器URL中最后的数字即为产品/服务 ID
  • 您还需修改补偿天数,位于第13行,+号代表加,-号代表减
  • 使用前请做好备份

CancelProduct.php

  • 该脚本可以给所有已激活的服务添加到期后取消的请求,来避免系统自动产生续费账单
  • 使用后建议前往系统后台取消用户的续费账单,以避免已发出账单的产品被续费
  • 前请做好备份,很适合跑路的

LSDelErrorAccount.php

  • 该脚本可以批量删除LegendSock中的黑户
  • 使用前请修改第14行的数据库ID,该ID可以在LegendSock控制面板找到
  • 使用前请做好备份

ModuleChangePackage.php

  • 该脚本可以给所有已激活的服务执行一次修改套餐动作
  • 适合LegendSock中批量修改用户的加密/混淆/协议
  • 其他用户请自行开发
  • 使用前请做好备份

Copyright © MxiDev.com All Rights Reserved.

whmcs-batch-processing's People

Contributors

iforday avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.