Roundcube Community Forum

 

cPanel Addons (Password, Forward & Vacation) for v0.2

Started by Nemesis02, May 15, 2008, 11:10:03 PM

Previous topic - Next topic

jetyap

#30
I managed to get the GUI all setup for 0.2 beta but the cpanel.php file isn't working. I think it's not picking up the username and password. Any resolution? Hmmmm

My scenario is like this:
My hosting comes with cPanel 11 and a default selection menu when you access the email via //www.xxxxxxxxx.com/webmail => //www.xxxxxxxxx.com:2096

I installed a stand-alone client and intend to put in this functionality into the new Roundcube stand-alone client. So far all the installation works fine, but I can't figure out how to work the cpanel.php file properly.

tedateoperu

Quote from: saosangm;14488I'm using the latest version of RC, when I click on password button, I get the blank page and I walk into errors log file, there are these lines:
[06-Oct-2008 16:49:33] PHP Fatal error:  Call to undefined function  get_form_tags() in /home/xmail/program/steps/settings/password.inc on line 37
[06-Oct-2008 16:52:52] PHP Fatal error:  Call to undefined function  get_form_tags() in /home/xmail/program/steps/settings/password.inc on line 37

Please help me
saosangm - i was getting similar results and found the solution in the related thread as it relates to .2-beta.  this is an incredible plugin.  my thanks to Nemesis02. contribution to follow when my clients thank me with cash.

RoundCube Webmail Forum - RoundCube Forum Community Downloads - [v0.2] cPanel Addon (Password, Forward & Vacation)

Nemesis02

Quote from: tedateoperu;15310saosangm - i was getting similar results and found the solution in the related thread as it relates to .2-beta.  this is an incredible plugin.  my thanks to Nemesis02. contribution to follow when my clients thank me with cash.

RoundCube Webmail Forum - RoundCube Forum Community Downloads - [v0.2] cPanel Addon (Password, Forward & Vacation)

I'll reload the newest version of roundcube and see bout the installation.

ositobad4

this es fine for Firefox but Internet explorer dont Work!!!! help me?

Nemesis02

#34
It looks like that some changes have been made to the SVN on how roundcube handles directing traffic around, I'll continue looking to see whats goin on.  I installed it on the latest SVN which is 2076 for me.

After looking at the logs, I get this error msg:
Quote[Fri Nov 21 22:03:49 2008] [error] [client 127.0.0.1] PHP Notice:  _doQuery: [Error message: Could not execute statement]\n[Last executed query: PREPARE mdb2_statement_mysql_605941167ffb529e51a96418663477b36f5367c14 FROM 'SELECT cache_id\\r\\n         FROM cache\\r\\n         WHERE  user_id=?\\r\\n         AND    cache_key=?']\n[Native code: 2006]\n[Native message: MySQL server has gone away]\n in C:\\xampplite\\htdocs\\roundcube\\roundcubemail\\program\\include\\bugs.inc on line 101, referer: http: //localhost/roundcube/roundcubemail/?_task=settings&_action=identities

I'll continue looking.

Just so you all know, sorry about not responding sooner, this post should have been set on instant notification but the most recent notification i received was a few days ago.

Nemesis02

#35
Ok, the problem is in Rev. 1939 they deprecated the function rcube_add_label which was causing the problems i ran into.  Besides that, following the instructions as said and the changes to the index.php it worked fine.

I'm going to make the changes needed and re-upload the file.


*UPDATE*
Ok, its been updated and reuploaded.

Nemesis02

#36
Quote from: ositobad4;15340this es fine for Firefox but Internet explorer dont Work!!!! help me?

What won't work in IE? I've tested the password changing myself and it works.

wheaties82

FYI - I have collected together a tutorial on my site about how to change email password for virtual users with multiple email domains without needing C-Panel.  

Props goes to Nemesis02 and xul for the code !! :)

Change Roundcube Password

Nemesis02

Quote from: wheaties82;15821FYI - I have collected together a tutorial on my site about how to change email password for virtual users with multiple email domains without needing C-Panel.  

Props goes to Nemesis02 and xul for the code !! :)

Change Roundcube Password

Cool, thanks for the recognition :)  Appreciate it.

dejoa

Hi wheaties82!

I did it. Before that I had to add one field for password in database.
How I can change login to ask database for password?

wheaties82

#40
I am not sure I understand your question -- depending on how your setup is configured the roundcube login should authenticate against the users and their respective passwords in your database.  When you use the change password function it doesn't look up your password from the database again, rather it just gets the password from the current email session and checks against that password.

Please clarify what you are asking when you want to look up a user's password on login?

If you are asking how to configure roundcube to lookup usernames and passwords via a database, please refer to the Roundcube wiki found here: h t t p : / / t r a c . r o u n d c u b e . n e t / w i k i / H o w t o _ C o n f i g

Look where it says "Configuring for Virtual Users " about 1/2 way down the page. :)

dejoa

OK. Obviously I have to start with question from the beginning. I've installed last version of RoundCube (roundcubemail-0.2-beta2) on my mail server (postfix, dovecot, poppassd, apache2, mysql, ...), and it work nice. You can try it on RoundCube Webmail :: Welcome to RoundCube Webmail with username "cubemail", password "1234"!

But, I need to install "change password" option for our users. I already have installed poppassd which work on port 106. I've tried to install addon "Plesk (poppassd) Password Change for 0.1.1" but it seems don't work on my version of RoundCube. Then, I tried to install "cPanel Addon" but I don't have cPanle :(

Last chance was to install what you suggest and I'm not shure that I understood you very well. I've applied new field for password in the table "users". Then I changed the line with sql command according with it. I got the encrypted password in the databases but nothing happened with the password from the current email session (id est linux password)!

Current instalation is with cPanel Addon only with options for password. So, what how ... I think you understand me :)

Thanks!

willhackett

I have not figured out what is wrong, I am trying to use this but the tabs thing doesn't find it!

Nitin Nimkar

Hi,

My domain uses cPanel but this Plug in is not working normally when I change the password, it goes to http://webmail.xxxx.com/webmail/x3/mail/passwdpop.html?redirectdomain=&email=myname&domain=xxxxx.com

How do I change this path?

Regards,

Nitin

Alvaro_SG

I can't use it. When I click on pass tab doesn't load, and the same with forwards and vacation.