Difference between revisions of "Talk:LlGetDisplayName"

From Second Life Wiki
Jump to navigation Jump to search
 
Line 17: Line 17:


:It looks good, I've made a few small changes, and added an [http://xkcd.com/327/ XKCD example]. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 15:48, 23 November 2010 (UTC)
:It looks good, I've made a few small changes, and added an [http://xkcd.com/327/ XKCD example]. -- '''[[User:Strife_Onizuka|Strife]]''' <sup><small>([[User talk:Strife_Onizuka|talk]]|[[Special:Contributions/Strife_Onizuka|contribs]])</small></sup> 15:48, 23 November 2010 (UTC)
== Will this function return the username (= legacy name) if the avatar hasn't the Display Name set? ==
It's perhaps trivial to test (I haven't!), but, if yes, is it worth mentioning on the page?
The point being that you don't need to make '''two''' calls (one for the [[llGetUsername|legacy name]], another for the Display Name). If that's the case, it's best to explain it!
— [[User:Gwyneth Llewelyn|Gwyneth Llewelyn]] ([[User talk:Gwyneth Llewelyn|talk]]) 05:20, 27 April 2022 (PDT)

Latest revision as of 05:20, 27 April 2022

Would it be worth making a specific reference to https://jira.secondlife.com/browse/VWR-23627 "Display Name and Username showing as ???" ?

Innula Zenovka 18:40, 8 November 2010 (UTC)

Yes it is worth referencing it. I'll add it right now. -- Strife (talk|contribs) 05:38, 9 November 2010 (UTC)

Added a warning about escaping strings, this is because even though it is one change per week. People can cause alot of damage. Examples:

Unescaped shell script running on a residents server (linux) (they are stupid if they do this but still), ';rm -rf /

MySQL Example (its bad practise not to sanitize your strings but its a regular occurrence): ' or =

If it needs better formatting, please correct and let me know in world so I can remember for next time.

Lastro Greenwood 23:26, 22 November 2010 (UTC)

It looks good, I've made a few small changes, and added an XKCD example. -- Strife (talk|contribs) 15:48, 23 November 2010 (UTC)

Will this function return the username (= legacy name) if the avatar hasn't the Display Name set?

It's perhaps trivial to test (I haven't!), but, if yes, is it worth mentioning on the page?

The point being that you don't need to make two calls (one for the legacy name, another for the Display Name). If that's the case, it's best to explain it!

Gwyneth Llewelyn (talk) 05:20, 27 April 2022 (PDT)