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
  #52  
Old 10-13-2002, 11:05 AM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

awesome tutorial nakkid...

but what if it goes wrong.. i have numerous hacks installed and all those long lines of $DB QUERY(..... 's could go wrong?

- miSt
Reply With Quote
  #53  
Old 10-13-2002, 05:05 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

The worst that can happen is that you have some parse errors and maybe a few DB errors. I upgraded a 2.2.6 board to 2.2.8 with a fair amount of hacks installed and there was one error, which I knew there would be.

With the $DB_site->query's just check whats being added, if its not in the origional one then add it to it, just make sure you don't overwrite the ones with initval in the new 2.2.8 files with the varibles without it in the old files as this is a security risk
Reply With Quote
  #54  
Old 10-15-2002, 04:56 PM
Dean C's Avatar
Dean C Dean C is offline
 
Join Date: Jan 2002
Location: England
Posts: 9,071
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

i successfully upgraded..

took me 4 hours though lol!

Thanks for this useful tutorial Nakkid

Regards

- miSt
Reply With Quote
  #55  
Old 10-21-2002, 02:29 PM
groovesalad groovesalad is offline
 
Join Date: Aug 2002
Posts: 210
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

How are you supposed to know what you changed versus what was changed for the upgrade?
Reply With Quote
  #56  
Old 10-25-2002, 10:20 AM
TECK's Avatar
TECK TECK is offline
 
Join Date: Nov 2001
Location: Canada
Posts: 4,182
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

read again the first post. i made it more clear.
cheers.
Reply With Quote
  #57  
Old 10-26-2002, 02:37 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

What of in the case where you have not the resources for a test board? How do you go about upgrading a heavily-hacked forum without causing errors that can result in downtime of your site?

I've tried both Araxis Merge and Beyond Compare, and have had nothing but trouble with both resulting in numerous errors. And no, I'm not computer illiterate.

Besides, both AM and BC are evaluation only, which means a purchase is required to continue using them. I certainly don't have the money available to pay for extra purchases such as these, and there was never anything mentioned when I signed up for vBulletin about requiring to purchase extra software in order to upgrade my forums.

I still say the easiest thing for all involved would be for the makers of vBulletin to release to registered members a manual list of changes from one version to the next. That way, people could upgrade their forums without fear of them screwing up.
Reply With Quote
  #58  
Old 10-26-2002, 06:18 PM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by X-Fan
I still say the easiest thing for all involved would be for the makers of vBulletin to release to registered members a manual list of changes from one version to the next. That way, people could upgrade their forums without fear of them screwing up.
You should properly comment the changes you make in all files, that when you will find upgrading alot easier. vB do say on there site that they do not support hacked boards so I expect its unlikly they will do anything to make it "easier".
Reply With Quote
  #59  
Old 10-26-2002, 08:02 PM
Erwin's Avatar
Erwin Erwin is offline
 
Join Date: Jan 2002
Posts: 7,604
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

NTLDR is right. Plus they don't want to make it easy for pirated boards to upgrade as well without needing to download the files.
Reply With Quote
  #60  
Old 10-27-2002, 02:13 AM
X-Fan's Avatar
X-Fan X-Fan is offline
 
Join Date: Jan 2002
Location: Adelaide, Australia
Posts: 496
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Yes I realize vBulletin don't support hacked boards (which honestly makes me wonder the point of making hacks at all if the makers of the software won't support it), but they can still make something like what I'm suggesting available only to members, just like they make the files available only to members.

And I do properly comment all the files, but it doesn't help when entire sections of code are changed making a hack completely inoperable until an upgraded version of the hack is issued (if at all).
Reply With Quote
  #61  
Old 10-29-2002, 08:11 PM
Visionray's Avatar
Visionray Visionray is offline
 
Join Date: Feb 2002
Location: DC - USA
Posts: 85
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Ok, wait, so I put the vbNEW on the left, and the vbOLD on the right side and I just click that little arrow to move the code from the NEW on the left to the OLD on the right? So I'm adding in the new code to my old version instead of adding in the old code to the new version right?

Sorry I am so lost. Is this a wise move to do from 2.2.4 to 2.2.8?

What about templates? Will I need to change all those too?

Thanks
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 03:13 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.06754 seconds
  • Memory Usage 2,306KB
  • 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
  • (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