RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Third Party Contributions > Plug-Ins

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 10-06-2006, 03:23 AM
Registered User
 
Join Date: Aug 2006
Posts: 58
Downloads: 0
Uploads: 0
Default Change Password Patch for cPanel installations - UPDATED to 0.1 STABLE!

CURRENTLY WORKING ON THE PATCH FOR cPanel X3 THEMES. THANKS FOR YOUR PATIENCE.

First of all I would like to let you know that cPanel 10 is deprecated; so if you are still under cPanel 10, please ask your hosting provider for an update. Also, the latest cPanel 11 does not work well without the X3 theme. That's right, the X theme is no longer being supported by cPanel. Since some users have X3 and others are still under X, I am releasing a version for every theme. The X3 version of this patch is currently under development.

I am glad to announce the Change Password Patch for cPanel 11 Installations 0.1 STABLE. Since cPanel servers store the passwords under shadow files in a non-standard location, I decided to make this patch to use the cPanel integrated features along with Roundcube. This patch is based in the standard release of Roundcube, not CVS mods applied.

IMPORTANT: The following patch requires cURL to work properly, so make sure that your PHP installation is compiled with cURL before installing this patch.



Patch Website: http://lmbcyouth.us/guest/rcpasswd.php
(in the website you will be able to find the patches for cPanel 10 and 11, depending of your system)

Info about cURL in PHP: http://curl.haxx.se/libcurl/php/

Feel free to give me any comments or suggestions you may have.
CURRENTLY WORKING ON THE PATCH FOR cPanel X3 THEMES. THANKS FOR YOUR PATIENCE.
__________________
Heritz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 10-06-2006, 05:15 AM
Registered User
 
Join Date: Sep 2006
Posts: 10
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

Thanks Danny I downloaded and installed this patch and it did what it said it would do only very elegantly. The only thing is the session password being the old password so after you change your password if you try to go back to inbox, RC can not connect to the server because the new password is different from the session password
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 10-06-2006, 05:17 AM
Registered User
 
Join Date: Aug 2006
Posts: 58
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

True, when the system try to connect to the IMAP server and the password has changed, it will log you out. I am working on it, so I can edit the SESSION var and store the new password on it.
__________________
Heritz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 10-06-2006, 05:46 AM
Registered User
 
Join Date: Aug 2006
Posts: 58
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

Quote:
Originally Posted by AzBlk
Thanks Danny I downloaded and installed this patch and it did what it said it would do only very elegantly. The only thing is the session password being the old password so after you change your password if you try to go back to inbox, RC can not connect to the server because the new password is different from the session password
Fixed: From now the user will be still logged in after changing the password.
__________________
Heritz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 10-06-2006, 07:58 AM
Registered User
 
Join Date: Sep 2006
Posts: 10
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

Yup Its working..Just like I said it would.. Thanks man for sharing this good work
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 10-12-2006, 10:10 PM
Registered User
 
Join Date: Oct 2006
Posts: 8
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

I downloaded the Patch for the password change and uploaded all of the files to my webserver, but whenever I try to change my Password it gives me an error. I was just wondering if you could point me in the right direction on what I am doing wrong here? I don't know for sure if my webserver host has cURL installed, but when I checked it out it said that it is built-in since PHP 4.0.2.

Thanks,
Alex
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 10-13-2006, 02:39 PM
Registered User
 
Join Date: Aug 2006
Posts: 58
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

Hi,

Well, PHP has cURL built in since 4.0.2 but your hosting provider has to compile Apache-PHP with cURL. To check if you have cURL or not make a file with the following contents, upload it to your root directory and run it on the browser:

Code:
<?php
phpinfo();
?>
In the "configure command" section you should have something like: '--with-curl'.
Look for that part and let me know. Regards,

Danny
__________________
Heritz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 10-20-2006, 05:23 AM
Registered User
 
Join Date: Jun 2006
Posts: 27
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

thanks!
this worked better and was much easier to implement than other change password patches
__________________
Don't click here!!
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 10-21-2006, 01:59 AM
Registered User
 
Join Date: Aug 2006
Posts: 58
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

Nice to hear that, enjoy it!
__________________
Heritz
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 10-21-2006, 05:21 AM
Registered User
 
Join Date: Oct 2006
Posts: 8
Downloads: 0
Uploads: 0
Default Re: Change Password Patch for cPanel installations

Quote:
Originally Posted by Heritz
Hi,

Well, PHP has cURL built in since 4.0.2 but your hosting provider has to compile Apache-PHP with cURL. To check if you have cURL or not make a file with the following contents, upload it to your root directory and run it on the browser:

Code:
<?php
phpinfo();
?>
In the "configure command" section you should have something like: '--with-curl'.
Look for that part and let me know. Regards,

Danny
Danny,

Thanks for the reply by the way. I check out the PHPinfo and it looks like it does sya '--with-curl' here is what it says:

Configure Command '../configure' '--with-pear' '--with-mysql=/usr' '--with-zlib' '--enable-debug=no' '--enable-safe-mode=no' '--enable-discard-path=no' '--with-gd=/usr' '--with-png-dir=/usr/lib' '--enable-track-vars' '--with-db' '--with-gdbm' '--enable-force-cgi-redirect' '--with-ttf=/usr/' '--enable-ftp' '--with-mcrypt' '--enable-dbase' '--enable-memory-limit' '--enable-calendar' '--enable-wddx' '--with-jpeg-dir=/usr/src/kundenserver/jpeg-6b' '--enable-bcmath' '--enable-gd-imgstrttf' '--enable-shmop' '--enable-mhash' '--with-mhash=/usr/src/kundenserver/mhash-0.8.9/' '--with-openssl' '--enable-xslt' '--with-xslt-sablot' '--with-dom' '--with-dom-xslt' '--with-dom-exslt' '--with-imap' '--with-curl' '--with-iconv=/usr/local' '--with-freetype-dir=/usr/include/freetype2' '--with-bz2' '--with-gettext' '--enable-exif' '--with-idn' '--enable-mbstring=all'

Thanks for all your help.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 07:41 PM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community