WordPress.org

Support

Support » Plugins and Hacks » [Plugin: BuddyPress Activity Plus] Hide Document link if not on groups page

[Plugin: BuddyPress Activity Plus] Hide Document link if not on groups page

  • David Cavins
    Participant

    @dcavins

    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/

Viewing 2 replies - 1 through 2 (of 2 total)
  • David Cavins
    Participant

    @dcavins

    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>
    Gina B
    Member

    @ginabmultiplicity

    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

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘[Plugin: BuddyPress Activity Plus] Hide Document link if not on groups page’ is closed to new replies.