Personal tools
Namespaces

Variants
Actions

Hosting Quota Notifications 1.X For WHMCS

From ModulesGarden Wiki
(Difference between revisions)
Jump to: navigation, search
Line 1: Line 1:
<meta name="keywords" content="wordpress manager for whmcs, wordpress manager configuration, wordpress manager management, wordpress manager installation, wordpress manager guide, modulesgarden wordpress manager, wordpress manager wiki, wordpress manager tutorial, wordpress manager tips, wordpress module wiki, wordpress manager common problems, about wordpress manager, wordpress manager documentation, wordpress manager faq, wordpress manager help, wordpress cpanel, wordpress whm, wordpress directadmin, wordpress, whmcs, cpanel, whm, directadmin, extended"></meta>
+
<meta name="keywords" content="modulesgarden whmcs modules update, whmcs products update, whmcs modules update, whmcs modules download, whmcs modules version, whmcs modules upload, update instructions, update guide, whmcs modules upgrade"></meta>
<meta name="description" content="ModulesGarden Wiki Contains All The Information You Need About The WordPress Manager For WHMCS Module."></meta>
+
<meta name="description" content="We Will Guide You Step By Step And Show You How To Successfully Update Any WHMCS Module Designed By ModulesGarden."></meta>
 
+
=About [https://www.modulesgarden.com/products/whmcs/wordpress-manager WordPress Manager For WHMCS]=
+
 
{|
 
{|
|style="padding: 10px 0px 10px 0px;"|'''WordPress Manager For WHMCS''' is a module that enables your customers to control and freely alter their WordPress instances right inside your WHMCS. <br />
+
|style="padding: 10px 0px 30px 15px;"|This article will help you go through the process of updating any WHMCS module.<br />
Your clients will be able to perform WordPress updates, install plugins, install WordPress instances from custom scripts, create backups and toggle automatic upgrade of WordPress installation, plugins, and themes. <br/>
+
Follow the steps presented below to complete a basic module's update.<br />
You will easily handle the list of services that shall include the WordPress management capabilities, and control customer activity thanks to module logs.
+
Additionally, you can view the list of additional actions that might be required to conduct the update mechanism properly.
 
|}
 
|}
*'''Admin Area Features:'''
+
==Update Instructions==
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ View Active WordPress Installations, Clients And Products Summary
+
|style="padding: 10px 0px 20px 15px;"|'''1. In the beginning, please make a backup of your WHMCS files and database.'''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ View WordPress Installations List
+
|style="padding: 0px 0px 15px 15px;"|2. '''Addon Modules Only:''' Log in to your WHMCS admin area.<br />
 +
Go to '' 'Settings' '' → '' 'Addon Modules' '' and deactivate the module you wish to update.<br />
 +
'' '''Note:''' This step is recommended but skip it if you want to keep your current module's settings.''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Choose Supported Products
+
|style="padding: 0px 0px 20px 15px;"|3. Download the latest version of the module from our website.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Toggle Debug Logs Per Product
+
|style="padding: 0px 0px 20px 15px;"|4. Remove all files of the previous module's version (except the license.php file).
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Select Installation Scripts Per Product
+
|style="padding: 0px 0px 20px 15px;"|5. Upload and extract the new files into your WHMCS root directory. They will overwrite the old files.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 10px 30px;"|✔ Access Module Logs
+
|style="padding: 0px 0px 15px 15px;"|6. Proceed to the module's location and remove the '' 'license.php' '' file.<br />
 +
Now, rename '' 'license_RENAME.php' '' to '' 'license.php' '' file and edit it by providing your module's license.<br />
 +
'' '''Note:''' This step is mandatory only in a few cases, due to the changes in the packaging system.''
 
|}
 
|}
 
