vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Upgrade to 2.2.2 From 2.2.1 (https://vborg.vbsupport.ru/showthread.php?t=34632)

voogru 02-02-2002 07:57 PM

Thanks :D

SirSteve 02-02-2002 09:39 PM

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

Jawelin 02-03-2002 09:31 AM

Quote:

Originally posted by SirSteve
Another thing, are the changes made to forumdisplay.php the "optimized" changes as referring to
Correct. Infact nowaday downloading of the vbulletin2.zip has changed that file too, besides the .style of two days ago.

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

Scott MacVicar 02-03-2002 01:57 PM

ok updating the file with the optimized options added

Jawelin 02-03-2002 02:29 PM

PPN: the quickest hacker in the west !
(what's your timezone ? :stupid: :stupid: )

Hwr, i'll raise my procedural question above:

Quote:

Originally posted by Jawelin
Well.
What should be the right upgrade sequence ??
[...]
Is it all right ?

Thanx
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

Scott MacVicar 02-03-2002 03:03 PM

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

Jawelin 02-03-2002 05:59 PM

Quote:

Originally posted by PPN
[...]restore templates[...]
Thanks for the checklist.
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

SirSteve 02-03-2002 09:52 PM

So what do those that already did the updates from the first file do?

Jawelin 02-04-2002 09:14 AM

Quote:

Originally posted by SirSteve
So what do those that already did the updates from the first file do?
?!?!?
Is it a word game ? :dead:

Jawelin 02-04-2002 01:47 PM

Quote:

Originally posted by Jawelin

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

Still I can't understand how modified (by hacks) templates could stay in 'default' with only [change original] voice.
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

TECK 02-06-2002 08:31 AM

great work PPN.. u basically did the job with araxis merge right?

Scott MacVicar 02-06-2002 01:07 PM

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

psico 02-06-2002 04:39 PM

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

Everything works perfectly...

cya

Scott MacVicar 02-06-2002 05:03 PM

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.

igowoofwoof 02-06-2002 06:58 PM

will i lose my hacks and stuff if i run upgrade 15 or apply this hack to my forum?

Scott MacVicar 02-06-2002 07:55 PM

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.

Jawelin 02-06-2002 10:17 PM

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

Wolf42 02-10-2002 09:47 PM

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?

slideboxer 02-11-2002 06:29 PM

Did it, no problems. Had to run the vbStats script again, though. Also, my vblinks categories drop down is missing now... hmm.

Scott MacVicar 02-11-2002 08:40 PM

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

Lionel 02-17-2002 08:37 PM

in 2.21 editpost.php this is no where to be found
$DB_site->query("DELETE FROM searchindex WHERE postid=$postid");

Lionel 02-17-2002 10:31 PM

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]");

importmix 03-07-2002 06:21 AM

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?

X-Fan 03-07-2002 07:30 AM

PPN, any chance you could please do a new version of this hack for upgrading from 2.2.2 to 2.2.3b?

Please?

Remi 03-07-2002 08:58 AM

Quote:

Originally posted by X-Fan
PPN, any chance you could please do a new version of this hack for upgrading from 2.2.2 to 2.2.3b?

Please?

Thanks :D

psico 03-07-2002 10:41 AM

Or at least what files have changed...from 2.2.2 to 2.2.3b

el3m3nt 03-07-2002 01:07 PM

dito! i would also prefer to upgrade this way

wooolF[RM] 03-07-2002 01:15 PM

]same here :) please :D

wooolF[RM] 03-07-2002 01:19 PM

]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/ "

X-Fan 03-07-2002 01:56 PM

Quote:

Originally posted by wooolF[RM]
"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/ "
Why the need to download a software package to do it? I've got enough programs installed for my work as it is without having to install and learn another!

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?

Scott MacVicar 03-07-2002 02:50 PM

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.

el3m3nt 03-07-2002 03:36 PM

wow, really cool :)

im waiting.. :)

psico 03-07-2002 03:41 PM

PPN
You are THE MAN!!
Thanks!

wooolF[RM] 03-11-2002 12:01 PM

]bump? :D

Jawelin 03-11-2002 12:09 PM

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.
:)

SirSteve 03-11-2002 01:15 PM

Don't forget 2.2.3c ;)

fonzerelli_79 03-11-2002 01:25 PM

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

Erwin 03-12-2002 08:04 AM

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...

Overgrow 03-12-2002 08:42 AM

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.

Jawelin 03-12-2002 11:34 AM

Quote:

Originally posted by Erwin
A 2.2.2 to 2.2.4 upgrade hack (text file showing changes needed to specific files) would be beautiful.
:)

I am praying for this...

Please, read above (Post #75, for example...) and be patient.
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
  • Page Generation 0.01527 seconds
  • Memory Usage 1,817KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (9)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (2)pagenav_pagelink
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (40)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • pagenav_page
  • pagenav_complete
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete