Cool VL Viewer forum
http://sldev.free.fr/forum/

Feature Request: Easy use of Login Form with Usernames
http://sldev.free.fr/forum/viewtopic.php?f=9&t=490
Page 1 of 1

Author:  poochieD [ 2011-04-12 14:49:39 ]
Post subject:  Feature Request: Easy use of Login Form with Usernames

I've got a suggestion to improve login on Cool VL Viewer, especially for new residents of Second Life, who now only got a single username for login, instead of a first name / last name:

1) If the "last name" field is left blank, the viewer could use "Resident" as a default.
or
2) Use a single Viewer 2.x style field for the username. Older residents and other grid users can still separate their first name / last name with a space.

Either solution would:
  • Ease logins for everybody who has a username and
  • Save save some "I don't have a last name, what should I do?" questions from people new to second life, who could possibly see this as an obstacle and drop the Cool VL Viewer if they don't know what to do, while
  • Having low impact on the login habits of older residents.

Author:  Henri Beauchamp [ 2011-04-12 21:46:17 ]
Post subject:  Re: Feature Request: Easy use of Login Form with Usernames

This is incompatible with OpenSim grids.

Author:  poochieD [ 2011-04-14 18:41:42 ]
Post subject:  Re: Feature Request: Easy use of Login Form with Usernames

You're right, if blank last names are valid for login on OpenSim grids, this would be incompatible as blank would be automatically replaced by "Resident". Though I couldn't find the documentation about OpenSim login.
Are blank last names really allowed for login on OpenSim grids.

Even if they are valid, trying to use a blank last name in Cool VL Viewer 1.25.0.30 would result in this:
Attachment:
File comment: trying to login with blank last name
screenshot.gif
screenshot.gif [ 11.64 KiB | Viewed 22484 times ]

It seems that Cool VL Viewer blocks the attemt to use a blank last name anyway.

Instead of simply sending the user back to login prompt, the viewer could make a "smart" guess about what the user might have had in mind with this usecase. -> login to Second Life with a username.
This could be easily archived by adding the second branch of this if-statement.
llpanellogin.cpp from line 1095:
Code:
if (!first.empty() && !last.empty())
{
   // has both first and last name typed
   sInstance->mCallback(0, sInstance->mCallbackData);
}
else if (!first.empty() && last.empty())
{
   // has only first name typed, trying "Resident" as default last name
   sInstance->childSetText("last_name_edit", std::string("Resident"));
   sInstance->mCallback(0, sInstance->mCallbackData);
}
else
{
   LLNotifications::instance().add("MustHaveAccountToLogIn", LLSD(), LLSD(),
   LLPanelLogin::newAccountAlertCallback);
}

Note: This is just a change of the user experience. The undelying login procedures are left untouched.

Author:  Henri Beauchamp [ 2011-04-15 13:21:55 ]
Post subject:  Re: Feature Request: Easy use of Login Form with Usernames

I still don't like your solution, since it means that someone accidentally failing to give the last name for an OpenSim grid would get it silently and automatically replaced with "Resident", potentially letting them clueless about why they fail to login...

In v1.25.0.31 I instead changed the dialog to look like this:
Attachment:
NewWarningDialog.png
NewWarningDialog.png [ 21.79 KiB | Viewed 22477 times ]

It got the advantage to educate the user, explaining them that in SecondLife their actual last name is "Resident" (which will be useful afterward since they will see it used in many dialogs and scripts).

The "Create a new account" button was also removed on purpose, since it won't work on OpenSim grids (it always points to SL's website).

Page 1 of 1 All times are UTC
Powered by phpBB® Forum Software © phpBB Group
https://www.phpbb.com/