Skip to:
Content
Pages
Categories
Search
Top
Bottom

Forum Replies Created

Viewing 21 replies - 1 through 21 (of 21 total)
  • Avatar of kraigg
    kraigg
    Participant

    @kraigg

    I’m still having this problem unfortunately. But now I’m not so sure if it’s because of BuddyPress or bbPress.

    I’ve had to revert back to bbPress 2.2.4 with BuddyPress 1.7, and use bbPress site-wide forums as pseudo BuddyPress group forums. I’ll just keep this setup for the time being until there’s a fix, then I’ll update to the latest version of bbPress.

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    I spent a few hours creating a development version and testing, but I still can’t get it to hide private discussions from the activity stream.

    Here is what I tried so far:
    – Deactivated all plugins except BuddyPress and bbPress, to see whether it is a conflicting plugin issue
    – Reverted back to default BuddyPress theme
    – Set the group to public, then back to private again

    The only strange thing I’ve found so far is when I go into the database. Inside the bp_activity table, the discussions from private groups all have “hide_sitewide” = 0. If I set hide_sitewide for these discussions to 1, the topic no longer appears in activity stream. But where does hide_sitewide originally get set?

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Thanks Hugo, I tested it with all plugins deactivated except for BuddyPress and bbPress, and the problem persists. I’ll need to test it with the default theme as well, and possibly revert back to BuddyPress 1.6 to see if it still happens.

    The only change I made recently was update to BuddyPress 1.7 and change from sitewide forums to group forms.

    I’ll have another test and see what I can find. Thanks for putting me on the right path

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    I would say yes, there is an advantage to installing bbPress plugin. With the latest BuddyPress 1.7, you can set up BuddyPress group forums using the standalone bbPress.

    With both plugins now being separate, it means that you can use the BuddyPress plugins for customizing groups, members, and messages, and then also use bbPress plugins to customise the actual forum.

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Does the auto-join user to group when posting (BP_DISABLE_AUTO_GROUP_JOIN = false) still work in BuddyPress 1.7?

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    I had to repost this, as my original topic stripped out a lot of the information
    ———————————————————————————

    Hi all,

    In the activity stream I’m trying to get the permalink from the activity header.

    The activity header is in the following format by default:
    – (username) replied to the topic (topic name) in forum (forum name)
    – (username) started the topic (topic name) in forum (forum name)

    I’m trying to get the (topic name) which is a hyperlink. Any idea how to do this?

    I’ve tried bp_activity_get_permalink( bp_activity_id() ); but it only grabs the ID of the current topic, and it doesn’t come in the form of a hyperlink.

    Also, is there a way to strip out (username) and (forum name) into separate variables?

    Can anyone please help me?

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Thanks Paul, I’ve created a new trac ticket for it

    http://buddypress.trac.wordpress.org/ticket/4823

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    In my case I tracked this error to the “BuddyPress Global Unified search” plugin, which no longer works with the BuddyPress 1.7 trunk

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    I am receiving the same identical error on non-BuddyPress pages.

    I have pages I created through WordPress (Dashboard > Pages > Add New), such as Help, Contact, Home. All these pages display the error message at the top of the page.

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    I’ll give the bbPress Threaded Replies plugin a try. It could work, seeing as I’m using bbPress as a standalone plugin, with BuddyPress. Thanks Chouf1

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Thanks Chouf1. I’ve viewed that video before but it doesn’t give examples on how to customize the activity stream, or whether what I want is even possible.

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Hi Kizzywizzy, thank you SO much!

    I followed your instructions and was able to find it in my database, in the bp_activity table, ‘type’ field.
    I created a new topic and new reply so I could see what the type was.

    Then I changed the line in my /plugins/bp-custom.php file

    Changed this
    `if ( bp_has_activities($args) ) : ?>`

    to this
    `if (bp_has_activities(‘action=created_group, bbp_topic_create, bbp_reply_create’) ) :`

    Thanks again for all your help!

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Thanks kizzywizzy,

    I gave your code a try. It’s getting closer but still not quite there. With your code, it only displays newly created groups, but doesn’t display new topics or new replies at all. New topics and replies only seems to display in the activity stream if I don’t do any sort of filtering, but then it displays all the things I don’t want as well. Thanks for trying though

    Do you think it could be because I’m using the bbPress standalone plugin, instead of the bbPress that comes with BuddyPress?

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    There’s a new plugin that has just been released that allows you to highlight unread bbPress forum topics

    http://wordpress.org/extend/plugins/bbpress-mark-as-read/

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    I think this is a bug that was found when integrating bbPress 2.1 with Buddypress. If that’s the same problem, they are working on a fix for bbPress 2.2 http://bbpress.trac.wordpress.org/ticket/1906

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    I had the same problem with bbPress forum topics and replies not appearing in the activity stream.

    I found a solution on the bbPress support website.

    In the administration area, in Settings > Privacy Settings > Site Visibility, I previously had this set as “Ask search engines not to index this site.”. After I changed this setting to “Allow search engines to index this site.”, the activity stream started working. I read a few people having the same problem, and it was rectified by changing this setting.

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Thanks Paul,

    I’ve just created a new trac ticket. If anyone else is having the same problems and want to follow up on it, the trac ticket is here: http://bbpress.trac.wordpress.org/ticket/1915

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Can anyone help me?

    I’m trying to filter the activity stream so that it only displays ‘published’ forum topics and replies.

    I’m using bbPressModeration, which marks all forum topics and posts as ‘pending’, until the administrator approves and publishes the content. The problem is that pending content still appears in the activity stream.

    I’m using the code below for my custom activity stream.

    `
    <?php

    /* = Generate Custom Activity Stream


    * Place this function anywhere you want to show your custom stream.
    * Should accept any of these parameters:
    * http://codex.buddypress.org/developer-docs/custom-buddypress-loops/the-activity-stream-loop/
    */

    my_activity_stream(‘per_page=4&page=1&action=new_forum_post,new_blog_comment,new_blog_post,new_forum_topic’);

    /* = Custom Activity Stream


    * Place this function in bp-custom.php (in your plugins directory)
    */
    function my_activity_stream($args ) {

    if ( bp_has_activities($args) ) : ?>

      <li class="” id=”activity-“>

      <a href="”>

    <?php endif;

    wp_reset_query();

    }
    `

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Okay, I was able to fix it. If anyone else is having problems integrating bbPress 2.1 and Buddypress 1.6, and getting the group forums to work, here is what I did.

    – Install Buddypress 1.6
    – Enable all the components of Buddypress EXCEPT ‘Discussion Forums’
    – Install bbPress 2.1
    – Go into the bbPress settings (in Admin dashboard > Settings > Forums) and tick the box “Allow BuddyPress Groups to have their own forums”. And then select the Group Forums Parent from the dropdown list. If you don’t already have an existing forum, create a new one (in Admin dashboard > Forums > New Forum).
    – Your group forums should now be operational.

    – If you go into your group forum, and you see a message that no forums exist for this group, and it doesn’t allow you to create a new forum, you may have to recreate your group by clicking the Create Group button on the group page. I had to recreate all my groups, fortunately it is still a new site so not many posts were lost.

    – If your group forum posts don’t appear in the activity stream, make sure that the privacy settings (in Admin dashboard > Settings > Privacy) for “Allow search engines to index this site” is ticked

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Sorry, I’ve tried using bbPress 2.1, but it is not integrating well with my group forums and Buddypress 1.5 in general.

    What I’ve found:
    – Buddypress activity stream not updating when making bbPress forum posts
    – Creating a ‘new topic’ in bbPress doesn’t always work. Sometimes I get an error message that no forums exist for a particular group, but doesn’t give me the option of creating a new forum topic from the front-end. I have to go into the WordPress backend to create new topics.

    How I installed it:
    – Disable ‘Discussion Forums’ component from Buddypress setup
    – Uninstall ‘Group Forums’ from Buddypress forum setup
    – Delete the WordPress page (“My group forums”) I previously created and linked to Buddypress discussion forum to
    – Install bbPress 2.1 and activate

    Can you let me know if this looks correct?

    Avatar of kraigg
    kraigg
    Participant

    @kraigg

    Thanks for that Paul, I will give this a try

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