Length of user name

3 years 9 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.

3 years 9 months ago #2749 by djphil

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

3 years 9 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.

3 years 9 months ago - 3 years 9 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.

3 years 9 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.

3 years 9 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.079 seconds

Search

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
Bay Sho… 997 1003
BoraBor… 1002 999
Canary … 997 999
Crystal… 1001 1000
DeepTho… 1005 998
FoToSan… 996 995
jCity 1001 997
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
LindaKe… 1000 997
MonteSc… 1001 1001
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

Donate jOpenSim

Please consider supporting our efforts.

Amount