Go Back   vb.org Archive > vBulletin 3 Discussion > vB3 Programming Discussions
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 08-21-2003, 08:42 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Can someone give me some info

on how i might go about this ....

i want to redo me board so want to take all the members over to a new install but i have hacks that have added themselfs to the database such as the store hack etc.

I want to know how i can just take the users (login and password only) and not take any more fields along with it which are un-nessecary as new install wont have the hacks installed.

now if i was to take the table called User and add that to new install would that work or do i need to take more

Now ive just checked me User table and i see fields such as Karma/new/karma new etc all part of karma hack which i dont need.

Someone tell me exactly what i need to do and what to get rid off.

Tried a few times today but it messed up on me.

Thanks in advance
Reply With Quote
  #2  
Old 08-22-2003, 02:37 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok ive suzzed out how to drop the extra tables in the table USER

me new board now shows xx amount of members but going to member list only shows one which is me.

So doing search for all members in admin cp only shows 1 as well

Yet when im looking though the user table in phpmyadmin i see all the members info there in the table USER so what am i missing and why has`nt their info been written to the board.

Really need help on this ........
Reply With Quote
  #3  
Old 08-22-2003, 06:37 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

lot harder than i thought - beginning to think cant swap bits from one database to another

never got errors on the board but when i checked me email this morning i got these :

Invalid SQL: UPDATE user SET lastactivity=1061523189,inforum='0' WHERE userid='1'
mysql error: Unknown column 'inforum' in 'field list'
mysql error number: 1054

Another email

Invalid SQL: SELECT vote, threadrateid FROM threadrate
WHERE userid = AND threadid = '47'
mysql error: You have an error in your SQL syntax near 'AND threadid = '47'' at line 2
mysql error number: 1064

Another email

Invalid SQL: SELECT COUNT(*) AS messages FROM privatemessage WHERE userid=
mysql error: You have an error in your SQL syntax near '' at line 1
mysql error number: 1064

Taking the user table aint enough on its own is it ?

Obviously ive gotta take soemthing else that im missing or should i just give up on this.
Reply With Quote
  #4  
Old 08-22-2003, 11:24 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

ok i got all members over and its working fine

just cant change anyone in admin cause of this error

so how do i fix it and thats it PLZ

Database error in vBulletin Control Panel 2.3.0:

Invalid SQL: UPDATE userfield SET userid=30,field1='',field2='',field3='none' WHERE userid=30
mysql error: Unknown column 'field1' in 'field list'

mysql error number: 1054
Reply With Quote
  #5  
Old 08-22-2003, 11:41 AM
NTLDR's Avatar
NTLDR NTLDR is offline
Coder
 
Join Date: Apr 2002
Location: Bristol, UK
Posts: 3,644
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

You need to re-create the profile fields I suspect. When copying users you need to copy the user and userfield tables.
Reply With Quote
  #6  
Old 08-22-2003, 12:42 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

cheers NTLDR appreciate help all done and working

the fields where different though so i renamed 2 fields and errors in admin cp have gone

members are there now so im happy

[high]* lasto thinks this can be closed now[/high]
Reply With Quote
  #7  
Old 03-21-2005, 10:20 AM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

am having problems with my database at moment as its what u call corrupt

so for me to take members is this all the tables i need to take :

User and userfields only as ive just done this but am getting a sql error when editing members because the usertable must have excess fields that a fresh install would`nt need.

Would i have to drop these first inside the user table ?
Reply With Quote
  #8  
Old 03-07-2006, 06:39 PM
lasto lasto is offline
 
Join Date: Jan 2002
Posts: 1,514
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

am redoing this thread as need help

am after exactly the same thing but as im on 3.0.7 will it still work by moving the members to a fresh board and is this correct :

the tables i need to grab are : user/userfield and Users.

Another thing with existing hack already isntalled what happens to the tables say USER which has other tables added in it for the bank etc will i need to drop these or will it be ok to grab them inside the usertable.

I done this local and the users where there in the admincp but total members for the board was set at 1 - unsure why this is.
Reply With Quote
Reply


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT. The time now is 08:44 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.03814 seconds
  • Memory Usage 2,226KB
  • Queries Executed 11 (?)
More Information
Template Usage:
  • (1)SHOWTHREAD
  • (1)ad_footer_end
  • (1)ad_footer_start
  • (1)ad_header_end
  • (1)ad_header_logo
  • (1)ad_navbar_below
  • (1)ad_showthread_beforeqr
  • (1)ad_showthread_firstpost
  • (1)ad_showthread_firstpost_sig
  • (1)ad_showthread_firstpost_start
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (8)post_thanks_box
  • (8)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (8)post_thanks_postbit_info
  • (8)postbit
  • (8)postbit_onlinestatus
  • (8)postbit_wrapper
  • (1)spacer_close
  • (1)spacer_open
  • (1)tagbit_wrapper 

Phrase Groups Available:
  • global
  • inlinemod
  • postbit
  • posting
  • reputationlevel
  • showthread
Included Files:
  • ./showthread.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/functions_bigthree.php
  • ./includes/class_postbit.php
  • ./includes/class_bbcode.php
  • ./includes/functions_reputation.php
  • ./includes/functions_post_thanks.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
  • showthread_start
  • showthread_getinfo
  • forumjump
  • showthread_post_start
  • showthread_query_postids
  • showthread_query
  • bbcode_fetch_tags
  • bbcode_create
  • showthread_postbit_create
  • postbit_factory
  • postbit_display_start
  • post_thanks_function_post_thanks_off_start
  • post_thanks_function_post_thanks_off_end
  • post_thanks_function_fetch_thanks_start
  • post_thanks_function_fetch_thanks_end
  • post_thanks_function_thanked_already_start
  • post_thanks_function_thanked_already_end
  • fetch_musername
  • postbit_imicons
  • bbcode_parse_start
  • bbcode_parse_complete_precache
  • bbcode_parse_complete
  • postbit_display_complete
  • post_thanks_function_can_thank_this_post_start
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete