Go Back   vb.org Archive > vBulletin Article Depository > Read An Article > vBulletin 3 Articles
FAQ Community Calendar Today's Posts Search

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
  #12  
Old 01-30-2002, 11:33 PM
squawell's Avatar
squawell squawell is offline
 
Join Date: Oct 2001
Posts: 681
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thankz PPN~

it's very useful~~
Reply With Quote
  #13  
Old 01-31-2002, 12:22 AM
Lionel Lionel is offline
 
Join Date: Dec 2001
Location: Delray Beach, Florida
Posts: 3,277
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

you are God sent. Thank you
Reply With Quote
  #14  
Old 01-31-2002, 02:18 AM
SirSteve SirSteve is offline
 
Join Date: Oct 2001
Posts: 382
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I noticed if you have the contract/expand hack installed and the community bulletin hack, some of this code makes it unusable.
Reply With Quote
  #15  
Old 01-31-2002, 03:31 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by SirSteve
I noticed if you have the contract/expand hack installed and the community bulletin hack, some of this code makes it unusable.
I upgraded my test board and noticed some interesting things. Hacks that were inserted into the default templates were mostly moved to custom templates. This happened to vBStats and everything was fine. Some of the Contract Posts templates were blown away. I made new custom templates for modifyoptions_hideposts_ie and showthread_hideposts and everything was back to normal. I'm glad I'm testing everything on the test board first.
Reply With Quote
  #16  
Old 01-31-2002, 04:10 AM
Freddie Bingham's Avatar
Freddie Bingham Freddie Bingham is offline
 
Join Date: Oct 2001
Posts: 506
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You can only lose templates IF you put them into your database with a templateset id of -1. You should never use templateset -1 as those are the base templates and they are removed and replaced with every upgrade.
Reply With Quote
  #17  
Old 01-31-2002, 04:17 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by freddie
You can only lose templates IF you put them into your database with a templateset id of -1. You should never use templateset -1 as those are the base templates and they are removed and replaced with every upgrade.
Some of the hacks intsall that way. I was just testing to see what would happen. The interesting thing is most of them didn't get deleted but moved to custom templates. I thought that was pretty slick. I only had to add two back.
Reply With Quote
  #18  
Old 01-31-2002, 06:23 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

OK, here's a trick. If you have hack templates installed into the default templates, you will lose them in the upgrade. Unless they are modified. If they've been modified they will move to custom templates. I went through my vBStats, Contract Posts and vBLinks templates and modified the ones I hadn't touched. I added some junk and then took it out. I did NOT revert them. Then when I upgraded my real board, they all got moved to custom templates. If you combine this with hacking the PHP files according to PPN's instructions (be very careful if you have a hack in any of the modified code), you will have no problems.
Reply With Quote
  #19  
Old 01-31-2002, 07:49 AM
Scott MacVicar Scott MacVicar is offline
 
Join Date: Oct 2001
Location: Glasgow, Scotland
Posts: 1,199
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Those hacks shouldn't replace the default template in my opinion.
Reply With Quote
  #20  
Old 01-31-2002, 08:40 AM
Remi Remi is offline
 
Join Date: Nov 2001
Location: London, UK
Posts: 196
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I think ther is a mistake in the instructions

=====================
/admin/functions.php

look for
eval("standarderror(\"".gettemplate("error_banip") ."\");");

below it add
exit;
=============

I think it should be remove "exit;"

please correct me if I am wrong
Reply With Quote
  #21  
Old 01-31-2002, 09:31 AM
Jawelin Jawelin is offline
 
Join Date: Nov 2001
Posts: 557
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by FWC
OK, here's a trick. If you have hack templates installed into the default templates, you will lose them in the upgrade. Unless they are modified. If they've been modified they will move to custom templates. I went through my vBStats, Contract Posts and vBLinks templates and modified the ones I hadn't touched. I added some junk and then took it out. I did NOT revert them. Then when I upgraded my real board, they all got moved to custom templates. If you combine this with hacking the PHP files according to PPN's instructions (be very careful if you have a hack in any of the modified code), you will have no problems.
Let me check if understood.
You say if I edit each my 'default template' which was added by any hack (installer or not), to see near it the three links [edit] [revert to original] [view original] instead of the standard two, I'll be sure they'll be moved to 'custom template' section after the upgrade; or at least they will not reverted by the upgrade ....

Is it true ?
Thanks
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 09:15 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.06225 seconds
  • Memory Usage 2,320KB
  • 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
  • (3)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
  • (3)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