From 17a7dae67d9c5e6e326b0c9e60e72a85ab005aa5 Mon Sep 17 00:00:00 2001 From: Friendika Date: Wed, 13 Apr 2011 16:58:21 -0700 Subject: [PATCH] doco --- boot.php | 2 +- doc/Account-Basics.md | 65 +++++++++++++++++++++++++++++++++++++++++++ doc/Home.md | 1 + mod/register.php | 7 +++-- view/settings.tpl | 56 +++++++++++++++++++------------------ 5 files changed, 101 insertions(+), 30 deletions(-) create mode 100644 doc/Account-Basics.md diff --git a/boot.php b/boot.php index bffd4ae2b..fe6aee103 100644 --- a/boot.php +++ b/boot.php @@ -2,7 +2,7 @@ set_time_limit(0); -define ( 'FRIENDIKA_VERSION', '2.1.947' ); +define ( 'FRIENDIKA_VERSION', '2.1.948' ); define ( 'DFRN_PROTOCOL_VERSION', '2.21' ); define ( 'DB_UPDATE_VERSION', 1051 ); diff --git a/doc/Account-Basics.md b/doc/Account-Basics.md new file mode 100644 index 000000000..c7be3ebd4 --- /dev/null +++ b/doc/Account-Basics.md @@ -0,0 +1,65 @@ +Account Basics +============== + +* [Home](help) + + +**Registration** + +Not all Friendika sites allow open registration. If registration is allowed, you will see a "Register" link immediately below the login prompts on the site home page. Following this link will take you to the site Registration page. + +*OpenID* + +The first field on the Registration page is for an OpenID address. If you do not have an OpenID address or do not wish to use OpenID, leave this field blank. If you have an OpenID account elsewhere and wish to use it, enter the address into this field and click 'Register'. Friendika will attempt to extract as much information as possible from your OpenID provider and return to this page with those items already filled in. + +*Your Full Name* + +Please provide your full name as you would like it to be displayed on this system. + +*Email Address* + +Please provide a valid email address. Your email address is **never** published. We need this to send you account information and your login details. You may also occasionally receive notifications of incoming messages or items requiring your attention, but you have the ability to completely disable these once from your Settings page once you have logged in. + +*Nickname* + +A nickname is used to generate web addresses for many of your personal pages, and is also treated like an email address when establishing communications with others. Due to the way that the nickname is used, it has some limitations. It must contain only US-ASCII text characters and numbers, and must also start with a text character. It also must be unique on this system. This is used in many places to identify your account, and once set - cannot be changed. + + + +*Directory Publishing* + +The Registration form also allows you to choose whether or not to list your account in the online directory. This is like a "phone book" and you may choose to be unlisted. We recommend that you select 'Yes' so that other people (friends, family, etc.) will be able to find you. If you choose 'No', you will essentially be invisible and have few opportunities for interaction. Whichever you choose, this can be changed any time from your Settings page after you login. + + +*Register* + +Once you have provided the necessary details, click the 'Register' button. An email will be sent to you providing your account login details. Some sites may require administrator approval before the registration is processed, and you will be alerted if this is the case. Please watch your email (including spam folders) for your registration approval. + + + + +**Login Page** + +On the 'Login' page, please enter your login information that was provided during registration. You may use either your nickname or email address as a Login Name. + +If you use your account to manage multiple '[Pages](help/Pages)' and these all have the same email address, please enter the nickname for the account you wish to manage. + +*If* your account has been OpenID enabled, you may use your OpenID address as a login name and leave the password blank. You will be redirected to your OpenID provider to complete your authorisation. + +Otherwise, enter your password. This will have been initially provided in your registration email message. Your password is case-sensitive, so please check your 'Caps Lock' key if you are having difficulty logging in. + + +**Changing Your Password** + +After your first login, please visit the 'Settings' page from the top menu bar and change your password to something that you will remember. + + +**See Also** + +* [Profiles](help/Profiles) + +* [Groups and Privacy](help/Groups-and-Privacy) + +* [Remove Account](help/Remove-Account) + + \ No newline at end of file diff --git a/doc/Home.md b/doc/Home.md index 2c9f90183..4dccfde84 100644 --- a/doc/Home.md +++ b/doc/Home.md @@ -4,6 +4,7 @@ Friendika Documentation and Resources **Contents** +* [Account Basics](help/Account-Basics) * [Making Friends](help/Making-Friends) * [Tags and Mentions](help/Tags-and-Mentions) * [Profiles](help/Profiles) diff --git a/mod/register.php b/mod/register.php index ec68aaef4..5fe7c0c6d 100644 --- a/mod/register.php +++ b/mod/register.php @@ -85,8 +85,11 @@ function register_post(&$a) { // So now we are just looking for a space in the full name. $loose_reg = get_config('system','no_regfullname'); - if((! $loose_reg) && (! strpos($username,' '))) - $err .= t("That doesn't appear to be your full \x28First Last\x29 name.") . EOL; + if(! $loose_reg) { + $username = mb_convert_case($username,MB_CASE_TITLE,'UTF-8'); + if(! strpos($username,' ')) + $err .= t("That doesn't appear to be your full \x28First Last\x29 name.") . EOL; + } if(! allowed_email($email)) $err .= t('Your email domain is not among those allowed on this site.') . EOL; diff --git a/view/settings.tpl b/view/settings.tpl index 162299f5d..0388bfe0b 100644 --- a/view/settings.tpl +++ b/view/settings.tpl @@ -10,6 +10,35 @@ $nickname_block
+

$lbl_pass1

+ + +
+

+$lbl_pass2 +

+ + +
+
+ +
+ + +
+
+ +
+ $oidhtml +
+
+ + +
+ +
+ +

$lbl_basic

@@ -136,33 +165,6 @@ $profile_in_net_dir
-

$lbl_pass1

- - -
-

-$lbl_pass2 -

- - -
-
- -
- - -
-
- -
- $oidhtml -
-
- - -
- -

$lbl_advn