The Arcive of vBulletin Modifications Site. |
|
|
#1
|
|||
|
|||
|
I'm trying to write a product with settings, but I cannot seem to get radio buttons to work. From another mod I've seen, they use the following xml:
Code:
<setting displayorder="130" varname="ercufo">
<datatype>number</datatype>
<optioncode>radio:piped 0|Forum Multiplier overides Usergroup 1|Usergroup Multiplier overides Forum</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
However I cannot seem to get this type of optioncode to work at all, regardless of what datatype and values I set. Can someone explain how to set this up properly? |
|
#2
|
|||
|
|||
|
The options need to be on separate lines. Try this:
Code:
<setting displayorder="130" varname="ercufo">
<datatype>number</datatype>
<optioncode>radio:piped
0|Forum Multiplier overides Usergroup
1|Usergroup Multiplier overides Forum</optioncode>
<defaultvalue>1</defaultvalue>
</setting>
|
|
#3
|
|||
|
|||
|
Ah, it's always the little things! Thanks mate; you're on fire
|
![]() |
|
|
| X vBulletin 3.8.12 by vBS Debug Information | |
|---|---|
|
|
More Information |
|
|
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|