The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Parsing Multiple Choice Custom Profile Fields for the postbit
Hi,
This might be a really simple question, but I have tried RTFM and reverse engineering installed hacks and not figured this out. How do I parse out the results of a custom profile field multiple choice item. I have "Shows attended" and have populated about 12 different choices, here is the code I have in the postbit to try to display the results: Code:
<if condition="$post[field67]>0"> <div><span class="smallfont"><strong>Shows Attended:</strong> $post[field67]</span></div> </if> User Profile handles this by simply dumping $customprofile but I only want to dump the one custom field, (field67) into my postbit and nothing if it's not populated, hence the if condition. Is it some kind of phrase addition to add the field as a variable for parsing? cheers. Mark |
#2
|
|||
|
|||
Nvermind - found the answer - fairly complex!
answered by Jack Bunce Here: http://www.vbulletin.com/forum/showt...845#post725845 involves a lot of integer based if variables in the postbit itself to reconstruct the numeric output back into the multiple choice values. |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|