PDA

View Full Version : Dynamic Optioncode Setting


scarex
01-26-2010, 05:56 AM
Hi guys,
do you know if it's possibile to define (in a product xml) a setting to be added in vbulletin settings in a way which allows to generate a dynamic selection list?

I know that it's possibile to define something of this type

<setting varname="settings_XXX" displayorder="10">
<datatype>integer</datatype>
<optioncode>select:piped
0|first value
2|second value
3|third value
4|etc..
</optioncode>
<defaultvalue>0</defaultvalue>
</setting>

What I wish is to load the optioncode list of value at runtime from a routine of mine.

Thanks!