Author Topic: Allowing ' into usernames  (Read 2253 times)

0 Members and 1 Guest are viewing this topic.

Offline Ewa'tuì

  • Ketuwong
  • *
  • Posts: 24
  • nv Eywa'eveng
  • Karma: 0
  • A smooth sea never made a skilled sailor...
Allowing ' into usernames
« on: February 24, 2020, 01:38:22 pm »
Hiya! As some know, my na'vi name is Ewa'tuì.

I wasn't able to register my name that way because ' aren't allowed. So I went with Ewa tuì.

Maybe allow ', but only one or two? So people don't spam them? And that their names can't be plain '?
Or, even better, allow people to have ' but they have to go through a process of having it accepted by a mod before it is used.

Just a suggestion. ♥

Offline Toliman

  • Palulukan Makto
  • *****
  • Posts: 8592
  • nv Eywa'eveng
  • Karma: 33
  • Tsatseng mìkam sanhì - tsaw lu oeyä kifkey!
Re: Allowing ' into usernames
« Reply #1 on: February 24, 2020, 01:51:20 pm »
Hmm, interesting that ' is not allowed.
In any case I intentionally rather choiced name without special letters and characters ;D

Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Eywatsyìp
  • *****
  • *
  • *
  • Posts: 10007
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Allowing ' into usernames
« Reply #2 on: February 24, 2020, 02:22:51 pm »
Kaltxi

Well, the reason is because ' is an element used by php for programming. The forum's username is an important part for various funcions of the forum, and that's why one can't add ' as part of a username.

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

Offline Toliman

  • Palulukan Makto
  • *****
  • Posts: 8592
  • nv Eywa'eveng
  • Karma: 33
  • Tsatseng mìkam sanhì - tsaw lu oeyä kifkey!
Re: Allowing ' into usernames
« Reply #3 on: February 24, 2020, 03:03:17 pm »
Yeah, that is understandable. I didn't consider about programming...

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9986
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Allowing ' into usernames
« Reply #4 on: February 24, 2020, 08:10:27 pm »
It's actually kinda dumb that the workaround that SMF chose to get around SQL injections is to just not allow the apostrophe character whatsoever. They totally could still have prevented injections while still allowing that character in usernames / display names.
« Last Edit: February 24, 2020, 08:13:41 pm by Tirea Aean »

