The Arcive of Official vBulletin Modifications Site.It is not a VB3 engine, just a parsed copy! |
|
#1
|
|||
|
|||
Custom Profile Field Option Piping
Does vBulletin include any sort of piping functionality for the options in select or check fields? I would like to be able to specify the key and value for each option, but I am having a hard time finding the documentation for it.
|
#2
|
||||
|
||||
Well, there is this for forums:
Code:
select:eval $options = construct_forum_chooser_options(1); And this for other options types: Code:
select:piped 0|do nothing 1|do something 2|do something else Both use numeric for data type. Is that what you are looking for? |
#3
|
|||
|
|||
Sorry I was not clear; I want to use syntax similar to what you provided to specify the key and value for each option in the profile field manager's editor, not in custom AdminCP options. I wanted to know if such functionality exists and if it does, how I can use it.
Thanks. |
#4
|
||||
|
||||
AFAIK, it doesn't exists there so there would be no way to use that. You can make a drop-down that will allow you to pick from a set of fields, though. Check out the Profile Field Type when you make a new profile field.
|
|
|
X vBulletin 3.8.12 by vBS Debug Information | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|