![]() |
Profile Field Question
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? |
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.
|
See if the 2nd post of this thread helps: How To Add A Profile Field To The Postbit - vBulletin Community Forum
|
Thank you very much - this sounded complicated but with that post I can easily do it..thank you.
|
All times are GMT. The time now is 07:10 AM. |
Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
![]() |
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|