Roundcube Community Forum

Release Support => Pending Issues => Topic started by: kaswistry on November 26, 2010, 07:59:47 AM

Title: How can I do the following?
Post by: kaswistry on November 26, 2010, 07:59:47 AM
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]
Any ideas guys?

Thanks for the help in advance

:)
Title: How can I do the following?
Post by: d00s7w on November 26, 2010, 09:03:08 AM
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.
Title: How can I do the following?
Post by: kaswistry on November 26, 2010, 09:05:42 AM
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]
Title: How can I do the following?
Post by: d00s7w on November 26, 2010, 09:16:56 AM
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?)
Title: How can I do the following?
Post by: kaswistry on November 26, 2010, 09:19:06 AM
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
Title: How can I do the following?
Post by: kaswistry on November 26, 2010, 09:27:43 AM
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? :)
Title: How can I do the following?
Post by: alec on November 26, 2010, 11:24:14 AM
There's no such option in Roundcube, but you can write a plugin which will replace @ with +.