In admincp->Social Group Options and Album Options and Visitor Message options, they all have a setting of "Allowed BBCODE tags". Their option code is set to bitfield type
bitfield:nocache|allowedbbcodesfull and it automatically outputs a set of checkboxes of bbcodes.
I did the same for my product and it outputs the checkbox group BUT now how to apply that bbcode settings in my php page.