*'''Client Area Features:'''
 
 
{|
 
{|
|style="padding: 10px 0px 0px 30px;"|✔ View/Create/Edit/Delete WordPress Installations
+
|style="padding: 0px 0px 15px 15px;"|7. Remove all files from the '' '\your_whmcs\template_c\' '' directory.<br/>
 +
'' '''Note:''' This will remove cache, which will prevent WHMCS from storing obsolete parts of the module and read the new version.''
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Create/Restore/Download/Delete WordPress Backups
+
|style="padding: 0px 0px 15px 15px;"|8. '''Addon Modules Only:''' Log in to your WHMCS admin area.<br />
 +
Go to '' 'Settings' '' → '' 'Addon Modules' '' and activate the recently updated module.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 0px 30px;"|✔ Browse And Install Plugins
+
|style="padding: 0px 0px 30px 15px;"|Once these instructions are carried out, your module should be updated correctly.<br />
|}
+
Otherwise, please refer to the additional steps described below.
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Perform Bulk Changes On Plugins And Backups
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ View/Create/Edit/Delete WP Config Records
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Provide Installation Details
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ View Installation Details:
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ WordPress Version
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Domain And URL
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Product On Which Is Installed
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Site Name
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Creation Date
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Directory Path
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Database Access Details
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Debug Status
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Manage Installation:
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Log In To Control Panel
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Clear Cache
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Clone To New Domain
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Change Domain
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Change Auto Upgrade Of:
+
|}
+
{|
+
|style="padding: 0px 0px 0px 60px;"|✔ WordPress Installation
+
|}
+
{|
+
|style="padding: 0px 0px 0px 60px;"|✔ WordPress Plugins
+
|}
+
{|
+
|style="padding: 0px 0px 0px 60px;"|✔ WordPress Theme
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Update To Newer Version
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Delete
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Plugins Management:
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Search And Install Plugins Directly From WordPress.com Base
+
|}
+
{|
+
|style="padding: 0px 0px 0px 45px;"|✔ Update Installed Plugins
+
|}
+
{|
+
|style="padding: 0px 0px 10px 45px;"|✔ Activate/Deactivate Installed Plugins
+
|}
+
 
+
*'''Supported Modules:'''
+
{|
+
|style="padding: 10px 0px 0px 30px;"|✔ DirectAdmin
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ [https://www.modulesgarden.com/products/whmcs/directadmin-extended DirectAdmin Extended]
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ cPanel
+
|}
+
{|
+
|style="padding: 0px 0px 10px 30px;"|✔ [https://www.modulesgarden.com/products/whmcs/cpanel-extended cPanel Extended] (With Supported Integration)
+
|}
+
 
+
*'''General Info:'''
+
{|
+
|style="padding: 10px 0px 0px 30px;"|✔ Requires [https://www.softaculous.com/ Softaculous] Auto Installer
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Multi-Language Support
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Supports PHP 5.6 Up To PHP 7.2
+
|}
+
{|
+
|style="padding: 0px 0px 0px 30px;"|✔ Supports WHMCS Template Six
+
|}
+
{|
+
|style="padding: 0px 0px 30px 30px;"|✔ Supports WHMCS V7
+
|}
+
 
+
=Installation and Configuration=
+
{|
+
|style="padding: 10px 0px 15px 15px;"|'''In this short tutorial we will show you how to successfully install WordPress Manager For WHMCS.'''<br />
+
We will guide you step by step through the whole installation process.
+
|}
+
 
+
{|
+
|style="padding: 10px 0px 20px 15px;"|'''1. Log in to our client area and download the module.'''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_1.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''2. In the downloaded file you will find two packages that support different PHP versions.'''<br/>As presented on the screen below, the first one is dedicated to PHP 5.6 up to PHP 7.0, while the second one is aimed at PHP 7.1 up to PHP 7.2.<br/>It does not apply to open source versions.<br/>
+
'' '''Note''': You can check the current PHP version in your WHMCS. To do so, proceed to ''' 'Utilities' › 'System' › 'PHP Info'.'''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:PHP56_72.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''3. Choose the one with the right PHP version. In the package you will find another three folders.'''<br/>As presented on the screen below, the first one is supposed to be uploaded on WHMCS, the second one is aimed at DirectAdmin while the last one is for WHM (cPanel).
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_1s2.png]]
+
|}
+
==cPanel (WHM) Installation==
+
{|
+
|style="padding: 10px 0px 15px 15px;"|'''1. Upload and extract the '' 'UploadToWHM' '' folder into the '''/root''' cPanel directory.'''<br />
+
Files in your cPanel ''/root/uploadToWHM/'' directory should look like these on the following screen.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_2.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''2. Once the module is uploaded, enter the '''/root/uploadToWHM/''' catalog and run the following command in the console:<br />
+
sh install.sh
+
After a brief moment you should see a confirmation that the plugin has been successfully installed.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_3.png]]
+
|}
+
==DirectAdmin Installation==
+
{|
+
|style="padding: 10px 0px 15px 15px;"|'''1. In the '' 'uploadToDirectAdmin' '' folder find the '' 'wordpress_cli.tar.gz' '' package.'''<br />
+
Next, log in to your DirectAdmin panel as an administrator and go to '' 'Plugin Manager' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_2_1.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''2. Once in the '' 'Add Plugin' '', select the '' 'File' '' option and choose the '' 'wordpress_cli.tar.gz' '' package to upload.'''<br/> Additionally, mark the '' 'Install after upload' '' option and press the '' 'Add Plugin' '' button.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_2_2.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|'''3. Once the plugin is uploaded and successfully installed, you should see it on the plugins list.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_2_3.png]]
+
|}
+
 
