First, I'd like to say that this is one of a great program and I'm really glad I installed it with the least problems.
I would like to customize certain features of it though and I would like to ask your help please.
(http://img543.imageshack.us/img543/2708/loginpage.png)
Looking at the picture above:
1) How can I remove the server field and AUTOMATICALLY add a constant value for that one? Hence, users should just see username and password and the server value would be automatically added.
2)My server requires that I login with [username]
- [domain.com]. Hence, my usernames should look like user+domain.com and dummy+domain.com. I would like my users to just put their usernames, usr and dummy, without adding +domain.com - this should be added automatically.
Any ideas guys?
Thanks for the help in advance
:)
hi you need to find the main.inc.php file and make sure that the following line appears:
$rcmail_config['username_domain'] = '';
make sure it is blank, then the server box should not appear.
Hello and thanks for the reply.
yes, I do need it to be invisible but I also need to provide the server value. I was thinking of adding the field with the value and just hiding the form :)
Any ideas for this one?
2)My server requires that I login with [username]
- [domain.com]. Hence, my usernames should look like user+domain.com and dummy+domain.com. I would like my users to just put their usernames, usr and dummy, without adding +domain.com - this should be added automatically.
try playing with the line:
$rcmail_config['default_host'] = '';
if you put your host in there, and use just for username instead of @
(i am not too experienced, but i went through something similar a while back, so sorry if it doesn't work, maybe other people can help you better?)
Actually, I already tried that. I added +domain.com because my host requires that username[+domain.com]. I think its not working because the software automatically adds the @ symbol. If I could just manage to edit the software to NOT add @ symbol or replace @symbol with +, it would fix everything :D
Just a quick update,
I have managed to remove the server field already. I just have to figure out a way to automatically append [+domain.com] to whatever username my users have typed. any ideas? :)
There's no such option in Roundcube, but you can write a plugin which will replace @ with +.