PDA

View Full Version : vBulletin product settings


veenuisthebest
09-26-2008, 08:06 AM
https://vborg.vbsupport.ru/attachment.php?attachmentid=87356&d=1222419956

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.

Dismounted
09-26-2008, 09:17 AM
There is a hook which you can hook into to handle special option code cases.

veenuisthebest
09-27-2008, 02:13 AM
Yes.. but that method applies when we make check box group as described in this article (https://vborg.vbsupport.ru/showthread.php?t=187470). But how to do when the option code is bitfeld type bitfield:nocache|allowedbbcodesfull as there is no $fritems array being created as described in that article.

How do I implement this in my code and allow/disallow EACH bbcode.

Thank you

Dismounted
09-27-2008, 04:41 AM
What you want to do utilises the near same method - just have a look in the actual file to see what happens, and how you can manipulate options.