• WordPress 4.0.1 multisite
    Buddypress 2.1.1
    DW Q & A 1.3.2

    Hi guys,

    I love this plugin, excellent work. I just need a bit of help getting the BuddyPress integration code working.

    So far, I’ve installed DW Q & A on one of my sites and I added the Buddypress integration code to my bp-custom file and updated the theme name, as instructed. I’ve setup a couple of test questions, but the new “Questions” tab on the BP profile doesn’t appear.

    I’m not sure why it’s not working, but I can say that I have my bp-custom file located in my wordpress plugins folder, instead of inside of my theme’s buddypress folder.

    (I’m unable to use include_once get_template_directory().’/buddypress/bp-custom.php’; because I’m using a child theme and the directory for the parent theme is being used instead)

    Do you know of a way that I can get this working? Any help with this would be much appreciated.

    https://wordpress.org/plugins/dw-question-answer/

Viewing 2 replies - 1 through 2 (of 2 total)
  • Thread Starter Christian Freeman (codelion)

    (@takinglife2themax)

    I managed to get it working by adding the code to my theme’s functions.php file and adding conditionals to make sure that buddypress is active.

    I did upgrade the code to include a tab for Answers as well, but I’m trying to find a way to link to the user’s answer itself, instead of the question the answer is linked to.

    Any ideas on how to do this using this code from the answers loop?

    $answers = get_posts(  array(
          'posts_per_page' => -1,
          'author'         => bp_displayed_user_id(),
          'post_type'      => 'dwqa-answer'
        ));

    Thanks

    Tell me if I should start my own topic. Im trying to get the username links on the DW Q&A forum to redirect to the users buddypress profile. Is there a code somewhere that will make this happen?

    Thanks

    Steve

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘BuddyPress Integration’ is closed to new replies.