Products

Solutions

Resources

Partners

Community

Blog

About

QA

Ideas Test

New Community Website

Ordinarily, you'd be at the right spot, but we've recently launched a brand new community website... For the community, by the community.

Yay... Take Me to the Community!

Welcome to the DNN Community Forums, your preferred source of online community support for all things related to DNN.
In order to participate you must be a registered DNNizen

HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumimport threads and posts form "PHORUM" - how to ?import threads and posts form "PHORUM" - how to ?
Previous
 
Next
New Post
10/29/2005 3:00 PM
 
Hello!

Let me first thank you for this great module that is exactly what I am looking for!

I am actually using a forum called phorum that is programmed with php. Now I would like to move all the discussions/posts to the DNN Forum module. I created the forums "by hand" and thougth to do some little code who creates the discussions and posts.
The first problem is that the users are not created when they do not use the forum. So as all the users never accessed the new forum I wont be able to import their posts (or I would have to keep them anonymous - what wouldn't be acceptable). So the question is if there is any easy way to import discussions from any datasource (access/SQL-Server/XML..) into each forum (or all at the time), and which adds the users necessayr for the creation of a post automatically?

Another solution would be to add all existing users form DNN into the forum's usertable and then to the import by SQL. If this is the best solution, could anybody tell me if it makes a problem if I just add the users by SQL into the user-table (Forum_Users), the discussions into Forum_Threads and the posts into Forum_Posts? Will the counting of the posts per user and per forum be updated automatically? Or to I have to do it by hand?

Thank you very much for any help on this import porblem !

Regards,
Fabian
 
New Post
10/30/2005 2:04 PM
 
Hello !

Finally I did it and everything worked fine :

  1. As I said I created the modules by hand through the module interface
  2. I added all users from "Users" DNN table to  the Forum_Users table (carfull : the ID has to be taken over)
  3. I did a little routine to add the posts with the existing stored procedure "Forum_AddPost" - which creates automatically the necessary threads.
  4. Finally, you have to add manually in all froums a post (and delete it again), so update the statistics of the forums (concerning Threads and Posts number).
That's it.

Regards,
Fabian
 
Previous
 
Next
HomeHomeDNN Open Source...DNN Open Source...Module ForumsModule ForumsForumForumimport threads and posts form "PHORUM" - how to ?import threads and posts form "PHORUM" - how to ?


These Forums are dedicated to discussion of DNN Platform and Evoq Solutions.

For the benefit of the community and to protect the integrity of the ecosystem, please observe the following posting guidelines:

  1. No Advertising. This includes promotion of commercial and non-commercial products or services which are not directly related to DNN.
  2. No vendor trolling / poaching. If someone posts about a vendor issue, allow the vendor or other customers to respond. Any post that looks like trolling / poaching will be removed.
  3. Discussion or promotion of DNN Platform product releases under a different brand name are strictly prohibited.
  4. No Flaming or Trolling.
  5. No Profanity, Racism, or Prejudice.
  6. Site Moderators have the final word on approving / removing a thread or post or comment.
  7. English language posting only, please.
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out
What is Liquid Content?
Find Out