+
==WHMCS Installation==
+
{|
+
|style="padding: 10px 0px 20px 15px;"|'''1. Extract the '' 'modules' '' catalog into the main WHMCS directory.'''<br />
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_2.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''2. When you install WordPress Manager For WHMCS for the first time, you have to rename the '' 'license_RENAME.php' '' file.'''<br />
+
This file is located in '' 'modules/addons/wordpress_manager/license_RENAME.php.' '' Rename it from '' 'license_RENAME.php' '' to '' 'license.php'. ''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S3.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''3. In order to configure your license key, you have to edit the previously renamed '' 'license.php' '' file.'''<br />
+
Enter your license key between quotation marks as presented on the following screen. You can find your license key in our client area → '' 'My Products'. ''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S4.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''4. In the next step, set up the  '' 'storage' '' folder as recursively writable.'''<br />
+
This folder is available at '' 'your_whmcs/modules/addons/WordpressManager/' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S4s.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''5. Now you have to activate the module in your WHMCS system.'''<br />
+
Log in to your WHMCS admin area. Click '' 'Setup' '', then choose '' 'Addon Modules'. ''<br />
+
Afterwards, find '' 'WordPress Manager' '' and press the '' 'Activate' '' button.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S_3.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|'''6. Then, you need to permit access to this module. To do so, click on the '' 'Configure' '' button, choose '' 'Full Administrator' '' and press '' 'Save Changes'.'' '''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S_4.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|'''7. Now you have to add a cron job as shown below (5 - 10 minutes interval is recommended).'''<br />
+
php -q /your_whmcs/modules/addons/WordPressManager/cron/cron.php Synchronize
+
Do not forget to replace 'your_whmcs' with your WHMCS root location.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|'''8. Good job! You have just successfully installed WordPress Manager For WHMCS! Now in your WHMCS press '' 'Addons' '' and then '' 'WordPress Manager'. '' '''
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_S2_6.png]]
+
|}
+
 
+
=Management=
+
{|
+
|style="padding: 10px 0px 30px 15px;"|This section has been divided into two main parts to allow full and, at the same time, easy understanding of the functionality of the whole module.<br/>In the first part '' 'Management of Addon' '' you will see a general outlook of the module's basic configuration, through the product management from the admin area.<br/> The second part describes additional settings and tools concerning WordPress installations that can be used while working in the client area.
+
|}
+
 
+
===Admin Area===
+
{|
+
|style="padding: 10px 0px 30px 15px;"|Now that your module is already configured, you may access it from '' 'Addons' '' → '' 'WordPress Manager' ''.
+
|}
+
====Home====
+
{|
+
|style="padding: 10px 0px 15px 15px;"|'' 'Home' '' should be your first choice. <br/>
+
In this section you will see all active WordPress installations and the list of the clients who already have them.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_S2_188.png]]
+
|}
+
 
