Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 General Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-06-2007, 01:46 PM
CP, CP, is offline
 
Join Date: Aug 2005
Location: UK London
Posts: 276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default The Safest way to upgrade a heavily hacked forum?

A Crucial and Interesting thread for all of those who have a heavily modified forum!

Ok we are on a 3.5.4 and have had upto 40 hacks installed, some hacks required template changes and some required file editing.

Now i know how to backup a database and i know how to restore a database, so no need to tell me that! lol

What i want to do is, i want to get rid of all the hacks and just keep the default settings like, member post count, posts, reputation etc I want our heavily modified forum with over Threads: 12,036, Posts: 432,169, Members: 1,577 basically what we want is a fresh new forum with all our posts, members and all other default settings.

We are planning to upgrade the forum to a 3.6.5 or possibly a 3.5.8. I have tried and tested some methods over the weekend inside a test directory. Ive had some luck but not so great as some hacks are still lingering within the default database tables.

Does anybody, or has anybody ever upgraded a heavily modified forum? Remember i want to loose all hacks ever installed, files and from the database.

What is the way forward and how will you do it?

P.S: No spam please, i would like to read some constructive posts. Cheers. :up:
Reply With Quote
  #2  
Old 08-06-2007, 01:51 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

couldnt you just revert all the templates via your style manager that should take you back to the core files of vb with no mods then upgrade using the version you want upgrading to
Reply With Quote
  #3  
Old 08-06-2007, 02:03 PM
CP, CP, is offline
 
Join Date: Aug 2005
Location: UK London
Posts: 276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tipoboy View Post
couldnt you just revert all the templates via your style manager that should take you back to the core files of vb with no mods then upgrade using the version you want upgrading to
Good point, i thought of that too.

What about the following:

1. Plugins? (yes you can uninstall them)
2. What about plugins that create extra database tables which after you uninstall them the tables still dont go away? (yes you have to manually remove them)
3. What about plugins that add extra tables and also modify and add other tables within default vbulletin database tables? (what do you do then?)

Ok assuming you have done all of the above, barr no.3 when you install and revert all templates and run an upgrade surely an error of some sort will show up after installation? (yes i did all the above and the last point, no.3 did give me problems where i had to manually apply a "disable all hooks/hacks" string within the config.php file in order for the forum to work.

Even after i had removed all hacks it still gave me problems, knowing there is a table somewhere within my forums default database tables which still holds some resemblances to the hacks was worrying.
Reply With Quote
  #4  
Old 08-06-2007, 02:12 PM
tipoboy's Avatar
tipoboy tipoboy is offline
 
Join Date: Dec 2005
Location: scotland
Posts: 693
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

to upgrade you have to overwrite all your default vb files with the new versions so if there are any you have manually edited they will be overwritten.

or you cold install a fresh version of vb and use impex or something, i've only ever upgraded so dont know to much about that side of things
Reply With Quote
  #5  
Old 08-06-2007, 02:16 PM
CP, CP, is offline
 
Join Date: Aug 2005
Location: UK London
Posts: 276
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally Posted by tipoboy View Post
to upgrade you have to overwrite all your default vb files with the new versions so if there are any you have manually edited they will be overwritten.

or you cold install a fresh version of vb and use impex or something, i've only ever upgraded so dont know to much about that side of things


Yes reverting templates and uploading original files is not a problem. Im talking about the database side of things ive highlighted in my above post.
Reply With Quote
  #6  
Old 08-06-2007, 04:23 PM
SCRIPT3R SCRIPT3R is offline
 
Join Date: Jan 2005
Posts: 1,303
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

1. uninstall any and all plugins/products/etc.
2. revert all templates
3. backup
4. upload/overwrite forum files
5. run upgrade script (updates database)
6. verify everything works
7. close forum (not necessary/optional)
8. remove entire forums directory (not necessary/optional)
9. upload forum files (not necessary/optional)
10. open forum and enjoy.
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:37 PM.


Powered by vBulletin® Version 3.8.12 by vBS
Copyright ©2000 - 2025, vBulletin Solutions Inc.
X vBulletin 3.8.12 by vBS Debug Information
  • Page Generation 0.06855 seconds
  • Memory Usage 2,213KB
  • Queries Executed 13 (?)
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
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (2)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (6)post_thanks_box
  • (6)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (6)post_thanks_postbit_info
  • (6)postbit
  • (6)postbit_onlinestatus
  • (6)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
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete