The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
profile blocks / statistics (3.8.1)
Could someone tell me how I can add a few custom profile fields to the mini stats block? Would I have to create a custom plugin to fetch the information for display? If so, what code should I enter?
|
#2
|
||||
|
||||
You may create a new User Profile Field, and then add it to the memberinfo_block_ministatistics block using $userinfo[fieldx]
|
#3
|
||||
|
||||
You may have to use $prepared[fieldx] instead of $userinfo.
|
#4
|
||||
|
||||
I actually tried it and in this particular template (and maybe others), you need to use $userinfo[fieldx]. However, it could be in other profile templates, you need to use $prepared[fieldx] as you suggested.
|
#5
|
|||
|
|||
Lol, that was much easier than I anticipated. As always, thanks Lynne... and thanks for the input Hanson.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|