#1
Hi!

So I'm currently trying to upgrade my existing forum system to YAF as it seemed like the best choice for an upgrade. The issue is that I don't want to lose any of the data from the current forum. We have hundereds of users and thousands of posts that I'd like to populate the upgraded forum with, so that it seems active and alive immediately.

The forum posts and such should all be an easy enough job to import, but I'm stuck trying to import the users. As this old forum was custom built, the import users tool doesn't work as we don't have all the necessary data for it to work.

Our users only had a username and password, there's no security question, answer or salt to use. However, I understand that YAF requires users to have a security question and answer. Obviously I cannot make up a single question/answer for every user as they can't be changed by the system later, they'd be stuck with it. I'm a little bit stuck with how to get the old users into the new system.

How would you go about importing all this data?
Topic Starter
  • Kingsfield
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    51.8%
  • Joined: 25/06/2015
  • Posts: 3
  •  United Kingdom
  • Location: Southampton
  • Thanks: 2 times
#2
Originally Posted by: Kingsfield

Hi!

So I'm currently trying to upgrade my existing forum system to YAF as it seemed like the best choice for an upgrade. The issue is that I don't want to lose any of the data from the current forum. We have hundereds of users and thousands of posts that I'd like to populate the upgraded forum with, so that it seems active and alive immediately.

The forum posts and such should all be an easy enough job to import, but I'm stuck trying to import the users. As this old forum was custom built, the import users tool doesn't work as we don't have all the necessary data for it to work.

Our users only had a username and password, there's no security question, answer or salt to use. However, I understand that YAF requires users to have a security question and answer. Obviously I cannot make up a single question/answer for every user as they can't be changed by the system later, they'd be stuck with it. I'm a little bit stuck with how to get the old users into the new system.

How would you go about importing all this data?



You can turn off security question/answer via the membership provider settings in the web.config, then you don't have to import that fields


UserPostedImage
  • tha_watcha
  • Rank: YAF.NET Project Lead
  • Reputation:
    Exalted
    100%
  • Medals:
    Medal of Honor: Portal Puzzle Master: Portal Puzzle Master for DNNMedal of Honor Key: Given to pillars of the community who are key players in the YAF community and project.DNN Master: DNN Module ManBug Killer Medal of Honor: Medal for being a kick-ass bug killer!Medal of Honor for the Support King: Support King! Amazing asset to the YAF.NET Community.
  • Joined: 06/03/2010
  • Posts: 4,017
  •  Germany
  • Thanks: 73 times
  • Was thanked: 1211 time(s) in 1036 post(s)
#3
Brilliant, didn't realise I could just switch it off, thanks.

If you don't mind helping me out real quick, I want to import all of these users with hashed passwords and generated salts done through the systems you've got in place, which dlls contain the necessary functions for salt generation and password hashing? Is it YafMembershipProvider that I need to use?
Topic Starter
  • Kingsfield
  • Rank: YAF Forumling
  • Reputation:
    Neutral
    51.8%
  • Joined: 25/06/2015
  • Posts: 3
  •  United Kingdom
  • Location: Southampton
  • Thanks: 2 times
Forum Jump  
  • You cannot post new topics in this forum.
  • You cannot reply to topics in this forum.
  • You cannot delete your posts in this forum.
  • You cannot edit your posts in this forum.
  • You cannot create polls in this forum.
  • You cannot vote in polls in this forum.

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