![]() |
|
|
Thread Tools |
|
#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:
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! No members have liked this post.
|
|
#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.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
|
#3
|
|||
|
|||
|
This can be stopped via JS, CSS, or PHP
No members have liked this post.
|
|
#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! No members have liked this post.
|
|
#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.
__________________
Marco van Herwaarden Ex vBulletin.org Coordinator No members have liked this post.
|
|
#6
|
|||
|
|||
|
Ok, I will do that. Thank you. ;-)
No members have liked this post.
|
![]() |
«
Previous Thread
|
Next Thread
»
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) |
| Thread Tools | |
|
|
| New To Site? | Need Help? |
All times are GMT. The time now is 05:43.


