vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Modifying database = potential upgrade problems later? (https://vborg.vbsupport.ru/showthread.php?t=46172)

horrordvds.com 11-28-2002 12:13 AM

Modifying database = potential upgrade problems later?
 
If I install a hack that changes the database - either by adding a new table, changing an existing one, or whatever - will that cause problems when upgrading to VB3? I mean, what's going to happen to the new tables that VB3 isn't aware of?

I want to install the Thread Preview Hack on my web site. But I would need to run a php file that changes tables in my database. I don't want to do that if it's going to cause problem with VB3 upgrade later on.

I have no problems implementing the hacks - I've played with scripts for years, but I don't know a lot about the MySQL databases and the upgrade processes. Thanks for any help!

Erwin 11-28-2002 12:17 AM

A few points to remember:

1) 99% of hacks for vB2 will not work for vB3 - different way of coding, different names for variables.

2) Most of the time, additional tables or columns in the db will not matter, unless vB3 uses the SAME name - then there will be conflict.

3) When you upgrade vB2 to vB3, new tables and columns will be used - like I said in (2), unless they have the same name, having those extra tables or columns won't make a difference. Since the hacks won't work straight off, you either redo tha hacks, or remove the unwanted tables or columns.

NTLDR 11-28-2002 12:44 AM

Also make a note of the database changes you make, that way you can allways do the oposite to restore you database to the vB2 default later on.


All times are GMT. The time now is 08:39 AM.

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.00872 seconds
  • Memory Usage 1,706KB
  • 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
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (3)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