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.
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?
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.
@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.
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>
<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?
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.”
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.