vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   What if I add a field to ForumUser ??? (https://vborg.vbsupport.ru/showthread.php?t=159149)

mistyPotato 09-30-2007 08:59 PM

What if I add a field to ForumUser ???
 
Does anyone know if any problem might arise simply by adding a new field to the FORUMUSER table?

I want to add a field for keeping a count of the number of visits (log ins) by members.

I just want that field to hold an incremental count of each time a member logs in.

I'm not so much worried about the coding as the effect of adding the field.

Thanks

WhaLberg 09-30-2007 11:37 PM

Ofcourse you may not face any errors if you add a field to a table as long as you add it right. :)

mistyPotato 10-01-2007 12:02 AM

Quote:

Originally Posted by WhaLberg (Post 1350499)
Ofcourse you may not face any errors if you add a field to a table as long as you add it right. :)

:confused:

My Intent was to open MySQL and add the field from MySQL...outside of vBulletin

WhaLberg 10-01-2007 12:47 AM

Feel free, there are several ways to add a field to a table.

Kirk Y 10-01-2007 01:05 AM

Add a prefix to prevent any possible conflicts with future versions.

mistyPotato 10-01-2007 01:29 AM

Ok.

Thanks! :up:

I guess my main concern was that the Maintenance routines might do a checksum or integrity check on the table and find a larger checksum value or too many fields etc etc.

Or

It might affect future updates.

Both your answers suggest it will not cause any problem (as long as I don't chose a field name that vBulletin later uses).


All times are GMT. The time now is 03:59 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.01005 seconds
  • Memory Usage 1,724KB
  • 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)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