Roundcube Community Forum

 

RC 0.2-Beta cPanel Addon (Password, Forward & Vacation)

Started by Yann, November 19, 2008, 10:07:03 PM

Previous topic - Next topic

Yann

Thanks to everybody that contributed to this plug in, especialy Nemesis02 and others. I went through the forum and put this together. :)It works fine for me on RC 0.2-Beta :). , The only thing everyone needed to change is the x3 in program\include\cpanel, look for it on this line: var $path = "webmail/x3/mail";. I host with hostmonster and I changed mine to var $path = "webmail/hostmonster/mail";.  I tested it out, it works great in IE7 and Firefox. Thanks once again to all of you. I was little lazy to post only the files involved: index, app, settingtabs, labels, message, password, forward, vacation. Since I did the changes directly in the RC files before installing it, I'm just uploading the whole thing here.

felipe128

Hey Yann.

Thanks a lot for the plugin it works pretty fine.

Could you let me know what are the necessary updates on the localization files so that every english word has its meaning into portuguese?

Cheers.

Yann

Quote from: felipe128;15567Hey Yann.

Thanks a lot for the plugin it works pretty fine.

Could you let me know what are the necessary updates on the localization files so that every english word has its meaning into portuguese?

Cheers.

Hi felipe128

Here are the instructions I followed, you need to change of course the sentences or words into portuguese. Here are the english instructions, yours should be done in portugese labels.inc and messages.inc

Open program/localization/en_US/labels.inc

/*********************************/

Find:

?>

/*********************************/

Add Before:

$labels['changepassword']  = 'Change Password';
$labels['current_password']  = 'Current Password';
$labels['new_password']  = 'New Password';
$labels['repeat_password']  = 'Repeat Password';

$labels['forwards'] = 'Forwards';
$labels['forwardto'] = 'Forward to';
$labels['address'] = 'Address';
$labels['manageforwards'] = "Manage Forwards";
$labels['addaddress'] = "Add Address";

$labels['vacation'] = "Vacation";
$labels['html'] = "HTML";
$labels['message'] = "Message";

$labels['vacation_help'] = 'When configuring a vacation message you can use the following tags to insert information into your response message.';
$labels['vacation_subject_help'] = 'The subject of the recieved message';
$labels['vacation_from_help'] = 'The sender of the recieved message';
$labels['vacation_email_help'] = 'The sender\'s email from the recieved message';


Open program/localization/en_US/messages.inc

/*********************************/

Find:

?>

/*********************************/

Add before:

$messages['nopassword'] = "Please input new password.";
$messages['passwordinconsistency'] = "Inconsistency of password, please try again.";

taxi

Quote from: Yann;15581Hi felipe128

Here are the instructions I followed, you need to change of course the sentences or words into portuguese. Here are the english instructions, yours should be done in portugese labels.inc and messages.inc

Open program/localization/en_US/labels.inc

/*********************************/

Find:

?>

/*********************************/

Add Before:

$labels['changepassword']  = 'Change Password';
$labels['current_password']  = 'Current Password';
$labels['new_password']  = 'New Password';
$labels['repeat_password']  = 'Repeat Password';

$labels['forwards'] = 'Forwards';
$labels['forwardto'] = 'Forward to';
$labels['address'] = 'Address';
$labels['manageforwards'] = "Manage Forwards";
$labels['addaddress'] = "Add Address";

$labels['vacation'] = "Vacation";
$labels['html'] = "HTML";
$labels['message'] = "Message";

$labels['vacation_help'] = 'When configuring a vacation message you can use the following tags to insert information into your response message.';
$labels['vacation_subject_help'] = 'The subject of the recieved message';
$labels['vacation_from_help'] = 'The sender of the recieved message';
$labels['vacation_email_help'] = 'The sender\'s email from the recieved message';


Open program/localization/en_US/messages.inc

/*********************************/

Find:

?>

/*********************************/

Add before:

$messages['nopassword'] = "Please input new password.";
$messages['passwordinconsistency'] = "Inconsistency of password, please try again.";

worked great for me as well....thanx a lot for your post...

yc3948

THX!!!!!!!!!!!!!!
do you have password change plug for roundcubemail-0.2.1?

fbacarin

Hi,

I need a help... on the tab forward not show list of the mail forwards, just show edit to write mail address for forward... and I can't delete forward added...

someone please...

chlankboot

Hey dude, this is just to thank you for this : "webmail/hostmonster/mail"
you saved my life ;)