I am glad to announce the Change Password Patch for DirectAdmin Installations. Since DirectAdmin servers hands out the option to change mail passwords webbased, I decided to make this patch to use the DirectAdmin features along with Roundcube. This patch is based in the standard release of Change Password Patch for cPanel Installations, not CVS mods applied.
(http://www.ingeniarte.com/images/rc-password.gif)
Feel free to give me any comments or suggestions you may have.
***
As you might have noticed by now, Im quite lazy... Thats why I just modified Heritz plugin and almost copied his post...
http://roundcubeforum.net/forum/index.php?topic=711.msg3155#msg3155 (http://roundcubeforum.net/forum/index.php?topic=711.msg3155#msg3155)
Hope you guys wont mind ;)
Peace 8)
Hi BoerbooM,
I applied your patch. Seems however, that I'm not getting it to work. When clicking on the password tab, I'm not getting the correct window (getting the settings window instead), although the password tab is the one being highlighted.
I've gone through the scripts, and can't figure it out. I'm using the latest SVN checkout, so the lines were a bit different, but as far as I can see, it should work.
Anyone gotten the same bug, or can confirm that it works on SVN build as of 4 Nov 06?
If I got any time, I'll try to install the latest SVN tomorrow and check it out..
Quote from: BoerbooM If I got any time, I'll try to install the latest SVN tomorrow and check it out..
Thanks! I'm just trying to figure out whether it's a compatibility issue/bug, or a version issue.
Thanks for this patch. It is a lifesaver...lol
Great feature! Thanx for that!
First I coundn't change any password.
After some digging around I found out that there is a hostname in passwd.inc that isn't mine ;)
So I changed passwd.inc
from:
$da_host = 'ownzak.nl';
to:
$da_host = 'localhost';
Now it's working ok.
Confirmed, had the same.
Geuss Boerboom made this
on a monday morning :P
Updated...
It works with the 0.1-beta2 release
Dated: December 22, 2006
Mainly changed some typo's and line numbers. Nothing code based.
Still works fine for me!
The pasword tab doesnt work, when i press on it - no action
i keep getting a message saying:
An Error Occured While Saving
can anyone help
I am getting this error as well. I have applied the patch exactly as instructed within the HowTo.txt file.
The password tab loads properly, but upon saving it fails. Is there some other option in DA we must enable to allow users to change their password outside of the DA interface? I am running DA v1.29.1. Any assistance would be greatly appreciated!
EDIT: I'm stupid, nevermind. Edited the passwd.inc file to my hostname, and bam, worked like a charm! Thanks for the outstanding utility for DA!
For the latest svn-trunk version, do the following:
Instead of:
Quote#
# Open: program/include/main.inc
#
# Find: (line: 1253)
// USER SETTINGS
# After add:
'userpasswd' => 'rcmail_passwd_form',
Do this:
Quote#
# Open: program/steps/settings/func.inc
#
# Find: (line: 271)
// register UI objects
$OUTPUT->add_handlers(array(
# After add:
'userpasswd' => 'rcmail_passwd_form',
hi BoerbooM,
thank you for this patch. but it seems not working with roundcube 0.1 rc2. the password not change at all. do u have any suggestion?
thank you.
Is it possible to re-code this plug-in so it is working perfect?
There are some problems occuring when coding it in 0.1.1
The problem is that the tabs aint working perfect. When you go on tab Password and want to go back to Preferences, you cant.
Also when changing password. when changed, you go to the preferences tab which looks like the Password tab (also not able to click any other tabs in the preferences)
Good afternoon, could you help me please with the script or patch to apply to change password plugin in ROUNCUBE??
Thanks
Update for 0.2a?
Quote from: silicom;3574Hi BoerbooM,
I applied your patch. Seems however, that I'm not getting it to work. When clicking on the password tab, I'm not getting the correct window (getting the settings window instead), although the password tab is the one being highlighted.
I've gone through the scripts, and can't figure it out. I'm using the latest SVN checkout, so the lines were a bit different, but as far as I can see, it should work.
Anyone gotten the same bug, or can confirm that it works on SVN build as of 4 Nov 06?
What is SVN?
SVN = Sub Version Number
/trunk ? RoundCube Webmail ? Trac (http://trac.roundcube.net/browser/trunk)
Thanks go to Nemesis02 for updating the cPanel addon to work with roundcube0.2stable without which this update wouldn't of been possible. Not from me anyway!!
And of course many thanks to BoerbooM for the original plugin
OK, so here's what I did.
I used Nemesis02's README to make the file alterations too:
index.php
program/js/app.js
program/localization/en_US/labels.inc
program/localization/en_US/messages.inc
program/localization/en_GB/labels.inc
program/localization/en_GB/messages.inc
skins/default/includes/settingstab.html
I also kept his password.html and password.inc, replacing the rcube_save_password function with the equivalent rcmail_save_passwd from BoerbooM's passwd.inc, then changed the code to use the encrypt_password function from in the new password.inc.
The httpsocket.php file from BoerbooM's original plugin hasn't changed.
I'll post the patch to the downloads section, follow the README for installation instructions
GOOD LUCK!!! :)
Download here:
RoundCube Webmail Forum - RoundCube Forum Community Downloads - Change Password for DirectAdmin / roundcube0.2stab (http://www.roundcubeforum.net/downloads/plugins-patches/3/change-password-directadmin-roundcube0-2stab-16/)
Mmmm... I can't download this file ? :(
I have cross checked by logging in as rosali2, which is an account without any forum privileges. There are no problems with the download!
Hi all.
my version is 0.2stable
i downloaded RoundCube Webmail Forum - RoundCube Forum Community Downloads - Change Password for DirectAdmin / roundcube0.2stab (http://www.roundcubeforum.net/downloads/plugins-patches/3/change-password-directadmin-roundcube0-2stab-16/)
but when I enter my current, new passwords and click Save there's nothing happen
Please, help me!
i cant find the line 328 in index.php
and line: 1227 in program/include/main.inc
Someone could solve this problem?
When change the password, nothing happens.
Please Help !!!
Thanks
the same by my side.
After filling out the old and new password fields nothing happened.
Any suggestions?
BR
Here's the log file-output:
Quote[26-Mar-2009 13:12:06] PHP Warning: include(program/include/cpanel.php) [function.include]: failed to op
en stream: No such file or directory in /var/kunden/webs/stollis/roundcubemail/program/steps/settings/password.inc on line 27
[26-Mar-2009 13:12:06] PHP Warning: include() [function.include]: Failed opening 'program/include/cpanel
.php' for inclusion (include_path='/var/kunden/webs/stollis/roundcubemail/:/var/kunden/webs/stollis/roundcubemail/program:/var/kunden/we
bs/stollis/roundcubemail/program/lib:/var/kunden/webs/stollis/roundcubemail/program/include:.:/usr/share/php:/usr/share/pear') in /var/k
unden/webs/stollis/roundcubemail/program/steps/settings/password.inc on line 27
[26-Mar-2009 13:12:13] PHP Warning: include(program/include/cpanel.php) [function.include]: failed to op
en stream: No such file or directory in /var/kunden/webs/stollis/roundcubemail/program/steps/settings/password.inc on line 27
[26-Mar-2009 13:12:13] PHP Warning: include() [function.include]: Failed opening 'program/include/cpanel
.php' for inclusion (include_path='/var/kunden/webs/stollis/roundcubemail/:/var/kunden/webs/stollis/roundcubemail/program:/var/kunden/we
bs/stollis/roundcubemail/program/lib:/var/kunden/webs/stollis/roundcubemail/program/include:.:/usr/share/php:/usr/share/pear') in /var/k
unden/webs/stollis/roundcubemail/program/steps/settings/password.inc on line 27
It seems that the file cpanel.php is missing.
I dont use cpanel - just the roundcubemail. (running with courier & postfix)
can't download
how would I install this if I dont use cpanel? and how I installed roundcube was by ubuntu package setup from command line.