looooooooooooooooooool, I can't beleive receiving this email when I was 
thinking about answering 
vivia' mail with "ok, you want a specific task, this is one thing I really want 
and I would want 
someone to be assigned to do it..." man, stop reading my mind please :p
anyways, this looks good, but the remember_me option is not necessary in the 
xml, if you don't 
want to remember the user, then why write it in the xml at all ?
also, the password and last_dp path ? is it necessary to have those in the xml? 
or shouldn't we 
just load the config.xml file of a user once you select his profile and that 
should load the 
last dp and password in config() ...
in the end, there's nothing more necessary in the xml, so we might as well keep 
it as a 
one-line-per-profile file... 
anyways, I was going to do some proof of concept once I get home, let me put 
those in writing 
too :
same idea as WLM, login box editable, when profile selected, should switch 
automatically, etc... 
the remember me button, msg_box asking to confirm, if yes, another msg_box with 
:
"You have :
10MB of conversation logs
250MB of webcam logs
100MB of cached display pictures
200KB of cached voice clips

Do you want to also purge your profile's settings and logs (they will be 
definitly lost) ?

yes | no
"

how about that ? about the code, I think it will be doable without heavy 
modification of the 
current code (not including the new code) as the login screen/profile thingy is 
small and not 
too spaghetti with the rest of the code.
are you designing it or willing to code it ?

thanx
KKRT


On Tue, Oct 17, 2006 at 09:07:52AM +0100, [EMAIL PROTECTED] wrote:
> Hi all,
> I have been thinking a little about ways of doing our login screen the
> same way as Windows Live Messenger (display pic at top if
> cached/whatever, box for username and password, checkboxes for
> remember me and remember my password, button to 'forget me', etc etc)
> and I'll just share my thoughts below (I dont have time yet to
> actually code anything):
> 
> Instead of 'profiles' file in .amsn dir, we need a profiles.xml file
> that looks something like this:
> <profiles>
>     <profile>
>         <email>[EMAIL PROTECTED]</email>
>         <remember_me>0</remember_me>
>         <remember_pass>0</remember_pass>
>         <last_display_pic>/path/to/display/pic</last_display_pic>
>     </profile>
> 
>     <profile>
>         <email>[EMAIL PROTECTED]</email>
>         <remember_me>1</remember_me>
>         <remember_pass>1</remember_pass>
>         <last_display_pic>/path/to/display/pic</last_display_pic>
>     </profile>
> 
>     <profile>
>         <email>[EMAIL PROTECTED]</email>
>         <remember_me>1</remember_me>
>         <remember_pass>0</remember_pass>
>         <last_display_pic>/path/to/display/pic</last_display_pic>
>     </profile>
> </profiles>
> 
> We'd also need some procs with good names like so (I might be
> duplcating ones we already have here, I dont know what we've already
> got):
> 
> *CreateProfile(email, remember_me, remember_pass)
> *GetProfiles() (reads xml file, returns list of profiles)
> *GetProfileSettings (reads array of profiles to get settings)
> 
> Hmm or maybe we'd be better off with an object:
> 
> <code for snit object to store profile settings>
> 
> proc CreateProfile { email, rememberme, rememberpass }
> {
>     set profile [profile newProfile -email $email -rememberme
> $rememberme -rememberpass $rememberpass]
>     puts -nonewline "got profile with email: $email"
>     writeProfileXML $email $rm $rp
>     return $profile
> }
> 
> set profile [CreateProfile [EMAIL PROTECTED]  0 0]
> 
> then to get settings you can simply $profile cget -email or whatever....
> 
> Thats just a couple of rough ideas that I wanted to get down on paper,
> add to them if you like or whatever :)
> 
> Tom
> 
> -------------------------------------------------------------------------
> Using Tomcat but need to do more? Need to support web services, security?
> Get stuff done quickly with pre-integrated technology to make your job easier
> Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
> http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
> _______________________________________________
> Amsn-devel mailing list
> Amsn-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/amsn-devel

-------------------------------------------------------------------------
Using Tomcat but need to do more? Need to support web services, security?
Get stuff done quickly with pre-integrated technology to make your job easier
Download IBM WebSphere Application Server v.1.0.1 based on Apache Geronimo
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=120709&bid=263057&dat=121642
_______________________________________________
Amsn-devel mailing list
Amsn-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/amsn-devel

Reply via email to