1 Attachment(s)
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 |
Thank the maker! This will save major time!
:D |
Thank you ... uploaded with no problems.:)
|
Scott,
First, a big major thanks for all your efforts! Did a great job on this document! Second, does this mean we'd only have to change these .php files and leave all others untouched? For example: you don't say anything about member.php, does this mean I can just leave the 2.2.1 version of this file? - djr |
correct
if its not mentioned it doesn't need to be modified, as this release was mainly a bug fix not every file was edited. I also had someone emailing me asking if Jelsoft allowed this, John had no quams with me posting this here. |
Great, thanks! /me needs to do some serious editing now :-)
... and off I am |
Wonderful!!
Great, Scott. :D I never saw before a FULL UPGRADE HACK... ;) Yeah, it's the hack itself. Thanks P.S.: what did you use ? Araxis Merge, Beyond Compare, eight pairs of eyes and hands, or what ? :pleased: |
You sir, are a saint among men. Thank you!!!!
|
Thanks :D
|
squawell,
Look at it more closely ... you'll see it was a typo, e was left out. |
thankz PPN~:D:D
it's very useful~~ |
you are God sent. Thank you
|
I noticed if you have the contract/expand hack installed and the community bulletin hack, some of this code makes it unusable.
|
Quote:
|
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.
|
Quote:
|
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. :)
|
Those hacks shouldn't replace the default template in my opinion.
|
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 |
Quote:
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 |
remi this was a change between 2.2.2 RC and 2.2.2 final i'll have to wait until i am home to confirm this for you.
|
Quote:
|
Thanks for the good work
|
Does this mean I can use this without losing my hacks ?
|
yes it is a list of all changes in the files between 2.2.1 and 2.2.2
|
Just FYI, in today's feb 1 download of VB 2.2.2,
upload/admin/vbulletin.style has changed. Bye |
did they announce on the site that it had changed?
cause the downloads are made dynamically the creation date will always be different, depending on when you downloaded it as they use CVS. |
I know well.
The dates change, but the file content doesn't.... ;) Instead, I checked the two zips with a my slight utility which compares file-CRCs .... That file is the only changed in the past day. I often check when new release comes out, as the first two or three days there are a lot mods... For example, the 2.2.1 just came out, in four days changed about 3 times. Hwr, this time only the style changed. This shouldn't affect your great job. Bye |
Big Thx @PPN for your great work!
But, one little fault: :rolleyes: In online.php, you also have to do this changes: Code:
look for Greetings, Mystics |
It works great. I just used it, with a german Style and all works perfeclty. You saved me much time.
|
Done! It works well, thanks for the upgrade "hack"!!!
:) |
For those having trouble -- OBVIOUSLY you modify the new code around your existing hacks. Someone (I take it?) says that the contract/expand hack doesn't work? It did on my board -- I just had to re-insert the mods into the templates again.
I keep full records of EVERY modification I make to the board on my site, the forums are what make my site and I reeeeeeally don't want them screwed up for long if I can help it. When I was installing 2.2.2 I didn't even have to turn the board off, users didn't even know I'd upgraded -- but I haven't had a single 'my link in e-mail doesn't work' e-mail. :) I'd just like to thank 'PPN' again for taking the time to do this. :D |
Yup - just run the install_contractposts.php to reinstall the templates - no need to make any code or template changes.
|
$pagenav = getpagenav($totalposts,"showthread.php s=$session[sessionhash]&threadid=$threadid&perpage=$perpage".iif(isset($h ighlight), "&highlight=$highlight", ""));
Where is the question mark after .php? Is it not supposed to be there? |
there is a question mark in my version
|
Thanks. Odd, it's stripped out on my end... also, was that double "exit;" correct?
|
this was so incredibly helpful... TANKIE YOUZ!
|
Thank you sooooooooooo much for this!!! You've saved me a lot of time and effort!
All I had to do was re-run the VBStats hack and select upgrade to re-initialize that hack - the rest remained untouched and intact!!! Thanks again! |
yeah it should have been remove exit; someone distracted me at the time on ICQ, can't remember who though probably FireFly ;)
|
Do you remember which file that was in?
|
All times are GMT. The time now is 10:23 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 | |
---|---|
|
|
More Information | |
Template Usage:
Phrase Groups Available:
|
Included Files:
Hooks Called:
|