Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions

Reply
 
Thread Tools Display Modes
  #1  
Old 08-04-2006, 06:26 PM
TCHQ-0wn4g3 TCHQ-0wn4g3 is offline
 
Join Date: May 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default 30 Templates Require Updating?

I just went from 3.5.4 to 3.6.0 and now I see this message

There are currently 30 customized template(s) that need to be updated or reverted. Some sections of vBulletin may not function if you do not do this!

Where in the world do I begin to update these templates so they are functional but still look the same so I don't lost their style.
Reply With Quote
  #2  
Old 08-04-2006, 07:33 PM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

download this program "Beyond compare" http://www.scootersoftware.com/. It will let you compare the codes line by line, it's very easy. I upgraded my whole site using this and I had about 45 templates. It takes a bit time I know, but if you're like me, you don't want to lose any customizations.

Also one other thing, cause I just upgraded to 3.6 last night. The message says that some areas may not function correctly, but that doesn't mean all of those templates that they mention.

Some templates that you need to keep a lookout for and must update is,

postbit,
showthread,
forumdisplay,
forumhome
headinclude,
navbar

These templates along with a few others have the new ajax features and javascript codes that you need to add.

But if you download the program I mentioned above, your work will be much easier.
Reply With Quote
  #3  
Old 08-04-2006, 07:45 PM
TCHQ-0wn4g3 TCHQ-0wn4g3 is offline
 
Join Date: May 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok thanks alot. I will give that a shot.
Reply With Quote
  #4  
Old 08-08-2006, 08:06 PM
TCHQ-0wn4g3 TCHQ-0wn4g3 is offline
 
Join Date: May 2005
Posts: 17
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Mind explaining to me just how you used this program to compare code in the templates vs what needed to be changed?
Reply With Quote
  #5  
Old 08-08-2006, 09:32 PM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Sure, however, I'm going to explain it briefly first and see if you can get it to work.

1- Open two notepad, save one of them as "old.html" and save the other one as "new.html".

2- In the "old.html" file, paste the code of the old template. In the "new.html" , paste in the new template. You can get the new template code by either reverting the template or by looking at the vbulletin's default style.

3- Once you have the templates saved in old.html and new.html, open Beyond compare and compare the files.

4- Look for pink/red highlights, the red highlights are the differences between the codes.

5- Once you see the differences, you can either right click the lines and copy them to the other side, or you can edit the lines yourself and make the adjustments.

Hope that wasn't too confusing aranoid:
Reply With Quote
  #6  
Old 08-09-2006, 04:48 AM
columbonet columbonet is offline
 
Join Date: Jan 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Why download a program? There is a compare function in VB itself.
Reply With Quote
  #7  
Old 08-09-2006, 05:19 AM
bashy bashy is offline
 
Join Date: Nov 2005
Posts: 2,544
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Beyond compare is nothing like the internal 1...try it and you will see
Reply With Quote
  #8  
Old 08-09-2006, 06:26 AM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by bashy
Beyond compare is nothing like the internal 1...try it and you will see
exactly!
Reply With Quote
  #9  
Old 08-09-2006, 04:43 PM
columbonet columbonet is offline
 
Join Date: Jan 2006
Posts: 77
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I've got the program. but where the heck do I find the templates to compare?
Reply With Quote
  #10  
Old 08-09-2006, 04:45 PM
Sean S's Avatar
Sean S Sean S is offline
 
Join Date: Jan 2004
Location: Chicago
Posts: 301
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

templates are not stored as files, you have to get them from your admincp and save the two version in notepad, dreamweaver,...
Reply With Quote
Reply

Thread Tools
Display Modes

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 04:34 AM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2024, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.04213 seconds
  • Memory Usage 2,251KB
  • 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
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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_postinfo_query
  • fetch_postinfo
  • 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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete