The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
||||
|
||||
Profile Field Options Display Image in Postbit According to Option Selected?
I'm wanting to have a profile field that is drop-down list of options, and depending on the option selected, a different image is displayed in the postbit_legacy. What is the easiest/best way to do this?
For example. The profile field is called "Color" with drop-down options of black, white, blue and red. Each has a black, white, blue or red image associated with them and I want to display that image in the postbit_legacy. If the member selects red in their profile, the red image is displayed. Thanks! |
#2
|
||||
|
||||
The profile field name is not that you need but profile field id. Simply usage of $post[fieldX] will return the information. X there that we use is the profile field id.
|
#3
|
||||
|
||||
I know how to insert the $post[fieldx] to get the text to display in the postbit, but how do I get an image instead of the text? I need to get a different image for each of those drop-down options the user can select. Thanks!
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|