vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Database update question (https://vborg.vbsupport.ru/showthread.php?t=147651)

makaiguy 05-19-2007 11:20 PM

Database update question
 
I've updated my test board from 3.6.4 to 3.6.7 PL. Sure was nice to be able to just upload the new files and tweak a handful of templates, after first completing a project to convert my php hacks to plugins.

Question: Now that I have my test board converted and working, when I update my 'live' board would it work to export the 'template' table from the test board database and import it into the live board database (after the live board upgrade process has done its thing)? Seems like this should work, but want to be sure I'm not overlooking something obvious. Other tables that would have to be exported/imported too?

Dismounted 05-20-2007 04:32 AM

On the test board;
Styles & Templates > Download/Upload Styles > Choose your style > Download.

Once you've upgraded, import the xml file generated from the above.

makaiguy 05-21-2007 12:32 AM

Quote:

Originally Posted by Dismounted (Post 1251238)
On the test board;
Styles & Templates > Download/Upload Styles > Choose your style > Download.

Once you've upgraded, import the xml file generated from the above.

Thanks for the response. I never thought of trying it that way.

I use a different visual style on the test board, to be darned sure I recognize it is the test board when I'm on it (different colors, background image, etc.), otherwise they are meant to be the same. Under these circumstances, is export/import of the style still the way to do this?

What I've always done in the past is work out all the changes on the test board, then update the real board and copy the full text of each modified template from the test board to the real board.

Dismounted 05-21-2007 06:17 AM

Yes, except you will have to make the test board an exact style copy of your real board, apply the edits, then export/import.

makaiguy 05-22-2007 01:28 AM

Have found a way to get best of both worlds. My test board's style is now an exact copy of the live board as far as vB is concerned. But the images linked for my bbs logo and page background, although the same filename, are different for the two boards. This gives me sufficient reminders when I'm in the test board yet allows the styles to be the same.

Never would have thought of this without your suggestion. Thanks.

Question: are strored phrases considered as part of a style? Are they included when exporting/importing styles?

Dismounted 05-22-2007 07:27 AM

No, phrases are not exported with the style.

makaiguy 05-22-2007 11:42 AM

This is sounding better and better. Thanks again.


All times are GMT. The time now is 09:27 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.01147 seconds
  • Memory Usage 1,720KB
  • 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)bbcode_quote_printable
  • (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