Skip to:
Content
Pages
Categories
Search
Top
Bottom

Hacking the conversion script

  • @sethturin

    Participant

    Hello

    I’d like to hack the converter for invision power board so that it transfers file attachments and avatars. I have the plugins installed for those capabilities. Where can I find the file/functions I need to modify?

Viewing 7 replies - 1 through 7 (of 7 total)
  • @robkk

    Moderator

    The Invision converter is in

    wp-content\plugins\bbpress\includes\admin\converters\invision

    if you don’t mind share your conversion code/experience to the community, it would help a lot.

    There have been users doing something similar to this especially for attachments (but probably different forum system). I can also show you their code if that would help you any.

    @sethturin

    Participant

    Wow thanks for answering so quickly! I doubt my code will be up to any useful coding standard, but I’ll be happy to share what I come up with anyway. It would be a great help to look at other attempts at this, even if it’s for another forum. Can you show me their code?

    Thanks

    @robkk

    Moderator

    Here both import attachments to GD bbPress attachments

    Here is a link to a gist on one for SMF.

    https://gist.github.com/ntwb/9ff3f1ed93ae9671a93b

    Here is one for Kunena.

    https://github.com/CybMeta/kunena-attachments-to-bbpress/blob/master/kunena-attachments-to-bbpress.php

    @sethturin

    Participant

    These are very helpful! One thing I’m unclear on – and forgive my wordpress newness here – how are these scripts being run? Are they just uploaded to the server and navigated to in the browser? Or is it getting run through the wordpress architecture somehow?

    @robkk

    Moderator

    Are they just uploaded to the server and navigated to in the browser?

    they both seem to be standalone PHP scripts.

    on the SMF one the creator says how he ran it.

    https://bbpress.org/forums/topic/smf-import-to-bbpress/page/5/#post-159797

    The kuena one is detailed by the author here.

    Kunena converter for bbPress 2.4

    @sethturin

    Participant

    awesome thanks. I’m gonna play with this and I’ll report back what I figure out.

    @robkk

    Moderator

    Alright great 🙂

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