Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
  #1  
Old 03-05-2011, 02:34 PM
garyopa's Avatar
garyopa garyopa is offline
 
Join Date: Dec 2009
Location: The World Wide Web
Posts: 26
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default Extract Just A Single User Data!

I run a very very large forum, with tons of members and millions of posts, and recently one of the members on the forum have run into a large civic lawsuit, as such our forum going to shortly be subpoena by a Federal US Court to supply all the user's data, his IP records, signup date, and PM's he has, and the 19 posts he made.

I am looking for help or even possible paid, for the proper SQL query I can supply to the vbulletin v3.8.7 database to extract just this single user data in raw form, and or printable form without having to supply the whole 19gb of SQL database, etc.

Any suggestions you have or possible direction on what command to issue to give up just the users data would be most welcome.

Thanks in advance for your input.
Reply With Quote
  #2  
Old 03-06-2011, 04:08 PM
BirdOPrey5's Avatar
BirdOPrey5 BirdOPrey5 is offline
Senior Member
 
Join Date: Jun 2008
Location: New York
Posts: 10,610
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

in phpmyadmin or whatever you use, go to the post table and run:

SELECT * FROM `post` WHERE `userid` = X

Where X is his userid (not username, but id number)

If it's only 19 records it will return them all, in phpmyadmin there is a print view option, print full text fields... it will contain all data recorded by the forum from each post.

The only other thing you might need is the 1 entry from the user table for his userid as well, which will contain the registration ip address, email address, and other info.

If you use a table prefix, you need to use that in the sql statement... for example your post table might be called: vb_post instead of just: post.

--------------- Added [DATE]1299435659[/DATE] at [TIME]1299435659[/TIME] ---------------

Oh, and pms... Well assuming he didn't delete them, that is a tougher query but it would be the pm_text table with the data you need.

Or much easier would probably be to use the "login as user" mod and just print the PMs from his account directly. PMs don't contain any IP addresses so there is nothing else there really besides the "To", "From", date, the text of the PM, and some useless fields with no personal data.
Reply With Quote
Reply

Thread Tools
Display Modes

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 07:15 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.11879 seconds
  • Memory Usage 2,158KB
  • 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
  • (2)post_thanks_box
  • (2)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (2)post_thanks_postbit_info
  • (2)postbit
  • (2)postbit_onlinestatus
  • (2)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