kelku ikranä a hawnventi yom podcast (na'vi-only): https://bit.ly/kelkuikranä
Learn Na'vi at Mo'ara Discord: https://discord.gg/WF6qcmv

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9986
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Allowing ' into usernames
« Reply #5 on: February 24, 2020, 08:12:07 pm »
This is a test.

* Tirea 'Aean adds a ' temporarily to username

Okay, so You actually can change your display name to have an apostrophe character. I guess the actual Username cannot have apos.

What you can do to add the ' back in, is to go to https://forum.learnnavi.org/profile/?area=account and then fill out the Name field how you like (with the apostrophe) and then enter your password in the Current password field, then click the Change profile button. :D

kelku ikranä a hawnventi yom podcast (na'vi-only): https://bit.ly/kelkuikranä
Learn Na'vi at Mo'ara Discord: https://discord.gg/WF6qcmv

Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Eywatsyìp
  • *****
  • *
  • *
  • Posts: 10007
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Allowing ' into usernames
« Reply #6 on: February 24, 2020, 11:33:14 pm »
I can not remember why exactly SMF makes an difference between username and display name. An apostrophe will cause issues for example sending PMs to someone. The scripts that perform sending a PM would not work if an apostrophe is a part of the username. SMF is hadling that by using usernames, other forum software are using IDs or something else.

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9986
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Allowing ' into usernames
« Reply #7 on: February 24, 2020, 11:40:03 pm »
I remember that. Oh what a pain in the txìm...

kelku ikranä a hawnventi yom podcast (na'vi-only): https://bit.ly/kelkuikranä
Learn Na'vi at Mo'ara Discord: https://discord.gg/WF6qcmv

Offline `Eylan Ayfalulukanä

  • Palulukan Makto
  • *****
  • *
  • *
  • Posts: 4767
  • us United States
  • Karma: 44
  • Palulukan alu Kenya 06/23/1996 - 01/15/2017
    • The Lionlamb website
Re: Allowing ' into usernames
« Reply #8 on: February 25, 2020, 09:57:32 pm »
I ran into this problem very early on, and never understood why this is until now. To this day, my username starts with `eylan. That is actually the 'grave accent' character, even though the grave accent mark belongs over the letter it modifies.

Yawey ngahu!
pamrel si ro [email protected]

Offline archaic

  • Palulukan Makto
  • *****
  • Posts: 3587
  • Karma: 74
  • Writing more fanfic.
Re: Allowing ' into usernames
« Reply #9 on: February 27, 2020, 01:35:58 pm »
Do I remember that here was a work around, for sending PM's to members with a ` in their name?
Pasha, an Avatar story, my current fanfic, Avatar related.

The Dragon Affair my last fanfic, non Avatar related.

Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Eywatsyìp
  • *****
  • *
  • *
  • Posts: 10007
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Allowing ' into usernames
« Reply #10 on: March 03, 2020, 05:33:00 pm »
That PM issue was - if I remember me correctly - the days we have run SMF 1.1.x. The work around was using the username instead the display name. SMF 2.0.x handles it a bit differently.

However, if someone really want to have an apostrphe-like letter, just use alternative character such as "grave accent". :)

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

Offline Tirea Aean

  • The Blue One
  • Olo'eyktan Anawm
  • Palulukan Makto
  • *****
  • *
  • *
  • *
  • Posts: 9986
  • nv Eywa'eveng
  • Karma: 243
  • Oeri ran lu srung
    • Tirea Aean
Re: Allowing ' into usernames
« Reply #11 on: March 03, 2020, 05:43:15 pm »
Even though no username can be registered when containing the apostrophe character, you add the regular apostrophe character to your display name: After registration, just go in profile settings and put the apostrophe back in the display name where it should go. This is the easy fix I mentioned before, in Reply #5. :)
As for sending a PM to such people with a '-containing name, I thought that this "just works" on SMF2 kefyak?

kelku ikranä a hawnventi yom podcast (na'vi-only): https://bit.ly/kelkuikranä
Learn Na'vi at Mo'ara Discord: https://discord.gg/WF6qcmv

Offline Tìtstewan

  • LearnNavi Zeykoyu
  • Toruk Makto
  • Eywatsyìp
  • *****
  • *
  • *
  • Posts: 10007
  • de Germany
  • Karma: 324
  • Ke lu oeru kea krr krrtalun!
    • My YouTube Channel
Re: Allowing ' into usernames
« Reply #12 on: March 03, 2020, 06:15:29 pm »
As for sending a PM to such people with a '-containing name, I thought that this "just works" on SMF2 kefyak?
SMF 2.0.x "autofill" or suggest the member's name you wish to PM if sufficient characters has been typed. Internally, it uses then the username, as far as I have understood the procedure of sending PMs. :)

-| Dict-Na'vi.com | Na'viteri Files | FAQ | LM | Puk Pxaw 'Rrta | Kem si fu kem rä'ä si, ke lu tìfmi. |-

 

Become LearnNavi's friend on Facebook Follow LearnNavi on Twitter! Watch LearnNavi's videos on YouTube

SMF 2.0.18 | SMF © 2021, Simple Machines | XHTML | RSS | WAP2 | Site Rules

LearnNavi is not affiliated with the official Avatar website,
James Cameron, LightStorm Entertainment or The Walt Disney Company.
All trademarks and servicemarks are the properties of their respective owners.
Images in the LearnNavi.org Forums and Gallery may not be used without permission.

LearnNavi Affiliates:
ToS

LearnNavi is the community to learn Na'vi, the Avatar Language
"A place where real friendships are made." -Paul Frommer

AvatarMeet | Learn Na'vi Forum | Learn Na'vi Wiki | Na'viteri

LearnNavi