vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB4 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=253)
-   -   updating a style without losing customisations (https://vborg.vbsupport.ru/showthread.php?t=239252)

marcopolo 03-28-2010 07:19 AM

updating a style without losing customisations
 
I have a style that i've uploaded.

Since using it I have edited and changed various settings and now a bug update is available (new XML)

Since I want to take advantage of the fixes, is there any way I can do this?

I've been pointed to use a child style, but after further investigation I don't think this is going to do what I want (unless I'm not understanding correctly)

So far I've done a little testing on my spare setup. Created a child of my customised style, uploaded the new XML but this overwrote the child test changes I did (so that's a no go).

I then started again by changing some bits in the parent and uploading the new XML to the child style, this leaves the parent customised and the child using the new xml (but again this is no good since the changed feed down).

Another suggestion was to compare how child with the parent to see what's been changed but I can't find that option.

I really am stuck here and need help please.

AliceHoward 03-28-2010 01:03 PM

You need to download the xml of your customised version to your PC, then download a copy or WINMERGE, using winmerge you can do a side-by-side comparison of your customised xml with the new updated xml.

The methods you have been trying will not have worked and can never work, think of the child style in the way of actual children, you cannot have a child before a parent, the parent is always the style already on your system (database) the child is always added to the existing parent style (on your database)

marcopolo 03-29-2010 11:24 AM

Quote:

Originally Posted by AliceHoward (Post 2011587)
You need to download the xml of your customised version to your PC, then download a copy or WINMERGE, using winmerge you can do a side-by-side comparison of your customised xml with the new updated xml.

The methods you have been trying will not have worked and can never work, think of the child style in the way of actual children, you cannot have a child before a parent, the parent is always the style already on your system (database) the child is always added to the existing parent style (on your database)

I didn't think they would, but thanks for the heads up and recommendation. :up:


All times are GMT. The time now is 01:13 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.01026 seconds
  • Memory Usage 1,713KB
  • 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
  • (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