The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
How to shorten the display of a UserName?
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: Quote:
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! |
#2
|
|||
|
|||
If you have questions/problems with a modification, then please post in the thread (or support forum/board) about that modification. Best chance to receive a reply from either the author or another member using the same modification.
|
#3
|
|||
|
|||
This can be stopped via JS, CSS, or PHP
|
#4
|
|||
|
|||
Hi Marco,
as in the caching-thread it´s not just to change it, it´s for me also to understand, how to do that. So thanks Shack for your info. As far as I know, when I do it with php it means, i write a little script, that does it, and call the script in the spot on the template, right? Or can php directly be used in the template? Best wishes, Julian! |
#5
|
|||
|
|||
As in the other thread, i don't know what is in the script you are using. Best is to ask this at the place where other users (and author?) of the same script will see the question and are able to respond.
PS The best place to handle this would be in the PHP script, although it might also be possible with CSS, but better ask in the design forums for assistence with that. |
#6
|
|||
|
|||
Ok, I will do that. Thank you. ;-)
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|