Current time: 12-24-2024, 02:35 AM Hello There, Guest! (LoginRegister)


Post Reply 
PWD Changer @RC7 and Rouncube 0.2 Stable
Author Message
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #11
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
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
02-26-2009 08:51 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Viktor Offline
Junior Member
*

Posts: 118
Joined: Nov 2006
Reputation: 1
Post: #12
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
(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
02-26-2009 08:54 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #13
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
@Cube it´s done.

Can everybody write into the wiki ??

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

greets
02-26-2009 10:33 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #14
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
Quote:Can everybody write into the wiki ??
Allready done:
--> http://www.isp-control.net/documentation...or_webmail

Wink

Greez BeNe
(This post was last modified: 02-26-2009 10:56 PM by BeNe.)
02-26-2009 10:56 PM
Visit this user's website Find all posts by this user Quote this message in a reply
Top44 Offline
Member
***

Posts: 271
Joined: Sep 2007
Reputation: 1
Post: #15
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
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
02-26-2009 11:05 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #16
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
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
02-26-2009 11:08 PM
Visit this user's website Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #17
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
The Wiki is updated.
New Password Changer is included now - big thanks @ Top44.

Greez BeNe
02-27-2009 11:27 PM
Visit this user's website Find all posts by this user Quote this message in a reply
keffer Offline
Junior Member
*

Posts: 25
Joined: Jun 2007
Reputation: 0
Post: #18
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
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
03-16-2009 10:39 PM
Find all posts by this user Quote this message in a reply
BeNe Offline
Moderator
*****
Moderators

Posts: 5,899
Joined: Jan 2007
Reputation: 68
Post: #19
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
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
03-16-2009 10:42 PM
Visit this user's website Find all posts by this user Quote this message in a reply
kbe Offline


Posts: 2
Joined: Apr 2009
Reputation: 0
Post: #20
RE: PWD Changer @RC7 and Rouncube 0.2 Stable
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


Attached File(s)
.patch  changepasswd_ispcp.patch (Size: 18.6 KB / Downloads: 20)
04-07-2009 10:10 AM
Find all posts by this user Quote this message in a reply
Post Reply 


Forum Jump:


User(s) browsing this thread: 4 Guest(s)