Length of user name

1 year 2 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.

1 year 2 months ago #2749 by djphil

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

1 year 2 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.

1 year 2 months ago - 1 year 2 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.

1 year 2 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.

1 year 2 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.131 seconds

Search

Our Regions

Region: Loc X: Loc Y:
Agora 1000 998
Basilic… 1007 1000
Bay Sho… 997 1003
Boardwa… 1003 1004
BoraBor… 1002 999
Canary … 997 999
Creator… 990 990
Crystal… 1001 1000
DeepTho… 1005 998
Fantasy 1009 1004
FoToSan… 996 995
Hiatus 1007 1004
jAdult 1003 1003
jCity 1009 1003
jOpenWe… 1000 999
JuniorT… 1002 1001
Kanadah… 1002 1000
Kansas 1007 1003
Kodu 980 983
LindaKe… 1000 997
MA2 1008 1003
MA5 1008 1004
MonteSc… 1001 1001
Mountai… 1009 1000
Naos 999 999
Pangaea 1005 1003
RiverSi… 999 1000
Sakani 999 998
Snambin 1001 998
Tropica… 1004 1003
ViewerH… 1002 998
WaterWo… 1001 999
WilderK… 1000 1000

Donate jOpenSim

Please consider supporting our efforts.

Amount: