![]() |
Product ACP Checkbox?
Is is possible to add checkbox options in the ACP for products?
|
Sure, go in debug mode and examine one of the built-in options that uses checkboxes.
|
hmm
Code:
<settinggroup name="bbcode" displayorder="300"> Code:
<group name="allowedbbcodes"> --------------- Added [DATE]1193862860[/DATE] at [TIME]1193862860[/TIME] --------------- i still cant figure it out. |
anyone?
|
Examine the Inferno vBshout mod, it uses them.
|
Quote:
|
Quote:
|
Ok so i was able to do it... Wow its easier than i though but still confusing how the actual check boxes are processed.
Values: 1 2 4 8 16 32 64 .... I used 19 boxes and it sure multiplies fast... the 20th box's value would be 524288 lol... around 35 the actual value length is over 11 digits and i think it may messup inside the database, im not sure. |
How is the bitfield represented in vB's php code? If it's an int it should be 32 bits on most hardware, giving you a max value of about 2 billion. There shouldn't be any problems in the database, since setting values are stored as text.
|
oh i thought they were stored in an INT field, INT is 11
|
All times are GMT. The time now is 12:19 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:
|