I am looking to install roundcube for one of my clients on their web server and was looking for to do some customization and do some of the following. I have searched these boards and on google and have found partial solutions.
1) Center the roundcube logo at the login page.
I have already changed the logo with a customized one, I just want to center it. I can't find which page to center it on.
2) Remove
a) The ability to add identities (to prevent email spoofing)
b) Remove the email address portion of the edit identites page (again to prevent email spoofing).
I was able to remove the Add Identity button by editing one of the pages in the skin.
I was also able to do b) (by editing the programs/steps/settings/edit_identity.inc and save_identity.inc files and removing 'email' from the arrays, however now everytime I save my default identity, it tells me that "The form was not completely filled out."
Anyone know how I can fix this?
Thanks,
in case of identity just go to
save_identity.inc line no 26 find out
$a_save_cols = array('name', 'email', 'organization', 'reply-to', 'bcc', 'standard', 'signature', 'html_signature');
$a_html_cols = array('signature');
$a_boolean_cols = array('standard', 'html_signature');
$updated = $default_id = false;
// check input
Place a print_r($_POST);
result will be like this
Array ( [_task] => settings [_action] => save-identity [_iid] => 1505 [_name] => yourname [_organization] => yourcompany [_reply-to] => youremail [_bcc] => [_signature] => )
now check whick validation field you are missing
usually
if (empty($_POST['_name']) ||
empty($_POST['_email']))
should be
if (empty($_POST['_name']) || empty($_POST['_reply-to']))
PART TWO
if you want to solve issue from root then do following
Go to edit_identity.inc and add line in
red below
$a_show_cols = array('name' => array('type' => 'text', 'size' => $i_size),
'organization' => array('type' => 'text', 'size' => $i_size),
'email' => array('type' => 'text', 'size' => $i_size), 'reply-to' => array('type' => 'text', 'label' => 'reply-to', 'size' => $i_size),
'bcc' => array('type' => 'text', 'size' => $i_size),
'signature' => array('type' => 'textarea', 'size' => $t_cols, 'rows' => $t_rows),
'html_signature'=>array('type' => 'checkbox', 'label' => 'htmlsignature', 'onclick' => 'return rcmail.toggle_editor(this, \'rcmfd_signature\');'),
now no issue is left