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
  #12  
Old 05-17-2002, 08:43 AM
DelusionalMind's Avatar
DelusionalMind DelusionalMind is offline
 
Join Date: Dec 2001
Posts: 82
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

sweet!
Reply With Quote
  #13  
Old 05-22-2002, 04:22 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #14  
Old 05-22-2002, 05:51 AM
FWC's Avatar
FWC FWC is offline
 
Join Date: Oct 2001
Location: Ontario, CA
Posts: 821
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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.
Reply With Quote
  #15  
Old 05-22-2002, 07:12 AM
Lesane's Avatar
Lesane Lesane is offline
 
Join Date: Oct 2001
Location: The Netherlands
Posts: 1,149
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by nakkid
i will do it next week. damn lesane... you are always faster then me.
hehe :lick:
Reply With Quote
  #16  
Old 05-22-2002, 05:02 PM
polgas polgas is offline
 
Join Date: Dec 2001
Posts: 8
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Thanks for the tutorial.

It would help also if there's a tutorial for upgrading modified templates.
Reply With Quote
  #17  
Old 05-22-2002, 06:55 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

actually there is one. search for firefly's hack: template backup system.
Reply With Quote
  #18  
Old 05-23-2002, 04:04 PM
menetas menetas is offline
 
Join Date: Nov 2001
Posts: 5
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

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???
Reply With Quote
  #19  
Old 05-23-2002, 09:39 PM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

if you can ftp to it to upload the files, you are ok. do you run windoze as OS or linux in your pc?
Reply With Quote
  #20  
Old 05-27-2002, 09:22 AM
JulianD's Avatar
JulianD JulianD is offline
 
Join Date: Jan 2002
Posts: 455
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

thanks nakkid for this great tutorial. I will download Araxis Merge Trial and test it... Maybe I buy it
Reply With Quote
  #21  
Old 06-03-2002, 05:06 AM
scsa20's Avatar
scsa20 scsa20 is offline
 
Join Date: Mar 2002
Location: Mars
Posts: 458
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

I used Beyond Compare when I did mine (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)
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:38 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.05157 seconds
  • Memory Usage 2,304KB
  • 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
  • (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
  • (3)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