Thread: Extra fields in "user"

Page 1 of 2 12 LastLast
Results 1 to 10 of 11
  1. #1 Extra fields in "user" 
    Member Market Banned Market Banned

    Zee Best's Avatar
    Join Date
    Feb 2007
    Age
    29
    Posts
    3,036
    Thanks given
    24
    Thanks received
    210
    Rep Power
    1171
    If i go into my Vb mysql and add extra fields in the user table will it fuck anything up?

    I want to add fields which can't be edited by the forum, instead of creating a new database for the same stuff and having to search both tables.


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  2. #2  
    Community Veteran

    Songoty's Avatar
    Join Date
    Dec 2007
    Posts
    2,741
    Thanks given
    207
    Thanks received
    1,022
    Rep Power
    2351
    will mess up structure of insertions
    Reply With Quote  
     

  3. #3  
    Member Market Banned Market Banned

    Zee Best's Avatar
    Join Date
    Feb 2007
    Age
    29
    Posts
    3,036
    Thanks given
    24
    Thanks received
    210
    Rep Power
    1171
    Quote Originally Posted by Songoty View Post
    will mess up structure of insertions
    Ah, so if i wanted variables done by name i would have to create a new table and store the names again?

    Also, is there a way to enter data into these tables upon registering on the forum? So for example if i had the table; "imagelinks" or something, is there a way to automatically set an entry as "user, null" when registering?


    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  4. #4  
    Community Veteran

    Patawic's Avatar
    Join Date
    Dec 2006
    Age
    26
    Posts
    1,950
    Thanks given
    40
    Thanks received
    150
    Rep Power
    2463
    you could try adding it to "the end" within the table, that shouldnt stuff insertions up form recolleciton
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  5. #5  
    Registered Member

    Join Date
    Sep 2007
    Age
    29
    Posts
    2,396
    Thanks given
    5
    Thanks received
    436
    Rep Power
    902
    Quote Originally Posted by Patawic View Post
    you could try adding it to "the end" within the table, that shouldnt stuff insertions up form recolleciton
    ment to comment last night, but as Patawic said it should be fine as long as you add it at the end of the table
    Hyperion V2 Martin's Updates.
    [Only registered and activated users can see links. ]

    Scar says:
    i hate it when it hits your face
    Reply With Quote  
     

  6. #6  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,074
    Thanks given
    2,625
    Thanks received
    3,578
    Discord
    View profile
    Rep Power
    5000
    Unless vbulletin use some weird syntax, when you insert into a table you do something like this:

    Code:
    INSERT INTO table (col1, col2, col3) VALUES (value1, value2, value3);
    Adding extra columns shouldn't make a difference since in your INSERT INTO statement you already specify which columns and the order of them that you are going to use in the VALUES bit.
    .
    Reply With Quote  
     

  7. Thankful user:


  8. #7  
    Community Veteran

    Patawic's Avatar
    Join Date
    Dec 2006
    Age
    26
    Posts
    1,950
    Thanks given
    40
    Thanks received
    150
    Rep Power
    2463
    vbulletin uses its own methods for executing queries.
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

  9. #8  
    Programmer, Contributor, RM and Veteran




    Join Date
    Mar 2007
    Posts
    5,074
    Thanks given
    2,625
    Thanks received
    3,578
    Discord
    View profile
    Rep Power
    5000
    Quote Originally Posted by Patawic View Post
    vbulletin uses its own methods for executing queries.
    But ultimately it'll generate SQL like the above and send that off to the MySQL server?
    .
    Reply With Quote  
     

  10. #9  
    Doctor p - Sweet Shop

    Join Date
    Apr 2007
    Age
    28
    Posts
    6,835
    Thanks given
    150
    Thanks received
    584
    Rep Power
    2595
    Quote Originally Posted by Graham View Post
    But ultimately it'll generate SQL like the above and send that off to the MySQL server?
    Can't think of anything else, so yeah. There won't be a problem adding more fields, even if you at them in the beginning or the middle.

    But always backup your database, just in case.
    Reply With Quote  
     

  11. #10  
    Community Veteran

    Patawic's Avatar
    Join Date
    Dec 2006
    Age
    26
    Posts
    1,950
    Thanks given
    40
    Thanks received
    150
    Rep Power
    2463
    it uses the same queries etc, just different methods of sending it
    [Only registered and activated users can see links. ]
    Reply With Quote  
     

Page 1 of 2 12 LastLast

Thread Information
Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)


User Tag List

Similar Threads

  1. Replies: 0
    Last Post: 08-12-2010, 07:40 AM
  2. "hed","head","headicon" command like ::emote Rep++
    By «I Gf I» ©£ in forum Help
    Replies: 12
    Last Post: 10-06-2009, 05:30 AM
Posting Permissions
  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •