Thanks :D
|
Another thing, are the changes made to forumdisplay.php the "optimized" changes as referring to this page:
http://www.vbulletin.com/forum/showt...threadid=38684 |
Quote:
Well. What should be the right upgrade sequence ?? - change the php files as written here (without uploading) - backup templates - upload and execute upgradeXX.php - restore templates with changes - upload all the modified php files Is it all right ? Thnx |
ok updating the file with the optimized options added
|
PPN: the quickest hacker in the west !
(what's your timezone ? :stupid: :stupid: ) Hwr, i'll raise my procedural question above: Quote:
As said in another hack/upgrade-oriented thread, this is the first time I upgrade an hacked version, so wouldn't make mistakes to make me close for a month! Bye |
I'd do the following
apply the file changes backup database close board upload new files including upgradeXX.php and vBulletin.style restore templates open board |
Quote:
About quoted action, more questions: - Template Backup System ? And what about new created/modified templates by upgradeXX.php ? - Should I compare all the new templates with the old ones ? Thnx |
So what do those that already did the updates from the first file do?
|
Quote:
Is it a word game ? :dead: |
Quote:
On my board there are three states of 'default' templates: 1) Custom, identified by [edit] [remove] options 2) Original, identified by [change original] option 3) Original modified, identified by [edit] [revert to original] [view original] options Well, if case 2, I don't worry if upgrade changes it, of course. If cases 1 and 3, do you mean they are automatically skipped by the upgrade as they are 'custom' ? If so, I'll have the upgrade modifications only in the 'original' version of those customized templates, is it true ? How could I compare - via TBS, for example - the original and modified versions to apply by hand the changes ? Thanks everybody. Bye |
great work PPN.. u basically did the job with araxis merge right?
|
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 |
PPN thanks a lot!!!
I´ve migrated my Board with 20+ hacks in minutes!!! Everything works perfectly... cya |
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. |
will i lose my hacks and stuff if i run upgrade 15 or apply this hack to my forum?
|
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.
|
Quote:
@ 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 |
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?
|
Did it, no problems. Had to run the vbStats script again, though. Also, my vblinks categories drop down is missing now... hmm.
|
sounds like a template issue as there is nothing in the coding which would cause this.
|
in 2.21 editpost.php this is no where to be found
$DB_site->query("DELETE FROM searchindex WHERE postid=$postid"); |
cannot find post above and this one below in postings.php
After that I am good to go. look for $getfirstpost=$DB_site->query_first("SELECT postid FROM post WHERE threadid=$threadid ORDER BY dateline LIMIT 1"); $DB_site->query("DELETE FROM searchindex WHERE postid=$getfirstpost[postid]"); indexpost($getfirstpost[postid]); $getfirstpost=$DB_site->query_first("SELECT postid FROM post WHERE threadid=$newthreadid ORDER BY dateline LIMIT 1"); $DB_site->query("DELETE FROM searchindex WHERE postid=$getfirstpost[postid]"); |
do i have to save copies of my modified default templates? Like if I modified postbits, do I need to save a copy of that?
|
PPN, any chance you could please do a new version of this hack for upgrading from 2.2.2 to 2.2.3b?
Please? |
Quote:
|
Or at least what files have changed...from 2.2.2 to 2.2.3b
|
dito! i would also prefer to upgrade this way
|
]same here :) please :D
|
]btw...
found it at the member's area at vb.com "If you have hacks installed and would like an overview of changed code, you should try out Beyond Compare. The website is: http://www.scootersoftware.com/ " |
Quote:
Surely someone can do what PPN did and just create a list of what code you need to add/insert/remove in however many files to bring your current board up from v2.2.2 to v2.2.3b? Please? |
I'm already doing it, will release it tonight as soon as soon as I am back from work. Cause I'm doing it to my own boards then.
|
wow, really cool :)
im waiting.. :) |
PPN
You are THE MAN!! Thanks! |
]bump? :D
|
The release of new version is at the moment too dynamic (three versions 2.2.3, 2.2.3b and now 2.2.4 within few days) to create an useful and definitive upgrade scheme.
Please, std-by for a while. :) |
Don't forget 2.2.3c ;)
|
im still on 2.20
(at the time they said that it would be the last upgrade til 3.0 - doh!!) has anyone seen 2.20 to 2.21 upgrade kicking about the forums |
A 2.2.2 to 2.2.4 upgrade hack (text file showing changes needed to specific files) would be beautiful.
Thank goodness I did not go to 2.2.3 - I would have had to start from scratch to go to 2.2.4. :) I am praying for this... |
Learning to use a program like Araxis Merge:
http://www.araxis.com/merge/ Is much easier and much faster than using one of these (admittedly handy) upgrade documents. Trust me.. He's using a program like Merge to create this document-- just get the program and do it yourself. It's even faster than the copy/paste routines you have to do with the upgrade document. |
Quote:
At least a couple of us already did it (upgrade procedure from 2.2.2 to 2.2.4) but we're waiting for an OK to publish it ASAP. I heard of a couple of days, from now. Besides, as Overgrow correctly said, is much easier to do it by yourselves. Simply, open Araxis Merge (shareware and not too much expensive), to obtain a great and fast three-way compare : - 1st window: original 2.2.2 code - 2nd window: original 2.2.4 code - 3rd window: hacked/modified 2.2.2 target code This way you'll have on the left side a comprehensive comparison of the original code, see yourself the old/new/mod rows, and with a simple click you can apply these mods to the right side onto target customized code. Pretty easy and WYSIWYG... :bandit: Bye |
All times are GMT. The time now is 11:06 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:
|