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

Reply
 
Thread Tools
Tutorial: Upgrade your hacked board in less then 30 minutes
TECK's Avatar
TECK
Join Date: Nov 2001
Posts: 4,182

 

Canada
Show Printable Version Email this Page Subscription
TECK TECK is offline 05-11-2002, 10:00 PM

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.
Reply With Quote
  #72  
Old 01-06-2003, 05:42 AM
JakeC JakeC is offline
 
Join Date: Sep 2002
Location: Yakima, WA
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What about the files outside of admin and mod. Do we upload them as well after comparing and copying the hacks into the new admin and mod files? What I am taking about are the files in the upload folder one level up from admin and mod (i.e. calendar.php, edit post.php ect..).

Thanks.

JakeC
Reply With Quote
  #73  
Old 03-06-2003, 08:37 AM
Kars10's Avatar
Kars10 Kars10 is offline
 
Join Date: Jun 2002
Location: Germany/Franken
Posts: 748
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

This is the best way to upgrade my vb.
Thanks so much teck!!!
Reply With Quote
  #74  
Old 03-18-2003, 07:24 PM
JakeC JakeC is offline
 
Join Date: Sep 2002
Location: Yakima, WA
Posts: 74
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Has anyone tried this with 3.0 yet? What are the foreseeable problems with using this method to go from 2x to 3x? Thanks

JakeC
Reply With Quote
  #75  
Old 03-19-2003, 12:04 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

There is no chance. Your simply going to have to replace all the files and wait for the original hackers to upgrade their hacks to vb3 - should take a year for them all to be converted (well most)

- miSt
Reply With Quote
  #76  
Old 03-25-2003, 09:40 PM
Zombie-F's Avatar
Zombie-F Zombie-F is offline
 
Join Date: Mar 2002
Location: Spook City, USA
Posts: 25
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I'm not sure anyone suggested this, but you only need to compare the files that the vb team modified from the last release. They usually post a list of what files/templates were changed from the last version, so, you only need to compare those files and update them. I'm about to try going from 2.2.9 to 2.3.0 like this and I'll let you guys know how it goes.

I'm pretty sure I'll screw something up.
Reply With Quote
  #77  
Old 04-02-2003, 11:09 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok...its time for me to upgrade from 2.2.8 ---> 2.3.0

I downloaded and merge program....

looking at the differences there is a lot but im not sure what i have added and what i havnt, im also worried that im replacing the new coding in 2.3 with old code from 2.2.8

is it better to transfer the data chacges from the new to the old as there dosnt seem as many changes as the other way around...

if some hacks dont work, it would be easier to fix as well???????

Thanks in advance before i start..
Reply With Quote
  #78  
Old 04-03-2003, 12:14 PM
trafix's Avatar
trafix trafix is offline
 
Join Date: Dec 2002
Location: Australia
Posts: 1,021
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well that wasnt so bad!

I have an extra tip for those who are about to upgrade:

1) Download the merge software if you havent already done so.

2) Use the program to compare the 2 ORIGINAL (unhacked versions) eg. 2.2.8 -----> 2.3.0

3) On a note pad jot down the list of files that have changed and the quantity of changes in each.
using my site as an example....
admin/email has 5 changes
admin/index has 11 changes

4) then continue to follow the tut in the first post of the thread and compare the new files with the files from your server.
in my case
admin/email has 5 changes - i have not added any hack to this file
admin/index has 19 changes - i know that i am looking for 7 sections of coding that is used for added hacks.

5) If you cant identify particular coding between the new file and the one from your server then open your editor and load the original file, eg. if i could not figure out code in admin/index I would load that file to my editor ad then again compare the changed lines from the merge program to the original file in your editor.....

I did it this way and so far I have only had I bug found

Hope this helps!
Reply With Quote
  #79  
Old 04-07-2003, 10:30 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
07-19-02 at 05:20 PM menetas said this in Post #42
No, the vbulletin forums are in a server which i can only access via SSH, the mysql database is in ANOTHER server, and i cant make backups because i dont have an admin password nor root in either server, so the database backup just wont work...

i can trasnfer files (phps, html, etc) from the webserver to my local machine via SSH i have a windows and a debian box.. but i cant really see the difference in using Araxi's software.. which is nicely graphical.. but i cant connect to that server via other thing than ssh...

so what do you guys suggest...?
i can backup files in the same server, upgrade vbulletin and reinstall hacks...? is that the way to go?

duh! im really lazy...
cheers! :banana:
This is a little bit going back of time, since menetas ask ... too long ago, but I dont see any reply to his questions, so it may useful, for those who want (or only have) ssh access, to the server. (I myself turn off FTP, telnet, and all other options, except SSH

SSH SercureShell program goes with another one called "SSH Sercure File Transfer. You can use this tool, just like using FTP.
It's FREE for non-commercial and university use.
Download at:
http://www.ssh.com/support/downloads...ommercial.html

With this program, you have both SSH, and SFTP

You can also use some FTP programs that support sercure file transfer option, to connect to secure server via port 22.

-------------
If you want to work REMOTELY on the server, you can use some Linux/Unix file compare programs, that I think should be some. However, it's NOT recommended.

From one version to another, there're a lot of changes in files' code, it's still, and always easier to work on local machine. You can easily compare files, edit files (many files) much quicker than ssh to the server, and working remotely.

Another option, if you still wanna work remotely.
- Have a copy of your forum and the new version, in your computer.
- Using Beyond Compare or Araxis Merge, to find out where you need to make changes, in files.
- Using SSH, edit the files, make the changes that was mentioned in the comparing program, reasonably.


Quote:
but i cant really see the difference in using Araxi's software.. which is nicely graphical.. but i cant connect to that server via other thing than ssh...
Araxis Merge and Beyond Compare are the tools, to help you compare files.
SSH is the interface, for you to work on the server. They are totally different.


--------------------
btw, did anyone compare the differences between Beyond Compare and Araxis Merge?

I think that Beyond Compare can do exactly the same things, as TECK mentioned above.


Happy hacking
Reply With Quote
  #80  
Old 04-15-2003, 10:21 PM
JF1980 JF1980 is offline
 
Join Date: Jun 2002
Location: London, England.
Posts: 21
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im looking at going from 2.2.6 to 2.3.0, I run a modified VBportal site, what should I do about the style file?
Reply With Quote
  #81  
Old 04-16-2003, 07:32 PM
mtha's Avatar
mtha mtha is offline
 
Join Date: Jul 2002
Location: US
Posts: 775
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Yesterday at 11:21 PM JF1980 said this in Post #79
Im looking at going from 2.2.6 to 2.3.0, I run a modified VBportal site, what should I do about the style file?

not much, just upgrade the files (follow the instructions), run the upgrade script (which will replace the templatesetid -1)

Then, check the templates which were modified in those ungrading version, compare with your current templates, and add the parts that you think would be important.

take a look at what has changed in templates, there's usually only a few small changes.

hint. compare current templates with "original" ones which was included in Admin CP.

I have vB 2.3.0 working fine with vBP
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 11:07 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.04774 seconds
  • Memory Usage 2,316KB
  • Queries Executed 27 (?)
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
  • (5)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
  • (4)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
  • (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_postinfo_query
  • fetch_postinfo
  • 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_display_complete
  • post_thanks_function_can_thank_this_post_start
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete