Roundcube Community Forum

 

Password plugin and CPanel

Started by beatnik, November 02, 2009, 06:48:13 PM

Previous topic - Next topic

sumit9451

Helo Friend..
i am also using cpanel hostmonster .. and i am not able to figure out ...

i have done one thing first i have activated the password tab.
and i am getting cannot save password....
Please
Tell me all steps i have to  do because i am little bit dumboo..

In scripts ..

Please please i will be really greatful to you my friend....
thanks:eek::-*0:)

sumit9451

hey thanks it worked nowww :) after 2 month i did it...

blair.sawler

How did you get the password plugin to work with hostmonster?

SKaero

How far have you set it up, do you get the password tab in the settings? Also check that you have the theme set up correctly in the settings I think hostmonster theme is hostmonster.

blair.sawler

Hi

I had this and the vacation plugin working perfectly in the .2.x version, so I am really hoping to get these working in .3.x.

Yes I have the tab, and I have the theme set to hostmonster.

I have the following options set, I will mark my questions below with [BTS], if you notice a setting incorrect, I would appreciate your help very much! Thanks!

// P***word Plugin options
$rcmail_config['p***word_driver'] = 'cpanel';

// Determine whether current p***word is required to change p***word.
$rcmail_config['p***word_confirm_current'] = true;

// Require the new p***word to be a certain length.
// set to blank to allow p***words of any length
$rcmail_config['p***word_minimum_length'] = 0;

// cPanel Driver options
// --------------------------
// The cPanel Host name
$rcmail_config['p***word_cpanel_host'] = '';

[BTS] I am not sure what to set the host to? So I know that is one issue.

// The cPanel admin username
$rcmail_config['p***word_cpanel_username'] = 'username';

[BTS] I ***ume I need to set this, I missed  this until now. I ***ume this is the main cpanel user id?

// The cPanel admin p***word
$rcmail_config['p***word_cpanel_p***word'] = 'p***word';

[BTS] I ***ume I need to set this, I missed  this until now. I ***ume this is the main cpanel p/w?

// The cPanel port to use
$rcmail_config['p***word_cpanel_port'] = 2082;

// Using ssl for cPanel connections?
$rcmail_config['p***word_cpanel_ssl'] = true;


// The cPanel theme in use
$rcmail_config['p***word_cpanel_theme'] = 'hostmonster';

SKaero

When you login to you cpanel account that has the email account that you want to be able to change the password on, set the:
$rcmail_config['password_cpanel_username']
to that cpanel username that you login in with, and set:
$rcmail_config['password_cpanel_password']
to the password that goes with that cpanel account.

When your login look at the url, it should look something like this:
http://example.com:2082/frontend/x3/index.html
http://[B]Host[/B]:[B]Port[/B]/frontend/[B]Theme[/B]/index.html

The host is:
$rcmail_config['password_cpanel_host']
The port is:
$rcmail_config['password_cpanel_port']
The theme is:
$rcmail_config['password_cpanel_theme']

Sartuche24

Okay I can not get this plugin to work with my Hostmonster account. What am I doing wrong. I set the username to my hostmonster username and also the password. I set the host to login.hostmonster.com, the port is at 2083, and the theme is hostmonster. It either gives me an error of can't save password or it just goes back to the password form that is blank. Also ssl is set to false and I do have it set to cpanel for the driver.

SKaero

login.hostmonster.com is not a cpanel login page, it a page witch link to the cpanel login. When you are login to your cpanel account (The one where you can see the port in the url) use that host from that url.

Sartuche24

Okay I finally got it to work. I just set the host to localhost, the port to 2083, 2082 wasn't working but I was able to locate that it was on port 2083. I also set the ssl to true and it works like a charm.

taxi

#24
Hi,

I am new to this. I am not able to save the password even after activating the password plugin. It says "could not save password". I have the following settings set in plugins/password/config.inc.php

Currently i have the following settings.

// cPanel Driver options
// --------------------------
// The cPanel Host name
$rcmail_config['password_cpanel_host'] = 'localhost';

// 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'] = 'hostmonster';

$rcmail_config['password_driver'] = 'cpanel';

I have tried entering my username, password & the host for the cPanel but did not help. What am i doing wrong?

Pls help.

SKaero

Look at the url when you go into cpanel

http://[B]Host[/B]:[B]Port[/B]/frontend/[B]Theme[/B]/index.html
http://example.com:2082/frontend/x3/index.html

$rcmail_config['password_cpanel_host'] = 'Host';
$rcmail_config['password_cpanel_username'] = 'your cpanel username';
$rcmail_config['password_cpanel_password'] = 'your cpanel password';
$rcmail_config['password_cpanel_port'] = Port;
$rcmail_config['password_cpanel_theme'] = 'Theme';

taxi

I did that & set it to as per your example after looking at the address bar. Still it does not work. Is there any setting in cpanel that needs to be changed?

SKaero

No they isn't anything that needs to be changed in cpanel. If your cpanel url has a http:// not a https:// then $rcmail_config['password_cpanel_ssl'] needs to be false, if that's fine post the error from your error log.

taxi

It is a secured website. I have set the secured option to true.

$rcmail_config['p***word_cpanel_ssl'] = true;

taxi

I have set the secured option to true as it is https

$rcmail_config['p***word_cpanel_ssl'] = true;