vb.org Archive

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

RobDog888 10-02-2007 03:01 AM

Settings
 
<font color="darkgreen">When creating larger Products, what is the better logic to use for storing all your settings? Place them into the setting table so they are integrated with the forum and usergroup setting pages or create a separate table for your products settings and display in your custom admincp page?

Any pro/cons on either?

Thanks</font>

Dismounted 10-02-2007 04:53 AM

For usergroup specific options, place them in the usergroup options via bitfields.
For forum specific options, place them in the forum options via bitfields.
For all other settings, add them to the normal vBulletin Options list.

RobDog888 10-02-2007 07:27 AM

I was looking at vBAdvanced as it uses a separate table for most of its stuff. My product is large as vBA so wouldnt it be difficult to integrate it all into vB's settings and security?

Have any links for each of your suggestions? :)




--------------- Added at 07:45 ---------------

I found that there is the ...

$vbulletin->bf_ugp_userpagepermissions['canxxxx']

syntax for reading perms but how to create them?

Edit: I see that this was posted 2.5 years ago but is it still compatible with 3.6.8?
https://vborg.vbsupport.ru/showthread.php?t=82844


All times are GMT. The time now is 02:34 AM.

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.01028 seconds
  • Memory Usage 1,718KB
  • 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
  • (3)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