+
====Product Settings====
+
{|
+
|style="padding: 10px 0px 20px 15px;"|In the '' 'Product Settings' '' section you can see the list of compatible products that WordPress can be configured with.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_181.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|Activate your product and press the '' 'Edit' '' button marked with the green arrow.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S18.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|Enabling ''Debug Mode'' will result in the module's activity details being gathered in the '' 'Logs' '' tab. <br/>
+
By choosing any '' 'Installation Scripts' '', you can allow your clients to install your pre-configured WordPress instances instead of performing a clean installation only.<br/>
+
This feature can be useful if you already have a few WordPress installations ready such as custom theme with demo content or other plugins.<br/>
+
If you leave this field empty, then the clean WordPress instance will be installed by default.<br/>
+
'' '''Important:''' The dropdown will display a bunch of other installation scrips from Softaculous, not only those from WordPress.<br/>Remember to only select your WordPress-based installations. Otherwise, unpredictable errors might occur.''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S19.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 30px 15px;"|'' '''Note:''' By default, installation script names in the client area will be displayed without their IDs. If you want to still change their names to more client-friendly, you can do it in a language file. <br/>Go to the [https://www.docs.modulesgarden.com/WordPress_Manager_For_WHMCS#Tips Tips] section and look for more details in the second point.''
+
|}
+
 
+
====Logs====
+
{|
+
|style="padding: 10px 0px 20px 15px;"|All module activities are recorded in the section named '' 'Logs' ''.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_32.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|All entries can be deleted separately. To do that, just click the button marked on the screen below.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_34.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|Keep in mind that you can remove multiple logs at once.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_S2_33.png]]
+
|}
+
 
+
===Client Area===
+
 
+
====WordPress Management====
+
{|
+
|style="padding: 10px 0px 15px 15px;"|Now that you already have the module configured, you may see the process of adding and and managing the WordPress installations by your clients.<br/> While in the client area, find the button  '' 'My Services' '' and go to the section presented on the following screen.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_18.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|Choose your product and enter its details.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_19.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|Now, move directly to the '' 'WordPress Management' '' section.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_S2_20.png]]
+
|}
+
 
