WordPress.org

Ready to get started?Download WordPress

Forums

BP Group Hierarchy
Upstream Activity (5 posts)

  1. Keith Kelly
    Member
    Posted 1 year ago #

    I am looking for an upstream activity option. I saw at one point that it was an option that had been removed. Is there a code clip or something else I could reference to add this ability to my site?

    http://wordpress.org/extend/plugins/bp-group-hierarchy/

  2. Keith Kelly
    Member
    Posted 1 year ago #

    I also saw in the notes section that this is not included because there is no way to prevent duplicate instances of an activity in the global stream. For my application this does not matter as my global stream will not be accessible.

    Is there a way to add this functionality through a theme function or something similar? Even if it is a plugin hack.

  3. David Dean
    Member
    Plugin Author

    Posted 1 year ago #

    Hi Fanoop -

    You can see the function on lines 29 - 72 of the following file: http://plugins.trac.wordpress.org/browser/bp-group-hierarchy/tags/1.2.9/bp-group-hierarchy-actions.php

    You could absolutely put this in a functions.php file in your theme, since it just hooks a BuddyPress action. You should remove line 31, though, or it'll just chatter at you about being deprecated.

    Good luck with this! I haven't even looked at this code since BP 1.5, so I can't say whether it will work at all under 1.6 or 1.7 or what it will do. Feel free to post your experiences in the forum for anyone else who is interested!

    - David

  4. Keith Kelly
    Member
    Posted 1 year ago #

    David -

    Thanks for the help! I used that code and tested it locally and everything seems to work perfectly with BuddyPress 1.7.

    The only change I made was that I removed the IF statement wrapping the add_action. If I kept that statement it wasn't working.

    Thanks again!

  5. solhuebner
    Member
    Posted 10 months ago #

    There is a BP Group Hierarchy Propagate PlugIn as it looks like :)

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic