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 06-01-2006, 12:17 PM
TechDawgFan TechDawgFan is offline
 
Join Date: Apr 2004
Location: Louisiana
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default How do you manage template changes?

I've customized several templates be it because of my custom preferences or modifications which have been installed. On several of my upgrades, I've had to revert templates as part of the upgrade, and when I do, these template changes are lost and have to be reproduced. It has not been uncommon for me to 'miss' a customized change in the process.

I was just wondering how other people are managing their template changes and making sure they get them all back in. Do you have a personal file that lists all your customizations? Are you using the template history and comparing the customized to reverted template and adding them in? Other methods?

I'd be really interested in hearing how other people are managing this.

TDF
Reply With Quote
  #2  
Old 06-02-2006, 05:22 PM
TheProphet TheProphet is offline
 
Join Date: Apr 2004
Posts: 139
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I have a directory witch contain every hack i installed on my board, when i upgrade, ill check every hack that suppose to be there also is showing on my board.

But im quite currious how others do this aswell
Reply With Quote
  #3  
Old 06-02-2006, 05:25 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'd be lying if I said I document anything.

Generally I just compare the two templates and take it from there. A lot of the time when it is a minor upgrade (eg 3.5.3 to 3.5.4) they list exactly what needs to be changed in each template so I just apply that. If I have to revert I create a child style first, make the changes on there, then export it and import it to overwrite the existing style.
Reply With Quote
  #4  
Old 06-02-2006, 07:18 PM
TechDawgFan TechDawgFan is offline
 
Join Date: Apr 2004
Location: Louisiana
Posts: 11
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by peterska2
I'd be lying if I said I document anything.

Generally I just compare the two templates and take it from there. A lot of the time when it is a minor upgrade (eg 3.5.3 to 3.5.4) they list exactly what needs to be changed in each template so I just apply that. If I have to revert I create a child style first, make the changes on there, then export it and import it to overwrite the existing style.
All right, let me make sure I understand that correctly. I'll probably butcher it because I'll admit that I don't fully understand the inheritance associated with child styles.

Are these the steps you go through?

If you are going to have to revert a template which has modifications in it:
  1. Create a child style off of your existing style (The child will have all the same options and templates as the parent)
  2. Revert the template in the CHILD style
  3. Manually update the reverted child template with all of your modifications
  4. Test the child style to make sure you got everything
  5. Download the Child style selecting "Get customizations made only in this style"
  6. Upload the style overwriting your old style
If that is correct, could you explain to me what the "Get customizations made in this style and all parent styles " does?

Thanks for your reply. I'm always looking at better ways of doing it and using a child style has never occurred to me.

Chris
Reply With Quote
  #5  
Old 06-02-2006, 07:22 PM
peterska2 peterska2 is offline
 
Join Date: Oct 2003
Location: Manchester, UK
Posts: 6,504
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It's not the most effective way of doing it, and I wouldn't recommend doing it that way to anyone. It's way I have got used to using for developmental work and bug testing.

The best way to do it is to take a backup of your style, make the template changes. If it doesn't work, reimport the style from the file you exported and start again. Repeat as required.
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 12:16 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.03753 seconds
  • Memory Usage 2,197KB
  • Queries Executed 13 (?)
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
  • (5)post_thanks_box
  • (5)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (5)post_thanks_postbit_info
  • (5)postbit
  • (5)postbit_onlinestatus
  • (5)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