Change User Passwordfor WHMCS · Documentation
v2.4.1

Requirements & Install

What you need before uploading Change User Password, and how to activate it.


Requirements

  • WHMCS 8.x or 9.x — the module is IonCube encoded, so your server needs the matching IonCube Loader for your PHP version.
  • A valid license key — entered in the module settings after activation. The key is emailed after purchase and is also available in the client area under Account → My Products → manage product.
  • PHP as required by your WHMCS version.
  • A running WHMCS daily cron for log pruning.
  • Write access to modules/addons/ChangePassword/templates_c/ so compiled templates can be created.
License required — after activating the module, click Configure and enter the License key you received by email (or from the client area: Account → My Products → manage product). The module will not run until a valid key is saved.

Install

  1. Upload the module folder — copy ChangePassword/ into your WHMCS installation:
WHMCS_ROOT/modules/addons/ChangePassword/
    ChangePassword.php   ← addon entry point + activation/upgrade
    hooks.php            ← profile field, manage-users action, generator, cron
    whmcs.json           ← module metadata
    lang/                ← language files
    lib/                 ← namespaced classes (Admin, HardSoftCode)
    templates/admin/     ← Smarty admin templates + bundled assets
    templates_c/         ← compiled templates (auto-created)
  1. Activate the addon — in the admin area go to Configuration → System Settings → Addon Modules, find Change User Password and click Activate.
  2. Enter your license key — click Configure, paste the License key you received by email (or from the client area: Account → My Products → manage product) and save. The module validates the key automatically and will not run until a valid key is saved.
  3. Grant access — on the same page, tick the admin roles that may change passwords in WHMCS’s built-in Access Control list. No role ticked means no access.
  4. Open the module — click the module name, then Settings, and choose the password length, character types and log retention. See Settings Reference.

What activation does

Activation creates the hsc_cp_settings and hsc_cp_log tables, seeds the default settings (PasswordLength 8, PasswordChars letters,numbers,symbols, LogRetention 90) and seeds the Change User Password email template only when it is missing.

Verify the install

  1. Open the module from Addon Modules. If a valid license key is saved, you will see the Dashboard with three counters.
  2. Open any client, go to its Users tab or Clients → Manage Users, and open a user’s dropdown.
  3. Confirm Change Password is listed. If it is missing, check your role in Access Control — see Troubleshooting.

Upgrading

  1. Take a database and file backup.
  2. Upload the new ChangePassword folder over the existing one.
  3. Open Addon Modules in the admin area so WHMCS runs the module upgrade.
  4. Open the module Dashboard and confirm your settings are intact.
Existing role lists are migrated — when upgrading from a version before 2.4.0, the old comma-separated role field is migrated automatically into WHMCS’s Access Control list.

Deactivating & removing data

The Addon Modules page carries a delete module data on deactivation switch. Leave it off to keep the settings and the activity log when you deactivate the module; turn it on only when you want the module’s data removed.