vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Programming Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=15)
-   -   vBulletin product settings (https://vborg.vbsupport.ru/showthread.php?t=191956)

veenuisthebest 09-26-2008 08:06 AM

vBulletin product settings
 
1 Attachment(s)
https://vborg.vbsupport.ru/attachmen...6&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. 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.


All times are GMT. The time now is 01:00 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
  • Page Generation 0.03197 seconds
  • Memory Usage 1,712KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (4)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.php
  • ./global.php
  • ./includes/init.php
  • ./includes/class_core.php
  • ./includes/config.php
  • ./includes/functions.php
  • ./includes/class_hook.php
  • ./includes/modsystem_functions.php
  • ./includes/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.php 

Hooks Called:
  • init_startup
  • init_startup_session_setup_start
  • init_startup_session_setup_complete
  • cache_permissions
  • fetch_threadinfo_query
  • fetch_threadinfo
  • fetch_foruminfo
  • style_fetch
  • cache_templates
  • global_start
  • parse_templates
  • global_setup_complete
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete