Forum breadcrumbs – You are here:Asgaros Support ForumSupportImport from BBpress
Please or Register to create posts and topics.

Import from BBpress

Hello,

Nice forum.

I would know if it possible to import messages from bbpress or better from kunena (joomla) ?

Actualy i have imported messages on bbpress from kunena but i don’t like bbpress.

 

Have a nice trip !!!

Best regards

Hello @yeye

Import scripts are impossible for me to develop at the moment. There are thousands of other forum systems out there. Each of them are more or less complex. I am willing to provide import-scripts when other community-members want to share their own developed scripts. But if I develop them by my own and provide them as a fixed forum-feature I am enforced to ensure that they are working all the time with every version of my forum-plugin and the third-party forum-plugin.

This is way too much work and I can’t ensure or maintain this alone.

I saw that one user created a bbPress import script last year but I am not sure if its working anymore. You can find his post here:

https://github.com/Asgaros/asgaros-forum/issues/124#issuecomment-300655630

Yeye has reacted to this post.
Yeye
If you want to support the development of Asgaros Forum, you can leave a good review or donate. Thank you very much!

Very thanks, i will try.

 

Nice pluging !

Only missing the support of tapatalk….

Hello,

I try another way wich works (inspired by inspired by this post bbpress to phpbb)
As you, first created a category in your Asgaros forum and took the ID.
Go into your phpmyadmin, on your table and execute this sql.

Don’t forget to replace ‘wp_’ with your own prefix.

 

/* Clear tables and reset IDs */
TRUNCATE TABLE wp_forum_forums;
TRUNCATE TABLE wp_forum_topics;
TRUNCATE TABLE wp_forum_posts;

/* Transfer forums */
INSERT INTO wp_forum_forums (
  id,
  name,
  description,
  parent_id,
  slug
) SELECT
    f.id /* Forum ID */,
    f.post_title /* name */,
    f.post_content /* Description */,
  137 /* ID of your category that you have create */,
  f.post_name /*slug */
FROM
    wp_posts AS f
WHERE
    f.post_type = 'forum';



/* Transfer the topics */
INSERT INTO
    wp_forum_topics (
        id,
    name,
    slug,
        parent_id
    )
SELECT
    t.id /* Topic ID */,
  t.post_title /* Topic title */,
  t.post_name /* slug */,
  t.post_parent /* Forum ID */
FROM
    wp_posts AS t
WHERE
    t.post_type = 'topic';

/* Transfer replies */
INSERT INTO
    wp_forum_posts (
        id,
        text,
        parent_id,
        forum_id,
        date,
        author_id
    )
SELECT
    p.id /* ID */,
    p.post_content /* text */,
  t.id /* Topic ID */,
    f.id /* Forum ID */,
  p.post_date /* Date */,
  p.post_author /* author_id */  
 
FROM
    wp_posts AS p
INNER JOIN
    wp_users AS u ON p.post_author = u.id
INNER JOIN
    wp_posts AS t ON p.post_parent = t.id OR p.id = t.id
INNER JOIN
    wp_posts AS f ON t.post_parent = f.id
WHERE
    p.post_type in ('reply','topic')
AND
    t.post_type = 'topic'
AND
    f.post_type = 'forum';

Now, in Asgaros, move the categories in order as you like and it’s ok.

If you don’t do it, i think nothing appears.

Asgaros and zpasji have reacted to this post.
Asgaroszpasji

To be clean, Uninstall BBPress and other BBpress custom plugin via your admin Wordpress

and finish in phpmyadmin with

DELETE FROM wp_posts WHERE post_type='reply' ;
DELETE FROM wp_posts WHERE post_type='topic' ;
DELETE FROM wp_posts WHERE post_type='forum' ;
DELETE FROM wp_postmeta WHERE meta_key LIKE '%bbp%' ;
DELETE FROM wp_usermeta WHERE meta_key LIKE '%bbp%' ;
DELETE FROM wp_posts WHERE post_content LIKE '%bbp%' ;
DELETE FROM wp_options WHERE option_name LIKE '%bbp%' ;

 

Asgaros, Yeye and zpasji have reacted to this post.
AsgarosYeyezpasji