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
  #112  
Old 01-23-2005, 06:58 PM
givemeplain givemeplain is offline
 
Join Date: Dec 2004
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Im about to do this using araxis merge, but won't just copying the code from the new files totally mess up the hacks installed? Do I copy everything that is different from the file comparison from vbNEW to vbOLD? Or do I have to look and see what is being changed.
Reply With Quote
  #113  
Old 01-23-2005, 07:31 PM
sross sross is offline
 
Join Date: Mar 2004
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i got really frustrated with araxis merge and use beyond compare instead. I am not sure what I'll do this time, I guess open all vbnew files, and find my hacks in the vbold files, then copy the hack code from vbold to vbnew , then pray like hell..
Reply With Quote
  #114  
Old 01-23-2005, 07:40 PM
givemeplain givemeplain is offline
 
Join Date: Dec 2004
Posts: 38
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

++++. You're supposed to copy the code from vbold to vbnew? I was doing it the other way around

There goes around 30 min of work.
Reply With Quote
  #115  
Old 01-24-2005, 04:44 AM
pelican pelican is offline
 
Join Date: Sep 2004
Posts: 103
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

how does this sort of file compare method good in upgrading hacked board?

i mean, /vbNEW/ has the latest code, /vbOLD/ has hacked code and older codes.

Wont the older buggy codes been merge into together along with the hacked codes?
Reply With Quote
  #116  
Old 01-28-2005, 04:47 PM
Sooner95 Sooner95 is offline
 
Join Date: Apr 2003
Location: I don't know
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

from what i gether here, you take "hack code" from vbOLD, and place it in vbNEw files.. if you have alot of hacks, I have close to 30, I expect this will take a couple hrs..but alot less than having to rehack them all.

then you test the board "vbNEW" files to make sure everything is working properly, hacks, and the board in general. If everything is peachy, then simply copy the vbNEW files over your "LIVE Board" files and your set.

Someone correct me if I am wrong.

big reason why I havnt upgraded in awhile, but this I will try, and if works, then way cool!..
Reply With Quote
  #117  
Old 01-28-2005, 06:11 PM
sross sross is offline
 
Join Date: Mar 2004
Posts: 355
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i use beyond compare and when copying old to new it is very easy, it actually highlights the different code so you can spot your hack, select it and send it over to the new code, it even inserts it where it should be automagically. It's my understanding that once all your hacks are copied over to the new code, you then upload the new code, and THEN you must run the upgrade script. But I am no expert so someone correct me if I'm wrong. I'll be upgrading today -shouldn't be too bad but not looking forward to it
Reply With Quote
  #118  
Old 01-28-2005, 06:35 PM
Sooner95 Sooner95 is offline
 
Join Date: Apr 2003
Location: I don't know
Posts: 535
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

guess another way, would be to get your files all set, make sure your "test board" works, then just redirect your domain to it..
Reply With Quote
  #119  
Old 01-29-2005, 04:18 AM
Smitty's Avatar
Smitty Smitty is offline
 
Join Date: Sep 2002
Location: Southern Ohio
Posts: 385
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by sross
i use beyond compare and when copying old to new it is very easy, it actually highlights the different code so you can spot your hack, select it and send it over to the new code, it even inserts it where it should be automagically. It's my understanding that once all your hacks are copied over to the new code, you then upload the new code, and THEN you must run the upgrade script. But I am no expert so someone correct me if I'm wrong. I'll be upgrading today -shouldn't be too bad but not looking forward to it
For Mac people, bbedit does the same. A program like this is really handy.
Reply With Quote
  #120  
Old 02-02-2005, 04:44 AM
DS MrSinister DS MrSinister is offline
 
Join Date: Dec 2002
Location: the burgh
Posts: 553
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Does anyone use meld to do this? If yes how woould i use it? I am new to linux.
Reply With Quote
  #121  
Old 02-21-2005, 05:55 PM
alderwazeh alderwazeh is offline
 
Join Date: Jan 2005
Posts: 22
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quick question

Can I used this software to rescure some losting data in my VB db...
Example... say I have now VB version 3.0.6 ... with current posts of 2000
last month I lost 60 post by mestike ... can I recover these posts by merging the VBs of current and last ?! or merging the databases ?
I hope you understand my question
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 01:00 PM.


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.05224 seconds
  • Memory Usage 2,305KB
  • Queries Executed 25 (?)
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
  • (3)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
  • (1)pagenav_pagelinkrel
  • (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_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