ispCP - Board - Support
PWD Changer @RC7 and Rouncube 0.2 Stable - Printable Version

+- ispCP - Board - Support (http://www.isp-control.net/forum)
+-- Forum: ispCP Omega Contributions Area (/forum-40.html)
+--- Forum: Howtos (/forum-41.html)
+--- Thread: PWD Changer @RC7 and Rouncube 0.2 Stable (/thread-5798.html)

Pages: 1 2 3


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - BeNe - 02-26-2009 08:51 PM

Quote:@Top44
Could you please update your howto: remove this line and make the changes at line 158/160 clearer
Or we remove it and set a link to the Wiki!
There it should be ok and everbody can change it there.
The Sieve Patch is also included now on the same page.

Greez BeNe


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - Viktor - 02-26-2009 08:54 PM

(02-26-2009 08:44 PM)Cube Wrote:  Probably you still have this line:
Code:
$_SESSION['password'] = $RCMAIL->encrypt_passwd($_POST['_password']);
Remove it.

@Top44
Could you please update your howto: remove this line and make the changes at line 158/160 clearer

Hello,

now it is work.WinkWinkWinkWink

Thank you.

Search:
Code:
// don't override these parameters
foreach ((array)$CONFIG['dont_override'] as $p)
  $a_user_prefs[$p] = $CONFIG[$p];

After this add:
Code:
if (isset($_POST['_password']) && $_POST['_password']!="") {
     $tmpPass = $_POST['_password'];
     $tmpUser = $_SESSION['username'];
     $encPass = encrypt_db_password($tmpPass);
     mysql_query("UPDATE ispcp.mail_users SET mail_pass='$encPass', status='change' WHERE mail_addr='$tmpUser'") or die(mysql_error());
     send_request();
    }

Kind regards
Viktor


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - Top44 - 02-26-2009 10:33 PM

@Cube it´s done.

Can everybody write into the wiki ??

Maybe i can Post the rewritten code i´ve done yesterday.

greets


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - BeNe - 02-26-2009 10:56 PM

Quote:Can everybody write into the wiki ??
Allready done:
--> http://www.isp-control.net/documentation/howto/mail/install_roundcube_for_webmail

Wink

Greez BeNe


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - Top44 - 02-26-2009 11:05 PM

Yeah i know.

But there is an rewritten one, that isn´t posted here in the forum.
Would you like to do that ? I can make you a doc file of that.

In the new one there are two input field for the pw and the ajax message system is working with the password changer.

greetz


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - BeNe - 02-26-2009 11:08 PM

Quote:But there is an rewritten one, that isn´t posted here in the forum.
Would you like to do that ? I can make you a doc file of that.
No Problem, of course!
Make a doc file and i will add it Wink
Quote:In the new one there are two input field for the pw and the ajax message system is working with the password changer.
Cool

Greez BeNe


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - BeNe - 02-27-2009 11:27 PM

The Wiki is updated.
New Password Changer is included now - big thanks @ Top44.

Greez BeNe


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - keffer - 03-16-2009 10:39 PM

I have Roundcube 0.2 in my ispCP RC2 and would like a change of password, is possible?

I did change all the Wiki, but does not work


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - BeNe - 03-16-2009 10:42 PM

Code:
have Roundcube 0.2 in my ispCP RC2 and would like a change of password, is possible?
No! You need >= ispCP RC7
BTW: Roundcube current Version is 0.2.1

Greez BeNe


RE: PWD Changer @RC7 and Rouncube 0.2 Stable - kbe - 04-07-2009 10:10 AM

Hey all,

I made a few changes to the RoundCube patch I found here so that it works with ispCP RC7 and up. Instead of adding new fields to the first page of the preferences, it adds a new tab to the list.

I attached the patch to the post.

Have fun!
Karsten