Replies
- Brajesh Singh on September 27, 2017 at 8:36 pm in reply to: [Resolved] Disable BuddyPress Admin Bar and remove CSS blank for user #10886
Hi Alexandre,
Please try hooking to ‘init’ section and it should work.Here is your code with init action
add_action( 'init', 'remove_admin_bar_user', 10001 ); function remove_admin_bar_user() { if ( current_user_can( 'administrator' ) || is_admin() ) { show_admin_bar( true ); } else { show_admin_bar( false ); } }Does it work?
- This reply was modified 8 years, 10 months ago by
Brajesh Singh. Reason: Updated privacy to normal
- This reply was modified 8 years, 10 months ago by
Brajesh Singh. Reason: Updated priority to normal
- This reply was modified 8 years, 10 months ago by
- Brajesh Singh on September 27, 2017 at 7:55 pm in reply to: "BuddyPress Deactivate Account" email notification #10883
Marking it as resolved since it is fixed from our end. Also 1.10 of the plugin is available which ads a ton of extra features.
Hi Branislav,
Thank yyou.I will make sure to let you know.
Thank you
Brajesh- Brajesh Singh on September 27, 2017 at 7:52 pm in reply to: [Resolved] Buddypress Group Activity Notifier not deleting notifications #10881
Thank you Shashi.
We are looking at it and will keep you informed.Regards
Brajesh - Brajesh Singh on September 27, 2017 at 7:37 pm in reply to: [Resolved] Privacy issue in comments #10880
Hi Tiziano,
My apologies.It’s the way WordPress handles comment. There are two ways.
1. Completely disable email to post authors
add_filter( 'notify_post_author', '__return_false' );That is a bad way.
2. Filtering on ‘comment_notification_text’ like this
function buddydev_strip_commenter_email( $message, $comment_id ) { $comment = get_comment( $comment_id ); $email_info = sprintf( __( 'Email: %s' ), $comment->comment_author_email ) . "\r\n"; $message = str_replace( $email_info, '', $message ); return $message; } add_filter( 'comment_notification_text', 'buddydev_strip_commenter_email', 10, 2 );The second option may work or may not work. It depends on the kind of setup you have.
Please give that a try and let me know.
Regards
Brajesh - Brajesh Singh on September 27, 2017 at 7:00 pm in reply to: BuddyPress Member Types Pro – [bpmtp-members-list] shortcode #10877
Hi Kuni,
Thank you.If you pass type=”newest” it will list the list ordered by user id in the reverse order.
Regards
Brajesh - Brajesh Singh on September 27, 2017 at 6:32 pm in reply to: BuddyPress Member Types Pro – [bpmtp-members-list] shortcode #10875
Hi Kuni,
The member type shortcode supports only the order by filter supported by BuddyPress.BuddyPress does not support ordering by xprofile yet. So, It is almost not feasible for now to do it.
Hi Aldo,
BuddyBlog does not add blogging capabilities to Groups. It is for user bloging. Please look int o Blog Categories for groups to enable it for groups.Regards
Brajesh- Brajesh Singh on September 27, 2017 at 5:02 pm in reply to: [Resolved] How to hide the avatar and the photos users to the users that are not registered #10872
Thank you. Yes, any privacy plugin will work. Another option will be to use logged in privacy in MediaPress to force MediaPress photos to be visible to logged in members only.
- Brajesh Singh on September 27, 2017 at 5:01 pm in reply to: [Resolved] How to approve photos before be published in user's profile? #10871
I am not sure of the origin of that error, I will send you the link to our current plugin. today. That should work.