Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Only Admins can Accept Friends?

  • Avatar of Marj Wyatt
    Marj Wyatt
    Participant

    @marjwyatt

    Here are the details of my installation:
    URL (temp): http://creativeconundrum.com/kristen2
    BP v1.7.2
    Theme base: Genesis with Custom Theme
    Buddypress compatibility: v1.2.1

    While doing a walkthrough of functionality today, the friending process did not work. I sent a friend request to my client, who was registered as a subscriber. She accepted the request but I wasn’t added to her list of friends. I took the problem offline to work so we could get through the rest of our meeting.

    I’ve just discovered, through testing, that when I change her WordPress role to be an administrator, she can accept me as her friend and that will show up instantly in her Member Listing. I made a screencast to show you what I’m seeing:

    http://screencast.com/t/L8M2XNxuejh7

    As I summed up the video, we clearly can’t give all site members administrator privileges at the site. The ability to friend each other is critical to the site.

    I have not modified core buddypress functions at this site. I’m averse to doing that from a “code durability” point of view. Using the default Buddypress theme is NOT an option, nor should it have to be.

    This is an issue around the forum but I’ve seen tickets and threads closed. None of the content that I read pinned the problem down to WordPress roles, however.

    Here are the two threads that I reviewed:

    http://buddypress.org/support/topic/add-friend-not-adding/page/4/#post-154796

    http://buddypress.trac.wordpress.org/ticket/4667

    We want to launch this site at the end of next month (June 2013) and I have a lot of other functionality to add in order to make this happen. I hope that someone has found a solution that actually works with the revisions of software that I’m using.

Viewing 7 replies - 1 through 7 (of 7 total)
  • Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Buddypress compatibility: v1.2.1

    @marjwyatt Saw the source code and you’re using the BP Template Pack plugin which should no longer be used with BP 1.7 as it can interfere with new default Theme Compatibility with most WP themes.

    Theme base: Genesis with Custom Theme

    Having mentioned BP’s default Theme Compat in BP 1.7, Please confirm with Genesis theme dev/support whether you still need to purchase Genesis Connect plugin as Genesis themes pre-BP 1.7 required Genesis Connect plugin to make Genesis compatible with BuddyPress.

    Issues you have been posting in these forums may be caused by the compatibility process with BP Template Pack and/or needing Genesis Connect. You can change to Twenty Twelve theme and will find that the theme is compatible with BuddyPress as is. So do follow up with your theme support to find resolutions to issues posted.

    Avatar of Marj Wyatt
    Marj Wyatt
    Participant

    @marjwyatt

    The Genesis version is v1.9.2. The Genesis Connect plugin is free now. I did have it installed before but it did nothing so I went to the BP Compatibility pack instead. The Genesis Connect plug only seems to auto-styles a set of Genesis Templates. This is not one of their templates. It is a custom theme based on their framework and this set does not include the sample child that I began with.

    That being said, I went through the hoops of disabling and removing the bp template compatibility pack and activating the Genesis Connect plugin. Aside from styling issues, there wasn’t even a button available to request friendship under those conditions. I’ve gone back to the BP Compatibility Pack. Genesis Plugins only work with standard Genesis offerings and the support in their forum will be of no assistance to me on a custom theme.

    I activated TwentyTwelve theme. I cannot cancel the friendship request nor can I accept it.

    From where I am sitting, this does not appear to be a missing plugin issue nor a Genesis issue. It is a core Buddypress problem that has been reported and those threads were closed with no real resolution.

    The BP Compatibility pack is there for all other themes. My theme is only based on the Genesis Framework so it falls into that category.

    Any more ideas?

    Avatar of Marj Wyatt
    Marj Wyatt
    Participant

    @marjwyatt

    I should clarify. All that comes included in the Genesis Connect plugin is STYLE SHEET code for their various plugin and play templates. What I’m describing is a FUNCTIONAL issue having nothing to do with CSS.

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    @marjwyatt I know it’s FUNCTIONAL issue. If you cannot use “Add Friend” using Twenty Twelve which we tested with BP 1.7 Theme Compatibility (no BP Template Pack plugin needed), then there’s a conflict with a plugin. I think it could be the Wishlist Member plugin, because nothing in BP codes require members to be administrators to add/accept friends. To be sure, deactivate plugins batch by batch except BuddyPress to check which one is in conflict.

    Avatar of Marj Wyatt
    Marj Wyatt
    Participant

    @marjwyatt

    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?

    Avatar of Marj Wyatt
    Marj Wyatt
    Participant

    @marjwyatt

    Correction
    this:
    “The requests.php template looks to be is not loaded with code having only 60 lines or so. ”

    Should say this:
    “The requests.php template is not loaded with code having only 60 lines or so.”

    Avatar of Marj Wyatt
    Marj Wyatt
    Participant

    @marjwyatt

    Ok. I went back to the BP Template pack on my custom Genesis theme and disabled this:
    Disable BP Template Pack JS / AJAX

    With that disabled, everything works the way it should work, even with Wishlist Member installed. I no longer need to panic about having to start all over again. This client is very particular about the styling at the site.

    The BP Compatibility Plugin has not been updated for over a year. Could it need an update or is this a conflict between it and the Genesis Framework?

    In any case, I’ve gotten my problem solved and if my trials and tribulations are of assistance to anyone else doing something similar, then I’m glad to be of assistance.

Viewing 7 replies - 1 through 7 (of 7 total)

You must be logged in to reply to this topic.