Roundcube Community Forum
Release Support => Older Versions => 0.1 Beta 1 => Topic started by: getvmware on July 07, 2006, 08:31:37 PM
-
Hallo,
i don't want that roundcube ask me to tellhim username and passwort. I want to edit the index.php to go automaticly to the imap account.
Any ideas?
Greets
getmware
-
Add javascript that submits the form. Add values into the form.
-
Add javascript that submits the form. Add values into the form.
Javascript ist not my passion. Can you help me? ::)
-
<form id="login" method="post" action=".as.dnfliwenraslnkaser.php">
<label id="Username">Username: <input type="text" name="user" id="Username" value="myuser@domain.com"/></label>
<label id="Password">Password: <input type="password" name="pass" id="Password" value="mypassword123"/></label>
</form>
Set your form up so the values are filled in ;) Above is just an example.
Then you'd use some javascript to submit the form:
It's as easy as that...
-
I'd like something similar to this, but for the form to automatically insert the mail server. I've tried to look for a way to do this. I'm not skilled in this area, but I'm sure one of you can help me with this. Thanks
-
why would you want it to insert the server? and why would you want others to be able to logon as you?
i was thinking of adding code to make a cookie remember your username and password if you select a checkbox or option but havent had time to sit down with the code - dynamicdrive.com has such a script if anyone else with the time is interested. this would be much better as you would only have to tell it once.
-
instead of automatically loging-in, i would like the form to already have the server name inserted into the form so that users do not have to input the server, only their name and password. How can I do this?
-
you can manually add the short name into the alias field in the RC database if there aren't too many users - that is how i did it so i wouldnt have to change things down the road - such as new skin installs that would over write code placed on the pages.
you do this after the user has logged in the first time - this adds them to the RC database.
-
instead of automatically loging-in, i would like the form to already have the server name inserted into the form so that users do not have to input the server, only their name and password. How can I do this?
In the config file, where it says:
$rcmail_config['default_host'] just give the host you want to use, like "imap.mydomain.com" and the server box will disappear.
-
another way is to set a domain cookie encrypted with blowfish the user and password