Forum Replies Created
-
Changing buddypress.js to buddypress.min.js. where? I don’t know about brgallag, but my theme does not manually call buddypress.js and as I mentioned this issue also happens when using the default Twenty Fourteen theme.
It should be noted I also only experience this issue on a WP Engine server when the “Update Activity Automatically” option is enabled. It doesn’t occur on other servers as far as I can tell.
Solved partly.
For those having the same issue to get the Load More button working make sure you wrap your activity loop in the <div id=”buddypress”> container.
Nothing as far as I know, the installations are identical.
There’s nothing in mu-plugins that relates to BuddyPress and bp-custom.php is not present.
This is a new install on a live server with a standard version of WordPress (3.9.1), not WordPress multisite.
Thanks for the reply @mercime.
I have reinstalled BuddyPress but this made no difference. On closer inspection buddypress.js is only not loaded on the Activity page, it is loaded on all other pages (Groups, Members etc.). This issue occurs on any theme I use.
Thanks for a response. I’m not fiddling around with the templates, nor am I trying to adjust the text labels. I’m using a custom theme so naturally BuddyPress is using the theme’s own page.php template. The “Create A Group” button displays just fine on the “Groups” page, but when I actually go to the “Create A Group” page the button is switched.
I’ve now discovered the issue, which could be considered a BuddyPress bug. My left sidebar is loaded before the page content and if the sidebar contains BuddyPress widgets the buttons do not appear. If I remove the BuddyPress widgets or move them to the right sidebar which is loaded after the page content the buttons display.
I already have the following in my custom BP functions file:
if(bp_is_active('friends')) add_action('bp_member_header_actions', 'bp_add_friend_button'); if(bp_is_active('activity') && bp_activity_do_mentions()) add_action('bp_member_header_actions', 'bp_send_public_message_button'); if(bp_is_active('messages')) add_action('bp_member_header_actions', 'bp_send_private_message_button'); // Group Buttons if(bp_is_active('groups')) { add_action('bp_group_header_actions', 'bp_group_join_button'); add_action('bp_group_header_actions', 'bp_group_new_topic_button'); add_action('bp_directory_groups_actions', 'bp_group_join_button'); }
As I say these buttons displayed in the theme in v1.7.3, they only disappear in v1.8. I think you’re right of course, it looks like a theme issue, I just cannot figure out what changed in v1.8 to stop these buttons working in my theme.
Nobody else has had the same issue? Lets try a different tact. Has there been any changes made to private message, add friend and public message buttons in 1.8?
Excellent. That pointed me in the right direction. I modified it slightly so it compares versions with the “beta” in version number also.
`if((version_compare(BP_VERSION, ‘1.7*’) == -1))`