Skip to:
Content
Pages
Categories
Search
Top
Bottom

Search Results for 'buddypress'

Viewing 25 results - 15,876 through 15,900 (of 94,565 total)
  • Author
    Search Results
  • #251680
    shanebp
    Moderator

    afaik, there are no plugins.
    But it’s a simple filter.
    https://buddypress.org/support/topic/disable-or-hide-private-message-button/

    #251677
    @mcuk
    Participant

    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

    shanebp
    Moderator

    Try using the filter hook in function bp_activity_content_body()
    Found in buddypress\bp-activity\bp-activity-template.php

    #251671
    OakCreative
    Participant

    @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.

    Mike
    Participant

    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.

    ngoegan
    Participant

    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.

    #251663
    Paul Wong-Gibbs
    Keymaster

    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).

    #251662
    OakCreative
    Participant

    @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?

    #251657
    ripulkr
    Participant

    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

    #251655
    ripulkr
    Participant

    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.

    #251643

    In reply to: How to delete a posts

    r-a-y
    Keymaster

    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.

    harleycodr
    Participant

    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.

    #251624
    r-a-y
    Keymaster

    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.

    #251622
    lanvalencia
    Participant

    When you repair the Buddypress 2.5? because i need to working the email. Thank you.

    r-a-y
    Keymaster

    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.

    harleycodr
    Participant

    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.

    #251612
    #251610

    In reply to: Attempting to register

    Paul Wong-Gibbs
    Keymaster

    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.

    #251609
    maelga
    Participant

    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 );
    
    #251605
    mc9625
    Participant

    I would like to basically create a page with buddypress activities stream on an external sites.

    I can’t figure how yet!

    #251604
    HolgerGr
    Participant

    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

    #251601
    danbp
    Participant

    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

    #251599
    tauqeerabbas01
    Participant

    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.

    #251597
    danbp
    Participant

    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/

Viewing 25 results - 15,876 through 15,900 (of 94,565 total)
Skip to toolbar