Bulk Adding users

Discussion of general topics related to the new version and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Forum rules
Discussion of general topics related to the new release and its place in the world. Don't discuss new features, report bugs, ask for support, et cetera. Don't use this to spam for other boards or attack those boards!
Post Reply
Seeker
Registered User
Posts: 5
Joined: Thu Dec 06, 2001 10:56 pm

Bulk Adding users

Post by Seeker »

I'd like to dump some of my VB account into phpBB3 for testing. When a new user gets added to the database I know they go into the user table and user_group. Are there any more?

Cheers.
joeroberts
Registered User
Posts: 3
Joined: Wed Apr 11, 2007 8:02 pm

Re: Bulk Adding users

Post by joeroberts »

Yes in configs newest_username gets the last members nname that joined and num_users increases by 1
Seeker
Registered User
Posts: 5
Joined: Thu Dec 06, 2001 10:56 pm

Re: Bulk Adding users

Post by Seeker »

Cool thanks.

I see newest_user_id and newest_username.

Makes life easy!
User avatar
pentapenguin
Registered User
Posts: 618
Joined: Sun Jul 18, 2004 6:07 pm
Location: GA, USA
Contact:

Re: Bulk Adding users

Post by pentapenguin »

Uhh...don't just manually add users directly to the database. Use the user_add() function in includes/functions_user.php
phpBB.com Support Team Member and Incident Investigation Team Member
My phpBB MODs || Professional phpBB Customization, Transfers, and Conversions
User avatar
Highway of Life
Registered User
Posts: 1399
Joined: Tue Feb 08, 2005 10:18 pm
Location: I'd love to change the World, but they won't give me the Source Code
Contact:

Re: Bulk Adding users

Post by Highway of Life »

Seeker wrote: I'd like to dump some of my VB account into phpBB3 for testing. When a new user gets added to the database I know they go into the user table and user_group. Are there any more?

Cheers.
Sounds fun. :P

Best idea is to create a script to import directly from your vB users database, then insert them using the add_users() as penguin noted.
See the Olympuswiki article for more information on this function.
Image
Seeker
Registered User
Posts: 5
Joined: Thu Dec 06, 2001 10:56 pm

Re: Bulk Adding users

Post by Seeker »

Many thanks on this. The docs are very helpful.

Cheers
Post Reply