Go Back   vb.org Archive > Community Discussions > Modification Requests/Questions (Unpaid)
FAQ Community Calendar Today's Posts Search

Reply
 
Thread Tools Display Modes
  #1  
Old 01-03-2003, 06:29 PM
jacobi's Avatar
jacobi jacobi is offline
 
Join Date: Jan 2003
Location: Ripon, WI, USA
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default User List Import

Greetings all, and happy New Year!

I have been lurking here for a little while, and have found I am not alone in my problem: I would like to import an existing membership database for my organization (in text-delimited format) as a starting point for my forum. (Then I can e-mail all of my members on how to get started).

After trying a number of search strings, I found several posts where people asked about this, but they kind of disintegrated into thin air.

On another Web site I manage, we use Discus, where the administrator may or may not choose to use MySQL as a backend, but it has an import facility/utility that allows the admin to paste delimited text, which it parses into the database.

Any/all suggestions are most appreciated!
Reply With Quote
  #2  
Old 01-03-2003, 07:52 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

well shouldn't be too hard to do

just a little script is required, which reads out from that file,and filles in the information into the user and userfield tables...

i'd say it would be a job of 5 perhaps 10 minutes for any hacker out here.
just the thing to manege the db at first a bit, to include all the fields can take a bit more (wether explaining or doing it self per admin rights)
Reply With Quote
  #3  
Old 01-07-2003, 11:00 AM
jacobi's Avatar
jacobi jacobi is offline
 
Join Date: Jan 2003
Location: Ripon, WI, USA
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Anybody out there?

I would like to go "live" with my forum soon, but one of the features I touted to our organization was the ability to browse a list of our members. If we have to wait for everyone to register, that feature won't be a reality for months, unfortunately.

I tried to upload a CSV tab delimited file in a MySQL management program, matching the relevant fields (including the appropriate group id number), and it showed up in my admin group list, but did not show up in the user list. The admin CP showed that number of members, but I could not manage the data. There seems to be something I'm missing.

Thanks again,
Adam
Reply With Quote
  #4  
Old 01-07-2003, 11:24 AM
Logician's Avatar
Logician Logician is offline
 
Join Date: Nov 2001
Location: inside vb code
Posts: 4,449
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
After trying a number of search strings, I found several posts where people asked about this, but they kind of disintegrated into thin air.
Actually why this does not exist is highly related to the fact that there can not be a "magical script" that can work for all.

The conversion script must be a custom one depending on the user details of the site applied for everyone. So for example your memberinfo might be including membername, email, location, age, while some other site owner's list has membername, profession, interests, birthday.

Therefore you can code a script that will work for your site but you can not easily turn it to a "full release vb hack" which will work for other users as well who are trying to achieve the same goal..
Reply With Quote
  #5  
Old 01-07-2003, 03:54 PM
Xenon's Avatar
Xenon Xenon is offline
 
Join Date: Oct 2001
Location: Bavaria
Posts: 12,878
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Quote:
Originally posted by jacobi
I tried to upload a CSV tab delimited file in a MySQL management program, matching the relevant fields (including the appropriate group id number), and it showed up in my admin group list, but did not show up in the user list. The admin CP showed that number of members, but I could not manage the data. There seems to be something I'm missing.
Whenever you import a member into the user table, you have to create a row in the userfield table also
after you have created this row (just userid must be filled, the rest is irrelevant) the user can be edited from within your acp
Reply With Quote
  #6  
Old 01-07-2003, 05:15 PM
jacobi's Avatar
jacobi jacobi is offline
 
Join Date: Jan 2003
Location: Ripon, WI, USA
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

First, Xenon - thanks for the tip. I bet that'll do the trick and I can't wait to try.

Quote:
Regarding Logician's post...
The conversion script must be a custom one depending on the user details of the site applied for everyone. So for example your memberinfo might be including membername, email, location, age, while some other site owner's list has membername, profession, interests, birthday.
I realize this, which is why I customized my member info file to match with vBulletin's fields. I actually painstakingly reorganized the data columns to work with the import, which is why the MySQL database was populated correctly. If the MySQL import worked (and I was just missing what Xenon pointed out), I'm wondering if a be-all, end-all script couldn't prompt the user to match fields and then change the field names/descriptions later. Just a thought.
Reply With Quote
  #7  
Old 01-08-2003, 12:51 PM
jacobi's Avatar
jacobi jacobi is offline
 
Join Date: Jan 2003
Location: Ripon, WI, USA
Posts: 44
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Well, I imported to both the "user" and "userfield" tables, and it worked like a charm. In fact, I probably should have just done that in the first place because I did have the profile data for the userfield table; I was simply looking for instant gratification.
Reply With Quote
  #8  
Old 01-12-2003, 04:04 PM
charlesm charlesm is offline
 
Join Date: May 2002
Posts: 3
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi,

We a have a user list that we need to import for a client and would prefer to pay someone to write a script that works rather than bodge it ourselves...

Essentially we will have a CSV file that determines the user name, password, email addresses and a series of fields that relates to the their options (this may or not be necessary).

This will then need to be imported into the main database - initially when it is installed and then possibly every six months.

The board is being is installed within a secure extranet, so the only way that people can be added will be either via the admin section or via this install.

If you need anything else to price this, please let me know,
Reply With Quote
  #9  
Old 04-19-2003, 06:47 PM
kaihawaii kaihawaii is offline
 
Join Date: Apr 2003
Posts: 6
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

is there a generic hack fpr these issue, for importing such userfiles, e.g.:

"email"
"name@one.com"
"name@two.com"

or

"email","firstname","lastname"?

it should upd. all the needed tables for 2.6 and must be customizable before on the customfields.
Reply With Quote
  #10  
Old 07-28-2003, 03:13 PM
brobson168 brobson168 is offline
 
Join Date: Jul 2003
Posts: 1
Благодарил(а): 0 раз(а)
Поблагодарили: 0 раз(а) в 0 сообщениях
Default

Hi, we are just setting up a chat room for DECUS - the UK Digital Pensioners association. We have very similar requirement - we wish to import from a CSV file our member details (we have over 500 member so typing them in is a major task).

Can anyone help?

Cheers

Brian Robson(brian.robson@btinternet.com.UK)
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 07:14 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.04158 seconds
  • Memory Usage 2,259KB
  • 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
  • (3)bbcode_quote
  • (1)footer
  • (1)forumjump
  • (1)forumrules
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (1)navbar
  • (3)navbar_link
  • (120)option
  • (1)pagenav
  • (1)pagenav_curpage
  • (1)pagenav_pagelink
  • (10)post_thanks_box
  • (10)post_thanks_button
  • (1)post_thanks_javascript
  • (1)post_thanks_navbar_search
  • (10)post_thanks_postbit_info
  • (10)postbit
  • (10)postbit_onlinestatus
  • (10)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
  • pagenav_page
  • pagenav_complete
  • tag_fetchbit_complete
  • forumrules
  • navbits
  • navbits_complete
  • showthread_complete