RoundCube Webmail Forum  

Go Back   RoundCube Webmail Forum > Release Support > Older Versions > 0.1 Beta 1

For more information about the ads and why they're here, please see the FAQ
Reply
  #1  
Old 07-08-2006, 01:31 AM
Registered User
 
Join Date: Jul 2006
Posts: 3
Downloads: 0
Uploads: 0
Default auto-login in roundcube

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #2  
Old 07-08-2006, 03:46 AM
bpat1434's Avatar
Administrator
 
Join Date: Jun 2006
Location: Maryland, USA
Posts: 597
Downloads: 14
Uploads: 0
Send a message via ICQ to bpat1434 Send a message via AIM to bpat1434 Send a message via MSN to bpat1434 Send a message via Yahoo to bpat1434 Send a message via Skype™ to bpat1434
Default Re: auto-login in roundcube

Add javascript that submits the form. Add values into the form.
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #3  
Old 07-08-2006, 07:01 AM
Registered User
 
Join Date: Jul 2006
Posts: 3
Downloads: 0
Uploads: 0
Default Re: auto-login in roundcube

Quote:
Originally Posted by Brett
Add javascript that submits the form. Add values into the form.
Javascript ist not my passion. Can you help me?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #4  
Old 07-08-2006, 06:48 PM
bpat1434's Avatar
Administrator
 
Join Date: Jun 2006
Location: Maryland, USA
Posts: 597
Downloads: 14
Uploads: 0
Send a message via ICQ to bpat1434 Send a message via AIM to bpat1434 Send a message via MSN to bpat1434 Send a message via Yahoo to bpat1434 Send a message via Skype™ to bpat1434
Default Re: auto-login in roundcube

Code:
<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:

Code:
<body onLoad="javascript:document.forms.login.submit();">
It's as easy as that...
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #5  
Old 07-10-2006, 10:50 PM
Registered User
 
Join Date: Jul 2006
Posts: 2
Downloads: 0
Uploads: 0
Default Re: auto-login in roundcube

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
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #6  
Old 07-12-2006, 03:27 AM
Registered User
 
Join Date: Jun 2006
Posts: 37
Downloads: 0
Uploads: 0
Default Re: auto-login in roundcube

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #7  
Old 07-12-2006, 09:04 PM
Registered User
 
Join Date: Jul 2006
Posts: 2
Downloads: 0
Uploads: 0
Default Re: auto-login in roundcube

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?
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #8  
Old 07-12-2006, 11:02 PM
Registered User
 
Join Date: Jun 2006
Posts: 37
Downloads: 0
Uploads: 0
Default Re: auto-login in roundcube

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.
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #9  
Old 07-14-2006, 02:44 PM
bpat1434's Avatar
Administrator
 
Join Date: Jun 2006
Location: Maryland, USA
Posts: 597
Downloads: 14
Uploads: 0
Send a message via ICQ to bpat1434 Send a message via AIM to bpat1434 Send a message via MSN to bpat1434 Send a message via Yahoo to bpat1434 Send a message via Skype™ to bpat1434
Default Re: auto-login in roundcube

Quote:
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:
PHP Code:
$rcmail_config['default_host'
just give the host you want to use, like "imap.mydomain.com" and the server box will disappear.
__________________

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
  #10  
Old 07-14-2006, 02:53 PM
Registered User
 
Join Date: Jul 2006
Posts: 46
Downloads: 0
Uploads: 0
Send a message via MSN to simoesp
Default Re: auto-login in roundcube

another way is to set a domain cookie encrypted with blowfish the user and password
__________________
--------------------------------------------------------<br /> **&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; S.I.M.O.E.S.P.&nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; &nbsp; **<br />--------------------------------------------------------
Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply


Currently Active Users Viewing This Thread: 1 (0 members and 1 guests)
 
Thread Tools
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

For more information about the ads and why they're here, please see the FAQ

All times are GMT. The time now is 11:52 AM.


Powered by vBulletin® Version 3.7.3
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
Search Engine Friendly URLs by vBSEO 3.2.0
Copyright © 2006-2008 RoundCube Webmail Community