vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Product Overwriting Vbulletin Options with defaults (https://vborg.vbsupport.ru/showthread.php?t=256730)

Jafo232 01-07-2011 08:47 PM

Product Overwriting Vbulletin Options with defaults
 
I have a little product my client uses on a bunch of his sites and when I update it to a new version (we develop it in house) and then go and update it, it overwrites all the options for it in the products settings (vbulletin options -> product settings) instead of leaving them in place.

What would cause that? The rest of our in house products do not do this. Our install code is versioned and only creates (does not drop) tables that are unrelated to vboptions. There is no uninstall code.

I am at a bit of a loss what would cause it, but I am assuming there is some product setting that says to replace existing values in a setting group with the default? Any help would be appreciated.

BirdOPrey5 01-08-2011 01:09 AM

In the options settings on the developer installation "vBulletin Default" should be "Yes" and "Blacklist" should be "No." Not sure if that is the issue but I would check those settings first.

Jafo232 01-10-2011 10:07 AM

Yep, that is the way they are set and always are. Never had a need to change them. That does not appear to be it.

Jafo232 01-11-2011 12:17 PM

Anyone?

BirdOPrey5 01-11-2011 01:35 PM

My only other guess would be if there was a plugin on one of the admin_options_* hooks or the validation php code boxes in the mod options actually setting a default value somehow.

Jafo232 01-11-2011 08:20 PM

Thanks. That was actually very helpful, at least it made me look in that direction. This turned out to be a conflict with another product that was saving settings during datastore updates. Thank you so much BirdOPrey5, you made my life a little easier today heh..

BirdOPrey5 01-12-2011 12:41 AM

I aim to please. :up:


All times are GMT. The time now is 07:24 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.01030 seconds
  • Memory Usage 1,714KB
  • 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
  • (7)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