![]() |
bitfield default value?
ok so i switched over to using bitfields and i have them working properly although i cant figure out how to have them all checked by default in the admin cp
i have my setting as follows: Code:
<setting varname="drc_sg" displayorder="60"> NVM -_- should of figured it was binary for users who came here looking for an answer - i have 6 options that i want all yes. 1 means yes(checked) so that would be 111111 (in order how you wrote your options) now convert that number from binary and that gives you 63 as a default value so if you want every other one toggled itd be 101010 converted gives you a default value of 42 hope this helps someone |
All times are GMT. The time now is 10:26 PM. |
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:
|