MOD download & history

Image A ACP drop-in, witch allow you to import a list of users to your forum

Moderator: Moderators

Forum rules
The content in this forum is dated Dec. 21 2005 and can be used as Archive only. This Forum is LOCKED and READ ONLY !

MOD download & history

Postby Niels on Wed 12. May, 2004 21:35

Code: Select all
##############################################################
## MOD Title:          Import CSV
## MOD Author:         Niels < ncr@db9.dk > (Niels Chr. Rød) http://mods.db9.dk
## MOD Description:    This mod makes it posible to import a CSV file, witch have a list of emails
## MOD Version:        0.9.0.
## MOD Compatibility:  2.0.x
##
## Installation Level: Easy
## Installation Time:  3 Minutes (1mn by EasyMOD of Nuttzy)
## Files To Edit:      5
##      language/lang_english/lang_admin.php
##
## Included Files:     7
##      root/admin/admin_import_cvs.php
##      root/templates/subSilver/admin/import_cvs_body.tpl
##
##############################################################


I have made a ACP drop-in to import a file of users to phpBB2.
pressently the file need to be in specific format - witch only include the users email, on a new line...
e.g.
Code: Select all
my@email.net
some@email.com
donut@duck.and


a file like the above, will add 3 new users to phpbb2
"my", "some" and "donut"

the 3 users will have a password assigned, witch are same as the username + 2 random digits at the end.

if a already exisiting user at your forum, already is using one of the emails - the email / user will not be added.
also if a username already exist, witch are similar to the first part of the email, the script will generate a longer username (username+some digits)


All users will be notifyed by email, that they have been added - the email will hold information about the username and password.

Since the script users the "user activation level" witch can be set in ACP->general config, The user may or may not be active after the import.
so if you would like the users to be active imidiatly after the import, you will need temporary to cahnge this settings to "activation=NONE" (remeber to change it back after the import)
(if a how-to is EM ready, it will mostly be bullet prof, since a machine is more picky than a human. :D)
User avatar
Niels
Poster
Poster
 
Posts: 4390
Joined: Sat 27. Jul, 2002 15:46

Return to Import CSV [2.0.8/EM]

Who is online

Users browsing this forum: No registered users and 0 guests

cron