+
====New Installation====
+
{|
+
|style="padding: 10px 0px 20px 15px;"|Next, you will need to add a new installation. Press the button marked on the screen below.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_191.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"| A new window split to three tabs will open.<br/>
+
In the first '' '''Details''' '' tab fill the following fields:
+
*'''Domain''' - select the domain the software will be installed on.
+
*'''Installation Script''' - here you can select any custom installation script that you want to install.<br/>Note that this field will be displayed only for domains whose products have installation scripts configured in the [https://www.docs.modulesgarden.com/WordPress_Manager_For_WHMCS#Product_Settings products settings].<br/>If it is not diplayed then the clean WordPress installation will be applied.
+
*'''Site Name''' - the name of a site created for the installation.
+
*'''Description''' - your custom site description for the installation.
+
*'''Directory''' - name of the installation folder for WordPress.<br/> E.g enter '' 'wptest1' '' if you want the installation ''http://yourdomain.com/wptest1''. In order to install it directly at e.g ''http://yourdomain.com/'', simply leave this field unaltered.
+
*'''Language''' - choose a language for the installation.
+
'' '''Note''' that only those fields marked with '''*''' (e.g. 'Site Name') are required to complete the creation.''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_201.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|In the '' '''Login Details''' '' tab enter the following fields:
+
*'''Administrator Username''' - the username of the administrator's account for the installation.
+
*'''Administrator Email''' - the email address of the administrator's account for the installation.
+
*'''Administrator Password''' - the password of the administrator's account for the installation.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S2_202.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|Complete the configuration by switching to the '' '''Other''' '' tab and enter the remaining fields:
+
*'''Database Name''' - the name of a newly created database which will be created during the installation.
+
*'''Database Prefix''' - the table prefix for the tables created by the app (optionally).
+
*'''Multisite''' - if enabled, your blog will have the '' 'Multisite' '' option. Note that your server must support '' 'Apache mod_rewrite' ''.
+
*'''Auto Upgrade''' - if enabled, the WordPress installation will be automatically updated to the latest version when it is available.
+
*'''Auto Upgrade Plugins''' - if enabled, all active WordPress plugins installed for this installation will be automatically updated to the latest versions when available.
+
*'''Auto Upgrade Themes''' - if enabled, the active WordPress theme for this installation will be automatically updated to the latest version when available.
+
<!-- na razie wywalone bo ta opcja nie działała ale może jeszcze wrócić:
+
*'''Loginizer''' - If enabled, the plugin responsible for limiting the number of login attempts to WordPress installation will be installed and activated with the installation process.
+
-->
+
If you have entered all the data correctly, you can now press the '' 'Create' '' button to complete the installation.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_S2_203.png]]
+
|}
+
 
+
====Installation Details====
+
{|
+
|style="padding: 10px 0px 15px 15px;"|Once you have successfully created a new installation, you can edit its advanced options (the green arrow) or simply remove it in case you no longer need it (the red arrow).<br/> Let us press the green one.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S_18.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|This is how an example configuration of your installation may look like:
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S_19.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|In the '' 'Management' ''area you can find the following options:
+
*'''Control Panel''' - log in to your WordPress panel directly any time you like.
+
*'''Clear Cache''' - remove the cache of your installation.
+
*'''Clone''' - this action will result in cloning the installation to another domain.
+
*'''Update''' - after selecting this option, your WordPress will be updated to the latest version.
+
*'''Change Domain''' - choose a new domain.
+
*'''Change Auto Upgrade''' - choose the status of the auto upgrade option for WordPress instance, plugins and theme.
+
*'''Delete''' - immediately remove the complete installation along with its settings.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_S_120.png]]
+
|}
+
 
+
====Plugins====
+
{|
+
|style="padding: 10px 0px 20px 15px;"|Here you are enabled to activate, deactivate, delete or update the already existing plugins. You can also add new plugins to your WordPress installation in the '' 'Add New' '' tab.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S_181.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|To add a new plugin, you are required to type in at least the initial letters of the desired plugin's name into the search field to see the actual results.<br/>
+
Afterwards, press the symbol marked on the screenshot below, and confirm your choice in the window that should be visible on your screen.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_S_1811.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|The '' 'Mass Action' '' feature is also present in this section, so you will be able to handle multiple plugins more efficiently and at the same time.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_S_182.png]]
+
|}
+
 
+
====Backups====
+
{|
+
|style="padding: 10px 0px 15px 15px;"|As the name suggests, this section provides you with an ability to add or modify backups.<br/>You are allowed to download, restore and delete a particular backup.
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_1181.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 15px 15px;"|Here you can '''delete''' multiple backups at once.<br/>See the screenshot below.
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_182.png]]
+
|}
+
====Config====
+
{|
+
|style="padding: 10px 0px 15px 15px;"|In this section you can directly alter the records from the '' '''wp-config.php''' '' file.<br/>This file is located in the root of your WordPress file directory and contains your website's configuration details such as database connection information.<br/>You are allowed to edit or delete already existing config records as well as creat new ones.<br/>
+
'' '''Important:''' Be particularly careful when editing these config records! You can find more information about edition 'wp-config.php' file [https://codex.wordpress.org/Editing_wp-config.php here].''
+
|}
+
{|
+
|style="padding: 0px 0px 20px 25px;"|[[File:WM_20.png]]
+
|}
+
{|
+
|style="padding: 0px 0px 20px 15px;"|When creating a new config record, enter its proper name, value and chose one of the three available types ('' 'Constant', 'Variable' ''or '' 'All' '').
+
|}
+
{|
+
|style="padding: 0px 0px 30px 25px;"|[[File:WM_21.png]]
+
|}
+
 
+
=Tips=
+
{|
+
|style="padding: 10px 0px 5px 15px;"|1. In case you wish to remove one of your plugins from WHM, make sure you delete the additional content too:
+
/usr/local/cpanel/Cpanel/API/Wordpress.pm
+
/usr/local/cpanel/share/WordPressManager/wp
+
|}
+
{|
+
|style="padding: 0px 0px 30px 15px;"|2. If you wish to change the names of your WordPress installations scripts to more friendly in the client area, you can do this in [https://www.docs.modulesgarden.com/General#How_To_Change_WHMCS_Module_Language language file].<br/>Simply open your default '' 'english.php'' ' file located in '' '/yourWHMCS/modules/addons/WordpressManager/langs' '' directory and add a new language record in the following format:
+
$_LANG['WordPress Script Name']="WordPress Friendly Name";
+
|}
+
 
+
=Update Instructions=
+
{|
+
|style="padding: 10px 0px 30px 15px;"|Essential guidance through the process of updating the module is offered '''[https://www.docs.modulesgarden.com/How_To_Update_WHMCS_Module here]'''.<br/><br/>
+
 
+
'''Important:''' If you are performing an update from a previous version of WordPress Manager with cPanel, you have to also update the files and run again the installation script on your WHM server.<br/>Simply go [https://www.docs.modulesgarden.com/WordPress_Manager_For_WHMCS#cPanel_.28WHM.29_Installation here] and repeat the following instructions.
+
<br/><br/>
+
Keep in mind there is a quick and easy option in our client area that will let you upgrade the license of your module to an open source version at any time - and at a lower price!<br/>
+
To take advantage of it, simply use the '' 'License Upgrade' '' button located on the product's page and a discounted invoice will be generated automatically.<br/>
+
 
|}
 
|}
  
=Common Problems=
+
==Additional Guidance==
 
{|
 
{|
|style="padding: 10px 0px 5px 15px;"|'''1. When you have problems with connection, check whether your SELinux or firewall does not block ports.'''
+
|style="padding: 10px 0px 15px 15px;"|It may happen that after the update of a module, additional steps still have to be taken in order to ensure its proper functioning.<br />
 +
If so, we advise you to check the module's documentation and see whether some specific actions are needed.<br /><br />
 +
In particular, search for the following elements:<br />
 +
1. Folders which need specific write permissions (chmods).<br />
 +
2. Previous settings of chmods which were overwritten.<br />
 +
3. Either a new cron job added or an old one removed.<br />
 +
4. The use of the migration tool needed to import the settings from a previous version.<br />
 +
5. Settings removed during the update.<br />
 +
6. Integration codes that need to be changed after the update.<br/>
 +
7. Additional steps listed in the installation instruction.<br/>
 +
8. If you upgraded your WHMCS server from the PHP 5.x to PHP 7.x version, make sure that the uploaded module's package supports the correct PHP version as well.
 
|}
 
|}
 
{|
 
{|
|style="padding: 0px 0px 30px 15px;"|2. If you do not see the [https://www.docs.modulesgarden.com/WordPress_Manager_For_WHMCS#Config config] records, make sure that you have also [https://www.docs.modulesgarden.com/WordPress_Manager_For_WHMCS#Update_Instructions updated] the WHM files to the latest version.
+
|style="padding: 0px 0px 30px 15px;"|'''In case of failure, return to the previous version of the module and [https://www.modulesgarden.com/support/ticket/general-support contact us.]'''
 
|}
 
|}

Revision as of 11:15, 30 August 2018

This article will help you go through the process of updating any WHMCS module.

Follow the steps presented below to complete a basic module's update.
Additionally, you can view the list of additional actions that might be required to conduct the update mechanism properly.

Update Instructions

1. In the beginning, please make a backup of your WHMCS files and database.
2. Addon Modules Only: Log in to your WHMCS admin area.

Go to 'Settings' 'Addon Modules' and deactivate the module you wish to update.
Note: This step is recommended but skip it if you want to keep your current module's settings.

3. Download the latest version of the module from our website.
4. Remove all files of the previous module's version (except the license.php file).
5. Upload and extract the new files into your WHMCS root directory. They will overwrite the old files.
6. Proceed to the module's location and remove the 'license.php' file.

Now, rename 'license_RENAME.php' to 'license.php' file and edit it by providing your module's license.
Note: This step is mandatory only in a few cases, due to the changes in the packaging system.

7. Remove all files from the '\your_whmcs\template_c\' directory.

Note: This will remove cache, which will prevent WHMCS from storing obsolete parts of the module and read the new version.

8. Addon Modules Only: Log in to your WHMCS admin area.

Go to 'Settings' 'Addon Modules' and activate the recently updated module.

Once these instructions are carried out, your module should be updated correctly.

Otherwise, please refer to the additional steps described below.

Additional Guidance

It may happen that after the update of a module, additional steps still have to be taken in order to ensure its proper functioning.

If so, we advise you to check the module's documentation and see whether some specific actions are needed.

In particular, search for the following elements:
1. Folders which need specific write permissions (chmods).
2. Previous settings of chmods which were overwritten.
3. Either a new cron job added or an old one removed.
4. The use of the migration tool needed to import the settings from a previous version.
5. Settings removed during the update.
6. Integration codes that need to be changed after the update.
7. Additional steps listed in the installation instruction.
8. If you upgraded your WHMCS server from the PHP 5.x to PHP 7.x version, make sure that the uploaded module's package supports the correct PHP version as well.

In case of failure, return to the previous version of the module and contact us.
Navigation
WHMCS Modules
WHMCS Widgets
Translations
cPanel Modules
General
FAQ
Community