1. This site uses cookies. By continuing to use this site, you are agreeing to our use of cookies. Learn More.

How to mass create threads under a specific topic?

Discussion in 'Custom Service/Development Requests' started by Vinz, Jul 23, 2013.

  1. Vinz

    Vinz New Member

    Hi there,

    Is there a way to mass create threads under a specific topic? I have a list of about 2,000 pages which I want to create into threads. These info are not exported from other forum software, so I cannot use the default import function.

    So is there a way where I can import via CSV or add-on that I can use to mass create the threads?
  2. Jeremy

    Jeremy Well-Known Member

    You would need to write or commission a custom importer.
  3. Vinz

    Vinz New Member

    Anyone here can help me to import the data?
  4. Brogan

    Brogan XenForo Moderator Staff Member

    Moved to custom requests.
  5. Cooper

    Cooper Active Member

    Write a PHP script and use the xenforo datawriter, like:

    //post new thread on forum       
    $writer XenForo_DataWriter::create('XenForo_DataWriter_Discussion_Thread');
    $postWriter $writer->getFirstMessageDw();
    $thread $writer->getMergedData();
  6. Vinz

    Vinz New Member

    Hi Cooper, thanks!

    Would you be able to help us import? We are willing to pay you nominal fee to help us import the data as we are not developer, may have problems writing the script.
  7. Cooper

    Cooper Active Member

    I would contact some of the more experienced say resource developers as they would be better suited than me.
  8. xf_phantom

    xf_phantom Well-Known Member

    How does the csv file look like?
  9. Vinz

    Vinz New Member

    There are 2 columns of data. 1 is thread title, the other is thread content
  10. Vinz

    Vinz New Member

    Anyone here can help?

Share This Page