WordPress.org

Ready to get started?Download WordPress

Forums

BuddyPress FollowMe
2 Feature Requests (4 posts)

  1. myladeybugg
    Member
    Posted 1 year ago #

    Great plugin! I just have two feature requests.

    1. Tie this into the notifications? So when a person you are following makes a new blog post, you receive a notification about it.

    2. Add a widget to display the follow button in the sidebar? This way you don't have to go into the users profile to follow them, the "follow" will display on their blog sidebar. (This is for multisite obviously)

    http://wordpress.org/extend/plugins/buddypress-follow-me/

  2. meg@info
    Member
    Plugin Author

    Posted 1 year ago #

    Hi myladeybugg,

    I will try to add this features in the next version.

    Thanks.

  3. myladeybugg
    Member
    Posted 1 year ago #

    Hey Meg,

    Thank you for getting back to me! I almost have the follow button displaying in my sidebar, but am still having some issues. I took this code from the follow-loop.php file, but it displays follow buttons for all sites registered:

    <?php do_action( 'bp_before_follow_loop' ); ?>
    		<?php do_action( 'bp_before_members_loop' ); ?>
    
    		<?php if ( bp_has_members ( bp_ajax_querystring( 'follow' ) )  ): ?>
    
    		<?php do_action( 'bp_before_directory_members_list' ); ?>
    
    	<ul id="members-list" class="item-list" role="main">
    		<?php while ( bp_members() ) : bp_the_member(); ?>
    
    		<li>
    
    		<div class="action">
    
    		<?php do_action( 'bp_directory_members_actions' ); ?>
    
    		</div>
    
    		<div class="clear">
    		</div>
    		</li>
    		<?php endwhile; ?>
    	</ul>

    Is there a way to tweak this to display just the current users follow button, like on the profile page? The follow, unfollow function is working properly with the code above as well.

  4. meg@info
    Member
    Plugin Author

    Posted 1 year ago #

    Hi myladeybugg,

    I dont understand realy what you want exactly. If you want to add a follw button in any place ( for example in the blog of a member in the case of Multi site) ?

    If yes, you can add this ligne at the end of the file bp-follow-template.php
    add_shortcode('bp_follow_me', 'bp_follow_get_add_follow_button');

    to create a shortcode, then you can use this shortcode [bp_follow_me] any where (it work only in buddypress page )

    please check if it work in multi site and feed back.

    Thanks.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.