Skip to:
Content
Pages
Categories
Search
Top
Bottom

Reply To: Only Admins can Accept Friends?

@marjwyatt

Participant

I created a new instance on local Xampp. Systematically, I disabled plugins and tested functionality. I was able to make it work with all my plugins activated, including Wishlist, but only with the Buddypress Default Theme activated.

That’s a “nice” discovery except for the fact that weeks have gone into the development of the custom theme on the Genesis framework. I chose that framework because of the abundance of experience that I have with it. I admire all the work that has gone into creating as elegant a plugin as Buddypress but it should not be imperative to do development on the Buddypress theme base. Genesis is pretty popular…

The requests.php template looks to be is not loaded with code having only 60 lines or so. This section of code in the BP Compatibility Pack seems to be what handles the actual list of friend requests:

<div class="action">
     <a class="button accept" href="<?php bp_friend_accept_request_link(); ?>"><?php _e( 'Accept', 'buddypress' ); ?></a> &nbsp;
     <a class="button reject" href="<?php bp_friend_reject_request_link(); ?>"><?php _e( 'Reject', 'buddypress' ); ?></a>

     <?php do_action( 'bp_friend_requests_item_action' ); ?>
</div>

The first two functions are links. I’m thinking it has to do with the action performed and I don’t know where to find that code. Is this something *we* should be looking at?

Skip to toolbar