Cool VL Viewer forum

View unanswered posts | View active topics It is currently 2024-03-19 07:44:09



Reply to topic  [ 4 posts ] 
Feature Request: Easy use of Login Form with Usernames 
Author Message

Joined: 2010-09-30 17:54:18
Posts: 29
Reply with quote
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.


2011-04-12 14:49:39
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
This is incompatible with OpenSim grids.


2011-04-12 21:46:17
Profile WWW

Joined: 2010-09-30 17:54:18
Posts: 29
Reply with quote
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 10771 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.


2011-04-14 18:41:42
Profile

Joined: 2009-03-17 18:42:51
Posts: 5523
Reply with quote
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 10764 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).


2011-04-15 13:21:55
Profile WWW
Display posts from previous:  Sort by  
Reply to topic   [ 4 posts ] 

Who is online

Users browsing this forum: No registered users and 4 guests


You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Jump to:  
Powered by phpBB® Forum Software © phpBB Group
Designed by ST Software.