Jump to content

Search the Community

Showing results for tags 'delete'.



More search options

  • Search By Tags

    Type tags separated by commas.
  • Search By Author

Content Type


WHMCS.Community

  • The latest WHMCS Release
  • The Latest from the WHMCS Team
    • News & Announcements
  • WHMCS.Community
    • Community Announcements
    • Introduce Yourself
  • Using WHMCS
    • Pre-Sales Questions
    • Admin & Configuration Questions
    • Installation, Upgrade, and Import Support
    • Using WHMCS
    • Troubleshooting Issues
    • Vendor Discussions
  • WHMCS Beta Program
  • WHMCS Showcase
    • Showcase Your Site
    • Share Your Best Practices & Tips
  • Developing & Extending WHMCS
    • Third Party Add-ons
    • Service Offers & Requests
    • Developer Corner
    • Building Modules
    • Share Ideas for WHMCS Modules
  • Community Competitions
    • Competitions
  • General Discussions
    • General Discussion
  • General Feedback & Assistance
    • WHMCS.Community Tips & Tricks
  • Third Party Developers's Topics
  • Turkish International Discussions's Topics
  • Russian International Discussions's Topics
  • Spanish International Discussions's Topics
  • Portuguese International Discussions's Topics
  • French International Discussions's Topics
  • Italian International Discussions's Argomenti
  • German International Discussions's Topics
  • WHMCS Brasil's Topics
  • WHMCS Brasil's Tópicos
  • ModulesGarden Club's Topics
  • Hungarian International Discussions's Segítség

WHMCS Version

  • V7 Hotfixes
  • V7.1.x Hotfixes
  • V7.2.x Hotfixes
  • V7.3.x Hotfixes
  • V7.4.x Hotfixes
  • V7.5.x Hotfixes
  • V7.6.x Hotfixes

Find results in...

Find results that contain...


Date Created

  • Start

    End


Last Updated

  • Start

    End


Filter by number of...

Joined

  • Start

    End


Group


Found 5 results

  1. Is it working automatically !
  2. An unfortunate trait of the internet is spam and automated bots disseminating that spam. As a business operator on the internet, you may also receive orders submitted in bulk by automated bots. There can be situations where you need to delete lots of clients with the same first name. This small script leverages the local API to cleanly delete all clients who match the specified term. This script is provided as-is, without warranty, and in the understanding for the potential to permanently and irreversibly delete data. Before running this script, please make a database backup: <?php /** * Delete spam clients where the firstname contains 5666Q.COM * using advanced database interaction and the DeleteClient API * * @link https://developers.whmcs.com/advanced/db-interaction/ * @link https://developers.whmcs.com/api-reference/deleteclient/ * * @author WHMCS Limited <development@whmcs.com> * @copyright Copyright (c) WHMCS Limited 2005-2018 * @license https://www.whmcs.com/eula/ WHMCS Eula */ require 'init.php'; use WHMCS\Database\Capsule; // Replace ADMIN_USERNAME with your admin username $adminUsername = 'ADMIN_USERNAME'; echo '<pre>'; // Loop through all clients where firstname contains 5666Q.COM foreach (Capsule::table('tblclients')->where('firstname', 'like', '%5666Q.COM%')->get() as $client) { // Delete the client with DeleteClient API $results = localAPI('DeleteClient', ['clientid' => $client->id], $adminUsername); // Check for errors if ($results['result'] == 'success') { echo "Deleted Client ID: " . $client->id; } else { echo "Error deleting Client ID: " . $client->id; } } echo '</pre>'; Begin by entering your adminstrator's username on line 19: $adminUsername = 'ADMIN_USERNAME'; Upload the script to your WHMCS directory, and visit in your browser. The script will search through all the clients matching the criteria specified in this line: 'firstname', 'like', '%5666Q.COM%' It will then properly and permanently delete matching clients and associated records. The last step is to show which clients are deleted, and if a problem was occurred. The file should then be deleted from your server. At the time of writing this post, this script was tested on the latest stable release of WHMCS 7.5.1 and should work with any that fall under Active Support as per the LTS schedule here: https://docs.whmcs.com/Long_Term_Support#WHMCS_Version_.26_LTS_Schedule If you have any feedback, questions, or concerns that I did not cover in this post, please feel free to reach out! delete_spam_clients.php
  3. When trying to update a customers card via the Admin area the customer is deleted from our Stripe Account. The logs show an API call that updates the card followed by an immediate call to delete the customer.
  4. Delete/Close Account is a WHMCS addon module! which can give an option to your website clients, through which they can delete or close their account. Obviously, there is an option in the module settings for admin that clients' account should be deleted or closed. If client deletes his account or closes his account, then an email will be sent to all the Admin users that a client has requested to delete or close his account. Another email will be sent to the client that his account will be deleted or closed in a certain date that the admin can setup from the module settings. If the client did not login to his account in that date the system will deletes or closes his account. Features Delete or close account option Setup a certain date to delete or close account Google new Captcha Admin see all the deletion or closing request form module home page Admin can cancel or delete the client request Ask client to enter his password before processing the request Client need to confirm the request before processing Email send to admins and client Client can cancel the request if he login to his account Client can't browse the website if he login to his account View the product Page View all our works and Products
  5. For one time services which are piling up, and clogging the clients services list, here is a module which will help you view and delete them in bulk. Features Include: Filter them by Status, Billing Cycle, From and to Date. Select multiple services you want cleared, or only for certain clients. Sort the columns by ID, Service ID, Product/Service Name, Client Name, Billing Cycle, Last Invoice No, Payment Status, Date Created, and service Status. Quick maintenance to upkeep your WHMCS. First 100 clients gets the module free. Signup here: http://my.cloudastrix.com/cart.php?a=add&pid=62 with promotion code: CloudAstrix_BulkService102 Additional Information: This module works in Admin Area only Supports WHMCS V5.0 or later Contact us now for more information: sales@cloudastrix.com CloudAstrix website: http://www.cloudastrix.com Other CloudAstrix products: CloudAstrix SPE VoIP Softswitch - This advanced Freeswitch based VoIP Wholesale Softswitch has been designed for ISPs to provide VoIP Services. The automatic functions integrated within WHMCS means you do not need advanced VoIP Technical knowledge to sell and provision VoIP services. CloudAstrix CloudRadius- CloudRadius is an advanced RADIUS web management application aimed at managing hotspots and general-purpose ISP deployments. It features user management, graphical reporting, accounting. CloudAstrix CloudAccounting- CloudAccounting is a fully functional accounting package fully integrated with all functions of WHMCS Billing. From Bank reconciliation to Financial Statements and Inventory input, control and sales, CloudAccounting completes your WHMCS for your business.
×

Important Information

By using this site, you agree to our Terms of Use & Guidelines