JulianWolf
12-14-2007, 11:48 AM
Hi everybody,
I have a Hack installed (in vBadvance) that shows all Users that are online in a sidebox. This is done in the template with this code:
<div><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$onlinephoto[userid]">$onlinephoto[musername]</a></div>
Now sometimes the Username is to long and blows out the borders of the sidebox. So I would like to "shorten" the display in that case.
When the Username is for example "Imjustatestuserwithatoolongusername", then I would like to show only "Imjustates..." and still have it linked. Is there any way to do that?
It?s really just "Shorten the username and put three dots at the end". That?s it. ;-)
Best wishes, Julian!
I have a Hack installed (in vBadvance) that shows all Users that are online in a sidebox. This is done in the template with this code:
<div><a href="$vboptions[bburl]/member.php?$session[sessionurl]u=$onlinephoto[userid]">$onlinephoto[musername]</a></div>
Now sometimes the Username is to long and blows out the borders of the sidebox. So I would like to "shorten" the display in that case.
When the Username is for example "Imjustatestuserwithatoolongusername", then I would like to show only "Imjustates..." and still have it linked. Is there any way to do that?
It?s really just "Shorten the username and put three dots at the end". That?s it. ;-)
Best wishes, Julian!