vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vBulletin 3 Articles (https://vborg.vbsupport.ru/forumdisplay.php?f=187)
-   -   Tutorial: Upgrade your hacked board in less then 30 minutes (https://vborg.vbsupport.ru/showthread.php?t=38545)

TECK 05-11-2002 10:00 PM

Tutorial: Upgrade your hacked board in less then 30 minutes
 
This tutorial is [high]vBulletin.org and yqed.com (why queued) copywrited[/high]. All rights reserved.
Please ask permission in this thread to copy the tutorial. If granted, post a link that points to this page.


We all have all kind of hacks installed in our boards, or else you wouldn't be reading this thread, right? ;)
Here is it my tutorial on how to upgrade your VB board in less then 30minutes.

TOOLS NEEDED
Araxis Merge (for more info, visit www.araxis.com)
I use the evaluation version for now, but this will be my next purchase. Is worth every penny.

PROCEDURE
[high]STEP 1[/high]
01. Extract your new zipped file that you downloaded from Member's Area to a unique folder and dispose the files in the same manner as you have them on your web server.
I named that folder [high]vbNEW[/high].
For example, you should have your folder tree like that:
Quote:

|--vbNEW (.php and .js files here)
|-----admin (.php files)
|-----mod (.php files)
02. Create a new unique folder called [high]vbOLD[/high] (your actual version that you want to upgrade from).
Copy there ALL your .php, .js files that you currently have (hope you alwyas keep the .zip file).
Your folder tree should look like that:
Quote:

|--vbOLD (.php and .js files from old zip archive here)
|-----admin (.php files)
|-----mod (.php files)
|--vbNEW (files from the new zip archive here)
|-----admin (.php files)
|-----mod (.php files)
[high]STEP 2[/high]
01. Open Araxis Merge and press CTRL+D. It will start a new folder comparison.

02. Browse for folder location in each compare area. I selected the vbNEW in the left side and vbOLD in the right one.

03. Press the button Refresh. Araxis will start to compare the files one by one and show you the changes in colors.

[high]STEP 3[/high]
Let's see the changes that occurred in db_mysql.php file, for example.

01. Click on the db_mysql.php file name to highlight it.

02. Press CTRL+M to launch the file comparisons. A new window will open and Araxis will highlight all code changes.

03. Copy the highlighted code onto your actual vBulletin hacked file.
NOTE: Repeat this procedure for every code change that you see highlighted.

[high]FINAL STEPS[/high]
If you are not sure 100% of what you are doing, use the upgrade system provided by Jelsoft and reinstall manually the hacks again.
Araxis is a great tool for comparing the files ONLY.

Once done, test the new code on your test board. if everything is OK, upload your files to your live web site.
You are done. ;)

Aaow AnD wHiTe 05-12-2002 06:19 AM

Thanx nakkid :) We may try it next time we upgrade our board ;) Good Job!!

Lesane 05-12-2002 08:38 AM

Great, thanks for the tutorial.

Dark_Wizard 05-13-2002 06:00 PM

Yes...very nice tutorial...thx!

hypedave 05-13-2002 10:17 PM

thankyou for the tut, when vb 2.2.6 is available for us members, I will definetly give this a try

Marshalus 05-14-2002 03:31 AM

This should be listed as a sticky thread. A lot of new hackers will want this kind of information when things get upgraded, I wish I would have had this info a while back instead of discovering it myself, it would have saved me a lot of time.

Lesane 05-16-2002 10:20 AM

I just purchased Araxis Merge Professional v6.0. Great program, i love it. :)

TECK 05-16-2002 10:36 AM

i will do it next week. damn lesane... you are always faster then me. :)

Brad 05-16-2002 11:17 AM

i use beyound compare, but im ganna download this and see if its any better ^^

Xenon 05-16-2002 11:30 AM

i use beyond compare, an my update procedure is something else

i extract the unchanged vb i use (say 2.2.5) and compared it with the one on my server with the hacks.

so i'm sure i find every line i have changed.

after that i copy the changed lines into the new files.

it takes a bit more time, but you can be sure not to forget a line you have changed nor to overwrite some new code with the old code.

but a good tutorial nakkid, because it is very fast to update this way

DelusionalMind 05-17-2002 08:43 AM

sweet! :)

TECK 05-22-2002 04:22 AM

Quote:

Originally posted by Xenon
so i'm sure i find every line i have changed.
after that i copy the changed lines into the new files.
it takes a bit more time, but you can be sure not to forget a line you have changed nor to overwrite some new code with the old code.
that's exacly what araxis does. and is automatized. no need to search for it, it will do it for you, instantly. :)

FWC 05-22-2002 05:51 AM

Quote:

Originally posted by nakkid
that's exacly what araxis does. and is automatized. no need to search for it, it will do it for you, instantly. :)
Beyond Compare does that, too. Xenon is just being extra careful.

Lesane 05-22-2002 07:12 AM

Quote:

Originally posted by nakkid
i will do it next week. damn lesane... you are always faster then me. :)
hehe :lick:

polgas 05-22-2002 05:02 PM

Thanks for the tutorial.

It would help also if there's a tutorial for upgrading modified templates.

TECK 05-22-2002 06:55 PM

actually there is one. search for firefly's hack: template backup system. :)

menetas 05-23-2002 04:04 PM

