vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 Design and Graphics Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=168)
-   -   When upgrading... (https://vborg.vbsupport.ru/showthread.php?t=177156)

pedroenf 04-25-2008 04:13 PM

When upgrading...
 
Hi there. I have a question that is bodering me for some time. When performing an upgrade we will get a lot (or not. depending of the amount of changed ones) templates to revert, every time i did the upgrade i have reverted all of them and did the heavy task of redo all mods. What i want to know is if we do have to revert them or can just save them as they are. Thanks in advance.

Lynne 04-25-2008 06:12 PM

What I do is open the template to edit and hit View History. Then I compare my version of the template to the vbulletin default version. The changes are highlighted and it makes it easy for me to see what I need to edit (or if I can just hit revert).

bada_bing 04-25-2008 06:17 PM

Good question I was wondering the same

Boofo 04-25-2008 06:24 PM

Quote:

Originally Posted by pedroenf (Post 1499163)
Hi there. I have a question that is bodering me for some time. When performing an upgrade we will get a lot (or not. depending of the amount of changed ones) templates to revert, every time i did the upgrade i have reverted all of them and did the heavy task of redo all mods. What i want to know is if we do have to revert them or can just save them as they are. Thanks in advance.

If the upgrade script calls for you to revert them, you should do it as they have made changes to the default templates. The security token issue is a good example. The easiest way to do it is as Lynne said, compare them and mark the changes you have made and then revert them and re-add the changes. I usually mark any hacks lines I have installed with:

<!-- Hack Name goes here -->
code added to template
<!-- / Hack Name goes here -->

That way it is easier to find the changes and re-add them.

pedroenf 04-25-2008 06:32 PM

I also think that we should revert them, but as far as i can tell i have seen that after upgrade (taking the last upgrade as example) all new changes are in the templates plus my mods too. So i was wondering if we really have to revert or a simple save can be done. I'm i wrong here?

Boofo 04-25-2008 06:52 PM

Reverting them is always the best way to go and what is recommended.

pedroenf 04-25-2008 07:48 PM

Ok guys. Thanks for your advice.

King Kovifor 04-26-2008 05:00 PM

This has been moved to the design and graphics discussion forum. Forum and Server Management is for technical discussions.

Jase2 06-30-2008 11:35 AM

If you're using a custom template, then editing the templates yourself is the better option. Just reverting them could cause all kinds of problems with your style. For example, you may not be using the navbar template for your navbar...

Reverting the templates is recommend IMO because Jelsoft assume everyone use the default style..

Marco van Herwaarden 06-30-2008 12:28 PM

Jelsoft employees will, unless the cause is clearly a modified template, not advise to revert a template. Support staff wil always start with suggesting to create a new style without a parent in order to determine if the probem is caused by a style issue before advising to revert.


All times are GMT. The time now is 04:59 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.01532 seconds
  • Memory Usage 1,729KB
  • 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)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (10)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
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete