Thanks skaero - that was very helpful, but I still have a couple of questions... In my main.inc.php, I have the following:
// The cPanel Host name
$rcmail_config['password_cpanel_host'] = 'go-itg.com';
// The cPanel admin username
$rcmail_config['password_cpanel_username'] = 'username';
// The cPanel admin password
$rcmail_config['password_cpanel_password'] = 'password';
// The cPanel port to use
$rcmail_config['password_cpanel_port'] = 2083;
// Using ssl for cPanel connections?
$rcmail_config['password_cpanel_ssl'] = true;
// The cPanel theme in use
$rcmail_config['password_cpanel_theme'] = 'x';
Am I supposed to type the actual Username and Password in this file, or is it just a variable for whomever is logged into the system?
Also, my cpanel URL looks like this when I am logged in:
https://login.justhost.com/frontend/justhost/index.htmlSo, where does this information go?
Thanks again....
In /plugins/password/config.inc.php
Set password_driver to cpanel:
$rcmail_config['password_driver'] = 'cpanel';
Then set the cPanel settings:
// The cPanel Host name
$rcmail_config['password_cpanel_host'] = 'host.domain.com';
// The cPanel admin username
$rcmail_config['password_cpanel_username'] = 'username';
// The cPanel admin password
$rcmail_config['password_cpanel_password'] = 'password';
// The cPanel port to use
$rcmail_config['password_cpanel_port'] = 2082;
// Using ssl for cPanel connections?
$rcmail_config['password_cpanel_ssl'] = true;
// The cPanel theme in use
$rcmail_config['password_cpanel_theme'] = 'x';
To find the appropriate settings login to cPanel and when on the main page look at the url, it should look something like:
http://example.com:2082/frontend/x3/index.html
This is the data needed:
http://[B]Host[/B]:[B]Port[/B]/frontend/[B]Theme[/B]/index.html
This is what it should look like in the config file:
$rcmail_config['password_cpanel_host'] = '[B]Host[/B]';
$rcmail_config['password_cpanel_username'] = 'Your CPanel username';
$rcmail_config['password_cpanel_password'] = 'Your Cpanel password';
$rcmail_config['password_cpanel_port'] = [B]Port[/B];
$rcmail_config['password_cpanel_ssl'] = true;
$rcmail_config['password_cpanel_theme'] = '[B]Theme[/B]';