tparsnick
  •  tparsnick
  • 53% (Neutral)
  • YAF Forumling Topic Starter
2011-06-16T20:04:52Z
Can you auto-register a bunch of members to a forum by uploading a list of member user names and emails or by some other easy bulk method?

I'm imaging uploading an .xls file like the following attachment
File Attachment(s):
memberlist.xls (17kb) downloaded 38 time(s).
Sponsor
Zero2Cool
2011-06-16T22:35:16Z
There's a module if you're using DotNetNuke. I used it for importing over 2,200 members, then used the DNN to YAF user importer.
tparsnick
  •  tparsnick
  • 53% (Neutral)
  • YAF Forumling Topic Starter
2011-06-17T22:01:48Z
Thanks Zero2Cool. However, I do not have DotNetNuke installed. So I'm hoping there is another option.
I can access the database so I can run stored procedures.

Does anyone know of a stored procedure for doing this?
Zero2Cool
2011-06-17T22:04:06Z
Originally Posted by: tparsnick 

Thanks Zero2Cool. However, I do not have DotNetNuke installed. So I'm hoping there is another option.
I can access the database so I can run stored procedures.

Does anyone know of a stored procedure for doing this?



Perhaps download the source code for DNN to YAF module and evaluate the user import process and replicate it with an outside application you've created?
tha_watcha
2011-07-09T14:41:10Z
Quote:

Can you auto-register a bunch of members to a forum by uploading a list of member user names and emails or by some other easy bulk method?



It will be possible with the next release. I added an XML and CSV Exporter and Importer.

It will be possible to import users via xml


<YafUserList>
  <YafUser>
    <Name>TestUser</Name>
    <DisplayName>TestUser</DisplayName>
    <Email>TestUser@mydomain.com</Email>
  </YafUser>
</YafUserList>

or via csv

Name,DisplayName,Email
TestUser,TestUser,TestUser@mydomain.com

Its also possible to add all the profile properties.

If you want parse a password you need to add

<YafUserList>
  <YafUser>
    <Name>TestUser</Name>
    <DisplayName>TestUser</DisplayName>
    <Email>TestUser@mydomain.com</Email>
    <Password>PASS1243</Password>
    <SecurityQuestion>Whats the Question?</SecurityQuestion>
    <SecurityAnswer>I dont know.</SecurityAnswer>
  </YafUser>
</YafUserList>

If no password is defined, it will be auto. generated. And emailed to the new user.
UserPostedImage
Zero2Cool
2011-07-09T14:43:32Z
I just received three email notifications that this thread had a new post, lol.



The import users is a nice addition tha_watcha!
tparsnick
  •  tparsnick
  • 53% (Neutral)
  • YAF Forumling Topic Starter
2011-07-09T20:20:18Z
Awesome! I can't wait to try this.
Thanks tha_watcha

About Us

The YAF.NET is an open source .NET forum project. YAF.NET is supported by an team of international developers who are build community by building community software.

Powered by Resharper Donate with PayPal button

Project Twitter Updates

Copyright © YetAnotherForum.NET & Ingo Herbote. All rights reserved