vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   The Safest way to upgrade a heavily hacked forum? (https://vborg.vbsupport.ru/showthread.php?t=154463)

CP, 08-06-2007 01:46 PM

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:

tipoboy 08-06-2007 01:51 PM

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

CP, 08-06-2007 02:03 PM

Quote:

Originally Posted by tipoboy (Post 1311173)
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.

tipoboy 08-06-2007 02:12 PM

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

CP, 08-06-2007 02:16 PM

Quote:

Originally Posted by tipoboy (Post 1311190)
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. :)

SCRIPT3R 08-06-2007 04:23 PM

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.


All times are GMT. The time now is 05:21 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.01101 seconds
  • Memory Usage 1,726KB
  • Queries Executed 10 (?)
More Information
Template Usage:
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (6)printthreadbit
  • (1)spacer_close
  • (1)spacer_open 

Phrase Groups Available:
  • global
  • postbit
  • showthread
Included Files:
  • ./printthread.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/class_bbcode_alt.php
  • ./includes/class_bbcode.php
  • ./includes/functions_bigthree.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
  • printthread_start
  • bbcode_fetch_tags
  • bbcode_create
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • printthread_post
  • printthread_complete