Forum Replies Created
-
OK fixed!
Buddypress was no longer network activated. (The Manage Signups page was still there.) After the WordPress 4.0.1 upgrade I experienced problems on my multisite. Deactivating Buddypress helped (although the problem may have originated elsewhere).
Network activating Buddypress fixes the Manage Signups page. Now I just need to work out the fastest way to deactivate it on 100 blogs!
Thanks Shane – Buddypress Tools was under Tools as you said, on the dashboard of my main blog. I checked all the boxes and ran it but unfortunately it doesn’t fix the permissions problem 🙁
Thanks for your reply.
My main blog’s permalinks are set to Post Name.
The BP component pages exist.
I think r.php is part of the Facebook plugin. I’ve deleted it – wasn’t working anyway.
Can’t find the BP repair tool anywhere. Is it part of the Buddypress plugin, or an add-on?
Sorry, that didn’t make sense 🙂 The problem wasn’t the divs. It was that the button function outputs straight to the screen, rather than into a variable. Problem solved!
Fixed it by putting this in my theme’s function.php:
function add_friend_button() { global $members_template; if ( !isset( $members_template->member->is_friend ) || null === $members_template->member->is_friend ) $friend_status = 'not_friends'; else $friend_status = ( 0 == $members_template->member->is_friend ) ? 'pending' : 'is_friend'; return bp_get_add_friend_button( $members_template->member->id, $friend_status ); }And then called it from my modified template:
$html.= add_friend_button();