The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Truncating the display of a user profile field in postbit
I have a custom user profile field that when registering, needs to be about 40 characters long, but when I display it in the postbit
HTML Code:
$post[field18] How would I go about doing that? |
#2
|
|||
|
|||
You'd have to create a Plugin with a hook location of something like postbit_display or postbit_process. Then use PHP code like this:
PHP Code:
|
#3
|
|||
|
|||
Wow - worked like a charm. postbit_display_start was the hook location that did the trick.
Thanks for your help! |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|