I got a big problem...
this program is for Windows...
and the server where i host the boards is linux mandrake.. and the only way i can get connected is via ssh...
any suggestions???

TECK 05-23-2002 09:39 PM

if you can ftp to it to upload the files, you are ok. do you run windoze as OS or linux in your pc?

JulianD 05-27-2002 09:22 AM

thanks nakkid for this great tutorial. I will download Araxis Merge Trial and test it... Maybe I buy it :)

scsa20 06-03-2002 05:06 AM

I used Beyond Compare when I did mine :rolleyes: (I don't know about this one, but with Beyond Compare, you can set it up to connect to your server and do it that way)

NTLDR 06-07-2002 02:44 PM

Thanks for the tut nakkid, good work, I've have to update my board now :D

X-Fan 06-09-2002 10:08 AM

Not all of us have the available funds to purchase programs like those, so we're reliant on others providing manual upgrades from version to version (to whom we're eternally grateful, let me say!).

Austin Dea 06-11-2002 01:43 AM

<a href="http://www.scootersoftware.com" target="_blank">Beyond Compare</a> is free. It's what I use =P

TECK 06-11-2002 04:22 PM

actually is shareware. i like alot better araxis due to his speed and flexibility. however, beyond compare is a good tool also.

X-Fan 06-14-2002 03:41 AM

And what happens when the shareware version expires? Like I said, not everyone can afford to buy a program to do upgrades to their forums only once in a while. It's not a justifiable expense when there are more important things to pay for (like hosting fees and bandwidth costs).

TECK 06-14-2002 03:50 AM

well, i asume that you like VB and that you going to use it forever. hacks will always be here. i think the price is nothing comparing with the time you save. if you can afford to pay 100$ in hosting/year you can also afford a good piece of software.

when i go out in one night with my wife on a club, i spend more then 124$. so for me is nothing. think of it as an investisment in your work.

X-Fan 06-14-2002 04:03 AM

As I said, there are more important things that need paying for before a program that you'll only use once or twice in a blue moon.

As good as it may be, it's not something that you'd use with enough regularity to justify the expense.

TECK 06-14-2002 04:17 AM

no problem. then you will have to go through the classic way. save the documentation for your hacks and every time you upgrade, you must check every file manually. is time consuming but have the same results. :)
jelsoft upgrades it's software almost every month. if you spend 2hours/month to upgrade your board for 20$/hour (average php tech-troubleshooting charge), that's about 400$/year you save.

i must add that firefly uses this piece of software also and he thinks (i quote) "is a life saver".

Sinecure 06-27-2002 02:33 PM

Thanks SOOO much for this Nakkid. Even though it took me far more then 30 minutes, it was sure a time saver :) This is a god send for anyone upgrading their board, I'm going to stick this :)

Learner29 06-30-2002 08:29 PM

wow! everyone seems to love your tut nakkid....

congratulations...

I have read the thread, now, let us see how this will work!

Gary King 07-02-2002 02:19 PM

Excellent tut, Nakkid!!

Quote:

Originally posted by Nakkid
well, i asume that you like VB and that you going to use it forever. hacks will always be here. i think the price is nothing comparing with the time you save. if you can afford to pay 100$ in hosting/year you can also afford a good piece of software.

when i go out in one night with my wife on a club, i spend more then 124$. so for me is nothing. think of it as an investisment in your work.

Yes, I'd have to agree with you. Software might seem like a lot, but I could spend as much money simply by going out for dinner [at a fancy restaurant :)], and I should also say that I have purchased Photoshop 7.0, even though it might seem quite expensive to some :p

Another thing... which do most of you guys think would be better .. purchasing Beyond Compare, or Araxis Merge? :smoke:

Massiel 07-07-2002 05:33 AM

I used Araxis to upgrade my forums but the version at the bottom of each page still shows the old version, is there anyway of fixing this ? Also the CP still says I should upgrade to 2.2.6

Any ideas?

TECK 07-08-2002 07:44 PM

you still have to run the upgrade...

Massiel 07-08-2002 08:18 PM

Excuse my ignorance :D How do I run the upgrade? And what is the file called? LOL! Won't running the upgrade change any of the files?

TECK 07-08-2002 08:20 PM

upgradeXX.php. once you edited all you files, run that file.

Gary King 07-08-2002 08:22 PM

Quote:

Originally posted by Nakkid
upgradeXX.php. once you edited all you files, run that file.
@Massiel: You must run the correct files for upgrading to version 2.2.6 of vBulletin. You can find the correct information here: http://www.vbulletin.com/members/upgrade.html

:)

Massiel 07-11-2002 08:26 AM

I just wanted to thank you Nakkid, for taking the time to post about this! I followed your instructions in my forums and it worked like a charm. :D I am having trouble with some hacks that stopped working but no biggies, I will figure them out in time! Thanks for everything!!! :)

Massiel 07-11-2002 08:28 AM

Blak I upgraded them all in order :D Thanks!

Gary King 07-11-2002 03:08 PM

np Massiel.. glad it works :D

And BTW, where is the vBulletin copyright in the footer? :ermm:

Massiel 07-11-2002 10:53 PM

You know someone did that style for me and they took that out, if you don't mind telling me how to put it back on I will... I have other templates and they all have it, but not the main one!!


All times are GMT. The time now is 12:30 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.01785 seconds
  • Memory Usage 1,812KB
  • 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
  • (7)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