vBulletin Mods

The Official vBulletin Modifications Site
https://www.vbulletin.org/forum/showthread.php?t=256730

Product Overwriting Vbulletin Options with defaults
by Jafo232
07 Jan 2011 22:47

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 08 Jan 2011 03:09

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 10 Jan 2011 12:07

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 11 Jan 2011 14:17

Anyone?

BirdOPrey5 11 Jan 2011 15:35

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 11 Jan 2011 22:20

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 12 Jan 2011 02:41

I aim to please. :up:


All times are GMT. The time now is 16:38.

Powered by vBulletin® Version 3.8.14
Copyright © 2020, MH Sub I, LLC dba vBulletin. All Rights Reserved. vBulletin® is a registered trademark of MH Sub I, LLC
Copyright ©2001 - , vbulletin.org. All rights reserved.