Hi!
I’m currently running latest wordpress and buddypress version, both in german.
In the buddypress settings I allow users to delete their account,
but my users cannot find this option…
Where doest is supposed to be? I have troubles finding it 🙂
Best ragards
Read a number of posts on this topic. Just wondered if there are any plans in BuddyPress development to include the option of making private messaging between friends only and prevent users PM’ing anybody and everybody. Reasons being: 1. To reduce spamming, therefore not annoying users who will then enjoy using the site more & 2. reduced requests on servers and possibly getting blacklisted.
Are plugins the only route to accomplish this at the moment? If so any recommendations?
Many thanks
Try using the filter hook in function bp_activity_content_body()
Found in buddypress\bp-activity\bp-activity-template.php
@gatelli, I believe BuddyPress enqueues the minified version of mentions.js, so your changes will not apply. You need to de-register their version and enqueue your own modified one.
I got this working in the end… I had to change the first letter of ‘Primary’ menu to lowercase! Is there code I can add to not display ‘0’ after messages, for instance if there are no new messages, then ‘0’ is not displayed?
I’ve got another plugin for Buddypress called ‘Compliments’ which also has a notification counter, is there a way to clear the reset counter of those notifications, once a person has viewed that particular page?
Many thanks.
The issue is definitely somewhere in the Buddypress plugin because when I deactivate it, I am able to access the register page. When I activate it, I can’t. It’s the only plugin I’m seeing that change in.
Thanks @oakcreative! I’ve created a ticket in https://buddypress.trac.wordpress.org/ticket/6972 and as it’s such a trivial change, I’m pretty certain it’ll get done for the next BuddyPress release (2.6, a few months away).
@benworxnl, our wp_editor() call is exactly as posted above, so I’m not really sure why it isn’t working for you or why the visual tab isn’t showing.
I am running the latest versions of both WordPress and BuddyPress, perhaps that’s the difference?
I also have the WPLMS theme, there is switch in the theme which enables this.
The switch is located in WP Admin – WPLMS – BuddyPress – Member meta info
You can also integrate Gmail for sending Emails using the WP SMTP plugin : http://www.wpbeginner.com/plugins/how-to-send-email-in-wordpress-using-the-gmail-smtp-server/
For the WPLMS theme, the developers are working on migrating their course related emails to Buddypress.
Thanks for the post, however since you are referencing forums, you should post on the bbPress support site.
Edit – I see that you’ve already posted on the bbPress forums:
https://bbpress.org/forums/topic/how-to-delete-remove-posts-andor-threads/
Just for reference:
* bbPress = forums
* BuddyPress = community (member profiles, groups, private messaging, etc.)
bbPress adds forum support to BuddyPress.
Did that. Came up with a plugin called postman that I’m trying out. It can send me an email (tested it and I got the email). Now I’m trying to send a re-confirm email from buddypress hoping it gets along.
See:
https://buddypress.org/support/topic/buddypress-2-5-1-maintenance-release/#post-250987
I’ve added a potential fix for this here:
https://buddypress.trac.wordpress.org/attachment/ticket/6969/6969.01.patch
Make the change to bp-core/classes/class-bp-email-recipient.php to fix this temporarily until BP 2.5.2 is released.
When you repair the Buddypress 2.5? because i need to working the email. Thank you.
I turned off all Plugins except WordPress and Buddypress and this issue still occurs.
Are you sure you disabled all plugins except BuddyPress? If so, check for any rogue code snippets in your theme’s functions.php or wp-content/plugins/bp-custom.php.
Once that is done, delete all registration pages you have set up in WordPress. Create a new WordPress page to be used for BuddyPress registration. Just enter a post title and hit “Publish”. Also, ensure all your pages in the “Pages” trash are deleted.
Next, go to “Settings > BuddyPress > Pages” and set the “Register” page to the page you just created.
It will not send it at all. I tried manage signups to re-send the email and that did not do anything either. Also, it’s using a content page with a heading (for my DVD collection) as the register pages and I can’t seem to give it its own page. I hope someone can help – I’m proposing to an organization I am in that we use BuddyPress but if I can’t get it to work, I guess that’s out the door.
Hi
I would like to make a more beautiful login widget on my site’s sidebar.
If I put the buddypress widget, the button ‘Login’ (Connexion in french) is large and black.
Screenshot
If I put the bbpress widget, the button is nice, but I cannot remove the widget title (I created a thread in their forums).
Since I am on the buddypress forums now, is it possible to make that button look more beautiful (as bbpress button), that is smaller and with grey color?
Thanks in advance
This is fixed and will be distributed in version 2.5.2 of BuddyPress.
If you are reading this and you ARE affected, however, I’d recommend you update your WordPress version, too.
Hi,
I use the below custom function to force users to publish a post before they can send messages.
It used to work fine: redirect to a front-end posting component AND show a template notice.
I am now using BP 2.4.3 and the template notice does no longer show.
It shows fine if I comment the redirect, but this redirect is obviously need to force publishing a post.
Any idea what goes wrong?
function force_publishing() {
global $bp;
$post_count = count_user_posts( bp_loggedin_user_id() , get_post_types() ); //All post types
if( bp_is_my_profile() && bp_is_current_component('messages') && ( $post_count == 0 ) ) {
bp_core_add_message( __( 'Publish a post first! You must publish a post to view and send messages.' ), 'error' );
bp_core_redirect( bp_loggedin_user_domain() . buddypress()->front-end-post->slug );
}
}
add_action( 'bp_template_redirect', 'force_publishing', 10 );
I would like to basically create a page with buddypress activities stream on an external sites.
I can’t figure how yet!
Hi,
I found some really useful code for adding custom tabs to Buddypress using the bp-custom.php. For all whao are interested, this is it:
function profile_new_nav_item() {
global $bp;
bp_core_new_nav_item(
array(
'name' => 'Anzeige',
'slug' => 'about',
'default_subnav_slug' => 'extra_sub_tab', // We add this submenu item below
'screen_function' => 'view_manage_tab_main'
)
);
}
add_action( 'bp_setup_nav', 'profile_new_nav_item', 10 );
function view_manage_tab_main() {
add_action( 'bp_template_content', 'bp_template_content_main_function' );
bp_core_load_template( 'template_content' );
}
function bp_template_content_main_function() {
if ( ! is_user_logged_in() ) {
wp_login_form( array( 'echo' => true ) );
}
}
function profile_new_subnav_item() {
global $bp;
bp_core_new_subnav_item( array(
'name' => 'Extra Sub Tab',
'slug' => 'extra_sub_tab',
// 'parent_url' => $bp->loggedin_user->domain . $bp->bp_nav[ 'about' ][ 'slug' ] . '/',
'parent_url' => 'http://wighty.de/awpcp/place-ad/',
'parent_slug' => $bp->bp_nav[ 'about' ][ 'slug' ],
'position' => 10,
'screen_function' => 'view_manage_sub_tab_main'
) );
}
add_action( 'bp_setup_nav', 'profile_new_subnav_item', 10 );
function view_manage_sub_tab_main() {
add_action( 'bp_template_content', 'bp_template_content_sub_function' );
bp_core_load_template( 'template_content' );
}
function bp_template_content_sub_function() {
if ( is_user_logged_in() ) {
echo 'awpcp/place-ad/';
// bp_get_template_part( 'members/single/profile/profile-loop' );
// bp_get_template_part( 'awpcp/place-ad/' );
} else {
wp_login_form( array( 'echo' => true ) );
}
}
This code adds a custom tab plus one subtab to Buddypress and depending on the uncommented line, it shows a message or the common BP profile loop.
Unfortunately until now I couldn’t figure out how to tell Buddypress to show the place ad form of another plugin instead of the profile loop. And this ist my question. How can I get it working? I would like to replace the loop with the place-ad form of a classified plugin.
Does anyone know how to do?
Thanks alot
Holger
Hi,
Correct columns name are sender_only and is_deleted.
The recipients table has an is_deleted column, which is used to mark when a user has deleted a given thread. The thread and its messages are only deleted from the db when every participant in the thread has marked is_deleted. (#3912)
sender_only is used to get the sender user_id (#3520)
BuddyPress DB diagram
hi,
please can someone explain me database schema for messaging in buddypress, e.g what does colums “send_only” and “is_deleted” are used for ??
i will be very thankful if any useful link or help ?
thanks.
Hi,
There is, but take in account that registering is done in 2 steps.
1) a user enter some profile information. His account is registered but not activated. This means that at this stage, the user doesn’t really exist.
2) To accept it as member, the account must be activated.
In what you want to do, is the fact that you’ll give him the right to upload a picture before activation. This can lead to security issues and the reason why it works (by default) like it does actually.
Here two plugins you can use. Read carefully their documentation before install one and take in mind what i said previously.
BuddyPress Signup Avatar
https://wordpress.org/plugins/buddypress-upload-avatar-ajax/