Privacy Component Compatinility with BuddyPress 1.2.8
? and what type of install do you have? You need to provide a little more info than you have if you wish help.
I don’t think there’s a BP Privacy Component Setup page. You can change your user profile’s privacy option under /members/username/privacy/
On my testing install I have WP 3.1 and BP 1.2.8 and it works fine.
I have wp 3.1.3 and bp 1.2.8, can’t see it anywhere in the admin at all. Works fine on the frontend though!
Spent hours trying to make it work but I think i am out of my depth – ideas?
Would love for it to work. As far as i am concerned, its the most important plugin buddypress has
it wont even show up in my plugins…I am running the same versions as you. Were you able to install it, but just cannot alter the preferences?
I haven’t looked closely at the code, but it’s likely that you are running multisite and you need to change admin_menu calls to network_admin_menu.
Open bp-authz-core.php and find lines that look like:
Change them to
That may solve your issue.
hey, thanks for the quick response. You were absolutely correct. That got me a lot further, now I can activate it.
I will report back if I can get it to work in wp 3.1.3 and bp 1.2.8
Thanks. Changing to network_admin_menu got the options settings to display properly under Network Admin. However, when trying to save those settings, I get redirected to http://example.com/wp-admin/network/options.php with the dreaded “Page not found” error message. Any ideas on this one?
I know the cause. The plugin is using the WP Settings API to create/save settings. But the Settings API does not work with the Network Admin. There is no straightforward workaround, unfortunately. Perhaps the easiest way is to reconfigure the way that the admin menu is loaded so that it’s not in the Network Admin anymore. It’ll have to be removed from under the bp-general-settings menu, swapped out to use add_admin_page(), and then switched back to admin_menu rather than network_admin_menu. Once it’s back on the regular Dashboard, the settings will save properly.
The alternative is to build your own settings saving routine for the Network Admin. But that’s a lot of work.
Bingo! That was a rather simple and straightforward fix.
I used add_options_page instead… obviously removing the 1st param – bp-general-settings – ‘cuz it had no business being there anymore. The plugin options are now accessible under “Settings” in the main site
Now if I can just figure out why options set by the user appear to not be saved properly. For example…
– Messages can be sent from one test user to another even though Message Privacy has been set to “No one” (the “Send message” button does disappear from the member’s header though)
– When “Who can see activity?” is set to “No one” and applied globally, only the user’s activity is hidden, while Friends, Groups, etc remain visible. This also happens even if the same setting is applied to each individual group.
But first, a movie and some pizza to help me think … and thanks for building this initial BIG step to much-needed privacy in BP!
Well I am kinda where you are….I used add_theme_page and now I have a privacy settings page under my theme, and I can save.
but the only thing that appears to do anything is if I restrict the entire site to logged-in only users. On the members page I can get the settings to save if I apply globally. But it doesn’t seem to do anything. not yet anyway.
- The topic ‘Privacy Component Compatinility with BuddyPress 1.2.8’ is closed to new replies.