Buddypress 2.3.2 error
my site has been randomly breaking because of this.
Notice: bp_setup_current_user was called incorrectly. The current user is being initialized without using $wp->init()
]]>This hasn’t been updated in 2 years, and support requests haven’t been answered for a year.
Can anyone recommend an alternative?
]]>The person who does the blocking loses the offender from his/her friends, but the offender still has the victim as his/her friend.
They should be de-friended for both I believe.
I really like this pluigin, but I need to be able to select an entire level to block.
For example: Where authors can hide their membership from all subscribers.
Can this be easily modified to do so?
]]>Hi,
As the current plugin version, your code overrides the exclude argument of the members query. This is just a quick fix to operate on bpb-queries.php
I’ve updated the function so it won’t override and check the argument type as it supports String and Array.
/**
* Adjust BP_User_Query
* @since 1.0
* @version 1.0
*/
function bpb_adjust_user_query( &$data ) {
if ( !is_user_logged_in() ) return;
$_list = bpb_get_blocked_users( get_current_user_id() );
update_option( 'catch_query_users_query', $_list );
if ( ! empty( $_list ) ) {
$list = implode( ',', $_list );
if( empty( $data->query_vars_raw['exclude'] ) )
$data->query_vars_raw['exclude'] = $_list;
else if( is_array( $data->query_vars_raw['exclude'] ) )
array_merge( $data->query_vars_raw['exclude'], $_list );
else
$data->query_vars_raw['exclude'] .= ',' . $list;
if( empty( $data->query_vars['exclude'] ) )
$data->query_vars['exclude'] = $_list;
else if( is_array( $data->query_vars['exclude'] ) )
array_merge( $data->query_vars['exclude'], $_list );
else
$data->query_var_raw['exclude'] .= ',' . $list;
}
}
]]>
Hi, I translated your plugin to my language, but the plugin doesnt load this translated file. Could you give me an advice, how to fix it? I would like to have your plugin on my site. Thanks in advance.
]]>Hello,
Your plugin is great, but the plugin does not work with apc object cache. Blocking and unblocking seems to be broken while bject cache is on. The version of buddypress is 2.01.
Hi, is there a way to make a custom Block link anywhere on the member header template?
I like this plugin and would need to create a block icon on any user profile page. Any help would be greatly appreciated.
]]>blocked users can still see activities from the one who blocked them via the sitewide activities.
]]>I am very happy to have found this online today. I installed it, and yet it works. If you are testing this from the Admin profile…of course its going to appear like it does not work. You have to log-on as a standard limited user, to be able to see this plug-in actually block ANOTHER standard user.
In the notes it states, that the site ADMIN(S) cannot be fully blocked.
Am happy with this plugin. Just noticed however that as long as the admin is friends with the user…the admin remains as a listed friend on the user’s account. The admin will need to ‘un-friend’ the end user to remove himself from there, and then block him. But he can block him first and then un-friend him, much easier and less links to click on this way.
The second thing, as the “You have been blocked” like page the end user ends up at. Facebook does not notify you that you have been blocked because as a result…people who have been blocked have retaliated against the blocker, in the news even burned their homes down, assaulted/attacked, etc… I would suggest changing this to something like: “It appears that the user you are trying to see no longer has an account.” (Absolutely love this Plugin; am just making a suggestion.)
After I test blocked a dummy profile…The message “Blocked Profile…etc…” was too close to the button “Manage Blocked Users”. There needs to be more space between the two. If you could just move the button a bit more down, that would be great.
Although groups might have their own blocking features…the person trying to block the other might not be a group administrator to be able to enable such feature. Pushing this option site wide…would be great.
You have a great product here, cheers to you…I look forward to being a fan..and would be happy to test and provide feedback for you in future releases to come.
]]>How do I remove the “Block” button in the members directory? I would rather just have the Block button in the user’s profile.
Thanks!
]]>This seems a good plugin but its not working. it removed the blocked member from my friend list and my member directory .
but the blocked member can still see the activity of the blocker in the activity stream and when you click on the name through activity you can still go to profile and see everything.
thanks
]]>Great idea for a plugin but it doesn’t appear that it is working. I installed and activated the plugin and then logged out as admin, then logged in as test1 which is a subscriber in browser one. Then in another browser lets call it browser two, I logged in as test2 which is also a subscriber. Then in browser one, test1 goes to the members directory and blocks test2. Test2 then disappears off of test1’s members directory. Then in browser two, on test2’s members directory test1 is still visible, when test2 clicks on test1, test2 is taken to test1’s personal activity, then test2 clicks test1’s profile tab and test2 is taken to test1’s profile. Basically the plugin is ineffective! I understand this is in beta but I would never tag a beta plugin as 1.0 it would be more appropriate to name it 0.10 or something to that effect. Also your repository is a mess. You have an assets folder inside of your trunk. That folder shouldn’t even be there. The items in that assets folder belong in the assets directory of your repository. Because of this people who download your plugin are also downloading the assets which is unnecessary and only bloats the plugin. Also because of this your screenshots are not showing up on the plugins page. I hope you can eventually get this plugin working and I would also like to see it block items from the activity stream as well. Please don’t take this as negative, I just wanted to make you aware. Good luck!
Edit: I am using latest version of WP/BP and bp-default theme. No other plugins or custom code as it is a fresh install.
https://www.ads-software.com/plugins/bp-you-are-blocked/