The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Truncating a User Profile Field
I've created a few new user profile fields for my board, and am using the Radio Button/Drop Down hack to select choices.
One of the fields, for people to understand what info I'm looking for (and help them choose), I have to use about 30 characters for each choice. However, I also want to display this info in the Postbit Template, but the approx 30 characters makes for messy viewing - I want to truncate that 7 characters. I've been told that it would have to be hacked/hardcoded - Anybody have an idea of how one might go about making this hack, to truncate that field when being displayed in the postbit template? Thanks, Jeff |
#2
|
||||
|
||||
this will truncate it with a "..."
change the 7 to the amount of characters you want to appear ... PHP Code:
What hack are you using to create radio button and drop down list? |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|