Skip to:
Content
Pages
Categories
Search
Top
Bottom

Migrate under my xoops forum to bbPress


  • le-gentilone
    Participant

    @le-gentilone

    Hello

    Here I want to migrate my forum as xoops CMS, to my new wordpress site.
    Is this possible, and if possible how to proceed.
    Thank you in advance

    Bonjour

    Voila je veux migrer mon forum sous le CMS xoops, vers mon nouveau site wordpress.
    Est-ce possible, et si possible comment procéder .
    Merci d’avance

Viewing 3 replies - 1 through 3 (of 3 total)
  • bbPress 2.x includes a conversion tool to import forums/topics/replies/users from some of the popular forum packages eg. bbPress or phpBB

    There is an ‘example’ file also included as a ‘reference template’ that if your forum software is using a SQL database then you could easily modify this to be a custom importer by matching the correct database tables/fields etc

    The file is called ‘example.php’ and is located in /wp-content/plugins/bbpress/bbp-admin/converters


    le-gentilone
    Participant

    @le-gentilone

    Thank you for your fast response.
    Should I install wordpress locally and to import into my website which is still under xoops, or save the database and then import the file “example.php”?
    I’m so scared of losing everything, before I make a mistake trying to understand.
    I am just a novice and I could not make this correspondence.

    Merci pour votre réponse aussi rapide.
    Faut-il que j’installé wordpress en local, et faire l’importation sur mon site qui est toujours sous xoops, ou sauvegarder la base de données et ensuite importer le fichier «example.php» ?
    j’ai tellement peur de tout perdre, qu’avant de faire une bêtise j’essaie de comprendre.
    Juste que je suis novice et je ne saurais pas faire cette correspondance.

    Here are the steps I would follow:

    – Backup everything and often (WordPress, Xooops, MySQL etc)
    – Install WordPress locally to test the import
    – Research the Xoops MySQL database structure
    – Make a copy of importer example.php as xoops.php in the same folder
    – Edit xoops.php to match the xoops database table & field names

    eg. This from Example.php:
    // Forum id. Stored in postmeta.
    $this->field_map[] = array(
    'from_tablename' => 'forum',
    'from_fieldname' => 'forumid',
    'to_type' => 'forum',
    'to_fieldname' => '_bbp_forum_id'
    );

    Would become:
    // Forum id. Stored in postmeta.
    $this->field_map[] = array(
    'from_tablename' => 'xoops_forum_table_name',
    'from_fieldname' => 'xoops_forumid',
    'to_type' => 'forum',
    'to_fieldname' => '_bbp_forum_id'
    );

    The above is not accurate as I have no idea what table and field names xoops uses for its database, that is the bits you need to research. Do the above for as much as you can matching all the tables and fields testing your import.

    Once you have an import working and are happy with you can then look to importing it to your live site and I cannot emphasize this enough, backuyp, backup and more backups in case things go wrong.

Viewing 3 replies - 1 through 3 (of 3 total)
  • You must be logged in to reply to this topic.
Skip to toolbar