WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress Activity Plus
Hide Document link if not on groups page (3 posts)

  1. dcavins
    Member
    Posted 2 years ago #

    I really like the idea of integrating with the BP Group Documents plugin. A nice improvement to the Activity Plus plugin would be if the Add Document link only shows when bp_is_group is true, in addition to your other checks. I see that you're adding the document link by jQ, so there's no easy way to use BP's group check, though.

    Thanks for the useful plugin.

    http://wordpress.org/extend/plugins/buddypress-activity-plus/

  2. dcavins
    Member
    Posted 2 years ago #

    I should add that it's simple to remove this button using jQuery, if someone else has this preference. Put this script at the top of the members/single/home.php file:

    <script type="text/javascript">
    jQuery(document).ready(function($) {
    $("#bpfb_addDocuments").hide();
    });
    </script>
  3. Gina B
    Member
    Posted 2 years ago #

    Hi dcavins

    Thank you for the useful feedback! The Plugin is under active development, so we always welcome feedback from our Users.

    And thank you for sharing the solution to your request with the rest of the Users - nothing like sharing :)

    Please don't hesitate to be in contact if you have any other feature requests or feedback on the Plugin.

    Have a blessed day!

    Gina :: Multiplicity
    Trying out as WPMU DEV Support Staff - Let me know how I go

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic