WordPress.org

Support

Support » Plugins and Hacks » bbPress Topics for Posts » [Plugin: bbPress Topics for Posts] Multisite, Redirect to different blog

[Plugin: bbPress Topics for Posts] Multisite, Redirect to different blog

  • Hi. I stumbled across your plugin this morning and think it is a great idea that we want to incorporate into our site. We are using a multisite install and our bbpress is installed on site ID “6”, all of our posts come from the main site (ID 1).

    How it currently works:
    site 1 new post -> site 1 new topic
    or
    site 6 new post -> site 6 new topic

    How we need it to work:
    site 1 new post -> site 6 new topic.

    I looked around and saw that you don’t support multisite but I thought our situation was different because we only want to take posts from one site, maybe it could be redirected or hard coded in some way?

    I have very limited knowledge of bbpress and php but I’m not scared to dive into the plugin code and make any ‘hacks’ if necessary, we really like this plugin and would love to get it working.

    I’m using v1.4 of the plugin.

    Thanks for any help.

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

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Author David Dean

    @ddean

    Hi ctekmusic,

    This is a tough one. Topics are just posts and the link between post and topic is stored as an ID number, so you’d have to change blog context before and after each topic operation in order to use topics on another site.

    This will need to be done in quite a few places to make things work smoothly, but the bare minimum is in the build_new_topic() function, and in the comments-bbpress.php file.

    You can use this function and its companion to perform the switch:
    http://codex.wordpress.org/Function_Reference/switch_to_blog

    I’ll add some action hooks to the next version of the plugin to make this (and other cool uses) easier to implement.

    @ctekmusic

    where you able to make these changes. I’m also looking to do the same functionality.
    Do you have any code changes?

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: bbPress Topics for Posts] Multisite, Redirect to different blog’ is closed to new replies.
Skip to toolbar