![]() |
Truncate Looooooooooooong Usernames on ForumHome
Simple hack, answering request: https://vborg.vbsupport.ru/showthread.php?t=63179
What this does: It will shorten any username that is longer than XX characters on the forum home display. Files to Modify: 1, functions_forumlist.php Time to Install: 2 minutes Difficulty: Simple |
thank you very much, this is awesome :D
|
Very nice! Great job!
|
just installed although not sure if it's working or not, it doesn't seem to work in the moderators column or forums that appear in column format courtesy of Xenon's hack here
|
nice
1st time to see a hack below 1KB ^^ |
Quote:
See Ya |
Quote:
|
why not just set a max in the options? Long usernames are gonna be a pain anywhere on the forums anyway.
|
Quote:
|
Quote:
|
Code:
<phrase 1="member.php?$session[sessionurl]find=lastposter&f=$lastpostinfo[forumid]" 2="$lastpostinfo[lastposter]">$vbphrase[by_x]</phrase> and also what would i have to do to make it work on the moderator column? |
Should work on any part of forumhome that uses the $lastpostinfo variable. Sorry, can't say why it wouldn't work with Xenon's Hack.
For the moderator name, it would be the same thing. Find: PHP Code:
PHP Code:
|
seems useful
|
what an awesome hack, thanks very much :D
|
How would you truncate the username listed under last post info on Forum Display?
|
All times are GMT. The time now is 03:03 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|