vb.org Archive

vb.org Archive (https://vborg.vbsupport.ru/index.php)
-   vB3 General Discussions (https://vborg.vbsupport.ru/forumdisplay.php?f=111)
-   -   Populate vBulletin user database with existing user data? (https://vborg.vbsupport.ru/showthread.php?t=141961)

mollila 03-13-2007 04:20 PM

Populate vBulletin user database with existing user data?
 
We have a database of a few thousand old customers (name, email), and would need to create an account to vBulletin for them on their behalf.

Is it somehow possible to populate vBulletin user database by using their email address and a generated username (for example first part of email address) and generated password?

Would this have to be custom coded, or is there already a feature or modification that allows this? By searching I did not find any info.

If possible, when the user logs in the first time to vBulletin he/she would be asked to agree to our terms of use and change the generated passwords. Could this be easily implemented?

Zachariah 03-13-2007 05:24 PM

Just shooting ideas here.

I bet something could be made that will import the list of user names, e-mail.
- On creation random password.

Set them up in a usergroup that will need them to change their password on next login.

Once this is done a Cron job could be made to send out a mass emails "Remind user of their password"

I have not looked, but there may be something like that.

What program, or format is your user base in ?

nevetS 03-14-2007 06:21 AM

Using the vBulletin data manager, it's pretty easy to add users via a script. Search around in the forums and I'm sure you'll find the eight lines of code necessary. Throw in some php to parse a CSV and call the add_user function for each line and you are home free.

I expect that if you can't do it yourself, you can find someone to put it together for less than $100.

mollila 03-14-2007 07:44 AM

Quote:

Originally Posted by Zachariah (Post 1202666)
What program, or format is your user base in ?

They are in Excel.


Quote:

Originally Posted by Zachariah (Post 1202666)
Set them up in a usergroup that will need them to change their password on next login.

How could we set a usergroup to change their password on the next login? Is this possible from vBulletin admin interface?

Marco van Herwaarden 03-14-2007 09:25 AM

You can export the Excel as CSV (Comma Seperated Values) file, and use ImpEx to import the users.


All times are GMT. The time now is 07:02 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.02276 seconds
  • Memory Usage 1,717KB
  • 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
  • (2)bbcode_quote_printable
  • (1)footer
  • (1)gobutton
  • (1)header
  • (1)headinclude
  • (6)option
  • (1)post_thanks_navbar_search
  • (1)printthread
  • (5)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