jOpenSimWorld

Grid Status: Online
Total Regions: 23
Visitors (30 Days): 8
Total Residents: 490
Online Now: 0
Hypergriders online: 0

Length of user name

7 years 4 months ago #2748 by Lupopa
How can I reduce the length of the user name in the friend list?
Instead of full name "Lupopa Grau @ grid.lupopas-welt.de"
e.g. "Lupopa Grau...."

Thanks
Lupopa

Please Log in or Create an account to join the conversation.

7 years 4 months ago #2749 by djphil

Please Log in or Create an account to join the conversation.

7 years 4 months ago #2750 by foto50
Hi Lupo

If u mean mod_opensimfriends, there is also a setting: "Max. Length of names" ... this will cut the name after X characters and add ... to it

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

7 years 4 months ago - 7 years 4 months ago #2751 by djphil
@Lupopa: I made a little patch to cut hg usernames but i can't test it because i don't have hg grid up ...
Can you test it for me please ?

Usage: Put the file "default.php" provided in this patch in "tmpl" frontend directory of jOpenSimFriends module.
(modules > mod_opensim_friends > tmpl).

Edit: patch removed pending a more effective solution.

Please Log in or Create an account to join the conversation.

7 years 4 months ago #2752 by foto50
Hi djphil

I dont think it is a good idea just to cut the @* part in the friends module.

Theoretically u can have a friend firstname.lastname@local but also a friend firstname.lastname@othergrid.

What would tell u who is who if the rest is cut?

Sure, sometimes it is due to layout reasons required to keep the name shorter as it actually is, but this feature is already there

Greetz
FoTo50

Please Log in or Create an account to join the conversation.

7 years 4 months ago #2753 by djphil
Hi Foto50,
I understand the situation you are explaining to me.
As a precaution I will remove this patch while waiting for a more effective solution.

Please Log in or Create an account to join the conversation.

Time to create page: 0.089 seconds