Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles

Reply
 
Thread Tools
Scott MacVicar
Join Date: Oct 2001
Posts: 1,199

PHP, Perl and gaming

Glasgow, Scotland
Show Printable Version Email this Page Subscription
Scott MacVicar Scott MacVicar is offline 01-29-2002, 10:00 PM

This file contains all the changes you must make to upgrade your forums to 2.2.2 from 2.2.1. I have used this on my forums and it has worked successfully. Unfortunately we will unable to provide support for this, if you are getting errors then you may have applied the change in the wrong place.

Make sure you backup your files and database before doing this.

Once you have changed all the files you must upload them plus the new vBulletin.style upgrade15.php and some other files which were changed too extensively to justify a list of all the changes.

Scott
Attached Files
File Type: txt 222_changes.txt (30.0 KB, 211 views)
Reply With Quote
  #52  
Old 02-06-2002, 08:31 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

great work PPN.. u basically did the job with araxis merge right?
Reply With Quote
  #53  
Old 02-06-2002, 01:07 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Jawelin they modified the default template, this means that vBulletin thinks that the modification they made to the template comes as standard with the vBulletin install.

When you go to upgrade it replaces the default template set, this is ones that are NOT modified, and as they didn't modify them in the regular way it just overwrites them.

nakkid i used Beyond Compare to do this
Reply With Quote
  #54  
Old 02-06-2002, 04:39 PM
psico psico is offline
 
Join Date: Oct 2001
Location: Buenos Aires, Argentina
Posts: 117
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

PPN thanks a lot!!!
I´ve migrated my Board with 20+ hacks in minutes!!!

Everything works perfectly...

cya
Reply With Quote
  #55  
Old 02-06-2002, 05:03 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no problem

jus to clarify the problem with templates cause i don't think i was too clear.

There is a template set with the id -1 stored in the database, this is the master template set these are not modified in anyway and are stored for use when you create a new template set. These hacks modify this master template set so when vBulletin upgrade rewrites them it overwrites the pieces that the hack inserted in the Master Template Set.

If the hack had inserted them in a normal template set then this wouldn't have been an issue.
Reply With Quote
  #56  
Old 02-06-2002, 06:58 PM
igowoofwoof igowoofwoof is offline
 
Join Date: Dec 2001
Posts: 14
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

will i lose my hacks and stuff if i run upgrade 15 or apply this hack to my forum?
Reply With Quote
  #57  
Old 02-06-2002, 07:55 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

no you don't lose any hacks (thats the whole point of this file) , it was just that some hacks that modify the templates directly were causing bother. You should backup your templates if you don't know if you have any of these hacks installed.
Reply With Quote
  #58  
Old 02-06-2002, 10:17 PM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by psico
PPN thanks a lot!!!
I?ve migrated my Board with 20+ hacks in minutes!!!

Everything works perfectly...

cya
I took two days but I'm slow... everyone knows...

@ PPN: Thanks for your explanation about templates.
Actually, backin' up them to html files with FF hack (before and later), I found where unpredictably (to me... ) changed only some vbstats_ .... ones, exactly those I hadn't ever modified so they still had the '-1' ...
Clear enough the non-replaceing process. But if I hacked a template which should change in an upgrade ?
1) I should have later my modified unupdated version, as the updated one is the 'original' template.
2) I should have only the status as before, i.e. template upgrade got lost
Either ?

Thanks
Reply With Quote
  #59  
Old 02-10-2002, 09:47 PM
Wolf42's Avatar
Wolf42 Wolf42 is offline
 
Join Date: Nov 2001
Location: Vienna, Austria, Europe
Posts: 150
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

It was very helpful to know where the changes are. But all my templates are in german. So I had to download a comleate style-set to get 2.2.2 run on my board. I hope the are no new templates! Or are there?
Reply With Quote
  #60  
Old 02-11-2002, 06:29 PM
slideboxer's Avatar
slideboxer slideboxer is offline
 
Join Date: Dec 2001
Posts: 134
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Did it, no problems. Had to run the vbStats script again, though. Also, my vblinks categories drop down is missing now... hmm.
Reply With Quote
  #61  
Old 02-11-2002, 08:40 PM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sounds like a template issue as there is nothing in the coding which would cause this.
Reply With Quote
Reply

Thread Tools

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 05:18 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.04615 seconds
  • Memory Usage 2,316KB
  • Queries Executed 26 (?)
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)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)modsystem_article
  • (1)navbar
  • (4)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (4)pagenav_pagelink
  • (11)post_thanks_box
  • (11)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (11)post_thanks_postbit_info
  • (10)postbit
  • (1)postbit_attachment
  • (11)postbit_onlinestatus
  • (11)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_attachment
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete