WordPress.org

Ready to get started?Download WordPress

Forums

bbPress Topics for Posts
[resolved] Export post comments to new topic (8 posts)

  1. javiarques
    Member
    Posted 2 years ago #

    Hi, I have modified the plugin in order to export the post comments. I have just add a new method, triggered when a new topic is created:

    The function is:

    http://pastebin.com/7DPNH58J

    Then I call the function on line 216, when a new topic is created:
    $this->export_comments_to_bbpress( $post_ID, $new_topic, $topic_forum);

    I hope it could be helpful for you, and maybe be included in a future release.

    Thanks for the plugin!

    http://wordpress.org/extend/plugins/bbpress-post-topics/

  2. David Dean
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, javiarques!

    That is awesome! Thank you so much for sharing this! I apologize for taking so long to notice your post, but I have been moving.

    With your permission, I'd be happy to include a version of this function in a future release.

  3. javiarques
    Member
    Posted 2 years ago #

    Of course David, that's why I wrote the code here, I wold love it! , so you I can update the plugin without problems.

    Thank you very much David

  4. Erlend Sogge Heggen
    Member
    Posted 2 years ago #

    Let me see if I understand this correctly: If this patch is applied, we could take all of our existing old posts and convert all of their respective comments into topics? Much more consistent: Amazing!

  5. nchiari
    Member
    Posted 2 years ago #

    Javi, donde tendria que poner ese codigo? Gracias!

  6. javiarques
    Member
    Posted 2 years ago #

    nchiari, esta funcionalidad ha sido integrada por David Dean en la última versión del plugin http://wordpress.org/extend/plugins/bbpress-post-topics/changelog/.

    Así que sólo tienes que actualizar!

    Un saludo!

  7. nchiari
    Member
    Posted 2 years ago #

    Si, tengo esa versión, pero no puedo encontrar esa opción :(

  8. javiarques
    Member
    Posted 2 years ago #

    nchiari, es muy fácil, dentro del post, en el box de comentarios, marcas el checkbox de exportar los comentarios y salvas el post. No tiene más.

    Un saludo!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.