Author Topic: Password plugin and CPanel  (Read 26414 times)

Offline sumit9451

  • Jr. Member
  • **
  • Posts: 16
Password plugin and CPanel
« Reply #15 on: December 05, 2009, 10:40:37 AM »
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:)

Offline sumit9451

  • Jr. Member
  • **
  • Posts: 16
Thankyou
« Reply #16 on: December 05, 2009, 10:51:29 AM »
hey thanks it worked nowww :) after 2 month i did it...

Offline blair.sawler

  • Jr. Member
  • **
  • Posts: 34
Password plugin and CPanel
« Reply #17 on: December 20, 2009, 08:40:47 AM »
How did you get the password plugin to work with hostmonster?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Password plugin and CPanel
« Reply #18 on: December 20, 2009, 10:52:38 AM »
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.

Offline blair.sawler

  • Jr. Member
  • **
  • Posts: 34
Password plugin and CPanel
« Reply #19 on: December 20, 2009, 09:00:31 PM »
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';

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Password plugin and CPanel
« Reply #20 on: December 21, 2009, 11:37:29 AM »
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:
Code: [Select]
$rcmail_config['password_cpanel_username']
to that cpanel username that you login in with, and set:
Code: [Select]
$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:
Code: [Select]
http://example.com:2082/frontend/x3/index.html
http://[B]Host[/B]:[B]Port[/B]/frontend/[B]Theme[/B]/index.html

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

Offline Sartuche24

  • Newbie
  • *
  • Posts: 3
Password plugin and CPanel
« Reply #21 on: December 21, 2009, 06:52:59 PM »
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.

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Password plugin and CPanel
« Reply #22 on: December 21, 2009, 08:00:21 PM »
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.

Offline Sartuche24

  • Newbie
  • *
  • Posts: 3
Password plugin and CPanel
« Reply #23 on: December 22, 2009, 08:06:48 AM »
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.

Offline taxi

  • Newbie
  • *
  • Posts: 7
Not able to save the password
« Reply #24 on: January 12, 2010, 07:09:03 AM »
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.
« Last Edit: January 12, 2010, 07:13:22 AM by taxi »

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Password plugin and CPanel
« Reply #25 on: January 12, 2010, 07:29:37 AM »
Look at the url when you go into cpanel
Code: [Select]

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';

Offline taxi

  • Newbie
  • *
  • Posts: 7
Password plugin and CPanel
« Reply #26 on: January 12, 2010, 07:37:41 AM »
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?

Offline SKaero

  • Administrator
  • Hero Member
  • *****
  • Posts: 5,879
    • SKaero - Custom Roundcube development
Password plugin and CPanel
« Reply #27 on: January 12, 2010, 07:46:54 AM »
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.

Offline taxi

  • Newbie
  • *
  • Posts: 7
Password plugin and CPanel
« Reply #28 on: January 12, 2010, 05:11:41 PM »
It is a secured website. I have set the secured option to true.

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

Offline taxi

  • Newbie
  • *
  • Posts: 7
Password plugin and CPanel
« Reply #29 on: January 12, 2010, 05:12:50 PM »
I have set the secured option to true as it is https

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