You will have to provide more information, such as from which page/url are you attempting to “subscribe/unsubscribe”?
I am referring to the “Subscribe” button that appears on ALL my (bbPress) Forums (each with a different URL). Functionality would normally alternate between Subscribe & Unsubscribe depending on User selection. When the BuddyPress plugin is activated, this function no longer works and Users cannot Subscribe or Unsubscribe from a Forum. Deactivating BuddyPress returns the functionality
An example URL for the Subscribe button from one of the Forums is “/forums/forum/test-forum/?action=bbp_subscribe&object_id=14467&object_type=post&_wpnonce=b8db56e17f’
As far as I can tell, “subscribe/unsubscribe” functions as expected when BuddyPress is activated or deactivated, thus I’m not able to duplicate your claim. Additionally, this was tested in the following environment:
WordPress: 6.9.1
BuddyPress: 14.4.0 – activated & deactivated
bbPress: 2.6.14 – activated
theme: Twenty Eleven
No other plugins were activated other than what is indicated above.
FWIW – engagements.js is responsible for the functioning of the subscription process for bbPress. It could be that this script is not being enqueued due to some other undisclosed factor or, if enqueued, a javascript error caused by a conflict with a theme or other plugin, however, this is just speculation since I am not able, at this time, to duplicate the issue you have described.
As to:
I have seen other messages on this topic dating back a number of years but no clear answer
I’m not aware of such topics within the BuddyPress support forums, could you provide a specific topic with this claim?
Thanks very much for your reply @emaralive. Yes, “subscribe/unsubscribe” functions should work when BuddyPress is activated or deactivated, however in my case they do not. I am using WP (v6.9.1), Highend theme (v1.0.2), bbPress (v2.6.14) and BuddyPress (v14.4.0). The “subscribe/unsubscribe” function does not work with this combination (even with other plugins deactivated). Deactivating BuddyPress allows “Subscribe/Unsubscribe” to work. Changing the theme to Twenty-Twenty Eleven (as you note) allows “Subscribe/Unsubscribe” to work. I’ll attempt to dig into this a little further on other forums. A message that appears similar to my inquiry is https://buddypress.org/support/topic/bbpress-subscribe-button-breaks-when-buddypress-enabled-js-disabled-2/
Thanks for the link and I’m not going to speculate as to why that topic went unanswered. The short of the story is that BuddyPress requires “JavaScript” (JS) to fully function properly, especially when utilizing the BP Nouveau template pack (relies on AJAX – Asynchronous JavaScript and XML). Thus, given the scenario of the short story, it doesn’t make sense to have JS disabled.