The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
![]()
Id like to display the info from a Profile field in the Post Bit - however this is a problem im having....
Id like to use a drop down list for the slection however when the post is shown instead of displaying the content of the selection, it displays the number of the selection... <if condition="$post['field5']"><div><b>---------:</b><br>$post[field5]</div></if> Say the list to choose from is apples, oranges, grapes The postbit will print --------: 1 (or 2 or 3 depending on the selection number) Instead of the 1 I would want it to show what 1 represents which is Apples... Can anyone help out with this or is this something I will just need to work around? |
#2
|
|||
|
|||
![]()
you need to work with additional conditions to work with the bitfield numbers for your choices. You might also be able to do this with a plugin. Multiple selection profile fields store the information as a bitfield so this needs to be translated back to readable form in the postbit.
|
#3
|
|||
|
|||
![]()
See if the 2nd post of this thread helps: How To Add A Profile Field To The Postbit - vBulletin Community Forum
|
#4
|
|||
|
|||
![]()
Thank you very much - this sounded complicated but with that post I can easily do it..thank you.
|
![]() |
Thread Tools | |
Display Modes | |
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|