Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 09-11-2005, 08:35 AM
phlogiston's Avatar
phlogiston phlogiston is offline
 
Join Date: Feb 2003
Location: Woodlands
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Exporting vbOptions in Products

I've found this a wee bit unintuitive so thought I'd ask the cleverer folk here about it.

When including new custom options with a product, they don't get exported unless they are set yes to "vBulletin Default (Will be replaced by upgrade scripts)".
In the past when I've created my new options I've always set that to "no", because my custom options are not default vbulletin and my understanding was that any non-default options would be ignored and left as is by upgrades.
But when migrating products from my test site to live site I originally lost those options as they weren't in the product xml.

So can someone clarify what the difference is between setting "vBulletin Default" to yes or to no for me?

Part of me is half thinking this may be a bug because I'm not certain why I would have an option not exported with it's associated product :S
Reply With Quote
  #2  
Old 09-11-2005, 10:21 AM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

vBulletin Default = Yes and Product = vbulletin => Will be replaced by vBulletin Updates
vBulletin Default = No and Product= vbulletin => Will stay, but not be included in Product XMLs (obvious)
vBulletin Default = Yes and Product != vBulletin => Will stay, will be included in Product XMLs
vBulletin Default = No and Product != vBulletin => Useless
Reply With Quote
  #3  
Old 09-11-2005, 10:31 AM
phlogiston's Avatar
phlogiston phlogiston is offline
 
Join Date: Feb 2003
Location: Woodlands
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cool, I think I've got it from that and it was just my interpretation of the label that got me a bit confused I think or something (too early on a Sunday morning here )

As long as I keep everything checked as vBulletin default with a non-vb product I will be fine and not interfere with upgrades but still export. Seems obviously simple now...!

cheers Kirby
Reply With Quote
  #4  
Old 09-11-2005, 07:46 PM
Andreas's Avatar
Andreas Andreas is offline
 
Join Date: Jan 2004
Location: Germany
Posts: 6,863
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yeah, the Label is a bit misleading - should be "Default Setting, will be replaced by Updates" - as this is effectivelty what does happen:
Settings with product=vbulletin get replacced by vbulletin updates, settings with product != vbulletin get replaced when you import a new product xml.
Reply With Quote
  #5  
Old 09-11-2005, 07:54 PM
Marco van Herwaarden Marco van Herwaarden is offline
 
Join Date: Jul 2004
Posts: 25,415
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

That setting is already there since 3.0, way before the product system and before other 'products' then vB existed. Guess the Phrase could use an update.
Reply With Quote
  #6  
Old 09-11-2005, 08:12 PM
Adrian Schneider's Avatar
Adrian Schneider Adrian Schneider is offline
 
Join Date: Jul 2004
Posts: 2,528
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

!!!!! arg

Quote:
Originally Posted by KirbyDE
vBulletin Default = Yes and Product != vBulletin => Will stay, will be included in Product XMLs
vBulletin Default = No and Product != vBulletin => Useless
that really explains alot
stupid stupid adrian

..

Thanks Kirby
Reply With Quote
  #7  
Old 09-12-2005, 04:25 AM
merk merk is offline
 
Join Date: Nov 2001
Location: Canberra, Australia
Posts: 601
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure does. I was at a loss as to why it wasnt exporting.

Almost created a bug report too
Reply With Quote
  #8  
Old 09-12-2005, 10:17 AM
phlogiston's Avatar
phlogiston phlogiston is offline
 
Join Date: Feb 2003
Location: Woodlands
Posts: 62
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I feel less silly now other folk have said they've been a bit befuddled over the same thing
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:23 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.03782 seconds
  • Memory Usage 2,221KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete