vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Can I screw up VB by adding tables to the DB (https://vborg.vbsupport.ru/showthread.php?t=80010)

samacohen 04-16-2005 02:42 PM

Can I screw up VB by adding tables to the DB
 
Hi. I am teaching myself php and mysql and I would like to start adding to my VB . I have three simple questions.

1. If I add new tables to the forum db, can that, in anyway, mess up VB software. I don't think it can, but I just want to make sure. (The tables would have new names)

2. If I insert new files or folders into the vbulletin directory, can that screw up the forum?

3. Is it a bad idea to add users through my own queries, verses, say the standard registration or admin add-user form. I want to write an insert query to the user table, where I can add multiple users at once, inserting just username, password, email, & usergroup, but I am worried that I might be leaving out some essential hidden information or, because passwords are encrypted, doing it through a query might mess that up

Thanks for your help,
Sam

Paul M 04-16-2005 02:44 PM

1. No, it won't.

2. No, it won't.

3. You can - but it's abit more involved that just inserting data into the users table.

:)

(1 & 2 assumes you don't touch the existing tables or files)

samacohen 04-16-2005 02:48 PM

Quote:

Originally Posted by Paul M

3. You can - but it's abit more involved that just inserting data into the users table.

:)

(1 & 2 assumes you don't touch the existing tables or files)

Thank you. Any chance you can elaborate on your answer to 3. What query would I need to use to add a user(s) that way?

Zachery 04-16-2005 03:06 PM

Quote:

Originally Posted by samacohen
Thank you. Any chance you can elaborate on your answer to 3. What query would I need to use to add a user(s) that way?

You need to update 3 rows and update the datastore. Its not simple. Its better left to the registration file.


All times are GMT. The time now is 08:10 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.02006 seconds
  • Memory Usage 1,715KB
  • 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
  • (4)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