Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25402
    Brajesh Singh on in reply to: Rename Wall Photo Gallery (2) #9985

    Hi Francoise,
    I will test and report back. I see there is a typo in my above code

    
    $title = sprintf( '%s wall %s gallery', groups_get_group( $args['component_id']->name ), mpp_get_type_singular_name( $args['type'] ) );
    

    It should be

    
    $title = sprintf( '%s wall %s gallery', groups_get_group( $args['component_id'])->name , mpp_get_type_singular_name( $args['type'] ) );
    

    Most probably taht is causing the issue. I will still test and report back.

  • Keymaster
    (BuddyDev Team)
    Posts: 25402
    Brajesh Singh on in reply to: BuddyPress Ajax Registration #9984

    Hi Diana,
    Thank you for the kind words.

    To make the placeholder, Please copy the file ‘ajax-register-form.php’ from the ajax registration plugin to your theme.

    Once you have done it, you will see some php code

    You can add the placeholder attribute to the text fields. Please do note that it won’t be feasible for the dynamic profile fields(BuddyPress generates the actual html for that), but you can do it for the username, email, password etc as they are static fields.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25402

    Hi Ethan,
    I am sorry I missed your post earlier.
    Are you on multisite? If yes, you can add the following line to bp-custom.php to enable the default email

    
    
    add_filter( 'wpmu_welcome_notification', '__return_true', 111 );
    add_filter( 'wpmu_welcome_user_notification', '__return_true', 111 );
    

    If you are not on multisite, BuddyPress does not send any welcome email. I had written a post long ao that allows doing it. You may find it useful
    https://buddydev.com/buddypress/send-welcome-email-to-users-when-they-activate-their-account-on-wordpress-buddypress-based-social-network/

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25402

    HI Christian,
    I am sorry but I am unable to properly understand. Please help me understand it better.

    1. Is it happened after the update of MediaPress? If yes, which version of MediaPress are you using currently?

    2. Was it working earlier(with older version of MediaPress)?
    3. If it is not the above two, which is the update you had done.

    4. if it is MediaPress update, Can you please delete MediaPress and reinstall.

    5. Please visit Dashboard->MediaPress->Tools and post me the log.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25402

    If it started looking like that, please use the older version. Is working fine for other BuddyPress user page?

  • Keymaster
    (BuddyDev Team)
    Posts: 25402

    Hi Christian,
    Welcome to BuddyDev.

    Are you using the customizr theme from wp.org? Is it the latest? Please let me know. I will need to download and test in order to assist you.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25402

    Thank you Kjell 🙂

  • Keymaster
    (BuddyDev Team)
    Posts: 25402
    Brajesh Singh on in reply to: BuddyPress Moderation – Report Users/Groups #9963

    Hi Graham,
    Thank you for posting.
    Do you mean creating a new plugin for this purpose or using the existing one?

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25402
    Brajesh Singh on in reply to: [Resolved] Rename Wall Photo #9962

    With version 1.1.6 and above, there is a better way to do it.

    https://buddydev.com/support/forums/topic/rename-wall-photo-gallery-2/#post-9961

  • Keymaster
    (BuddyDev Team)
    Posts: 25402
    Brajesh Singh on in reply to: Rename Wall Photo Gallery (2) #9961

    Hi,
    Please upgrade to 1.1.6 and then you can put the following code in your bp-custom.php

    
    
    /**
     * Filter wall gallery title
     * 
     * @param string $title name of the wall gallery.
     * @param array  $args {
     *  Context details.
     * @type string $component component name(e.g groups|members|sitewide)
     * @type int    $component_id numeric component id( e.g group id or user id based on the component)
     * @type string $type media type(e.g photo, video,audio, doc etc)
     *
     * }
     *
     * @return string new title
     */
    function mpp_custom_wall_gallery_name( $title, $args ) {
    
    	// in this example, we are going to change the title for the groups wall gallery like this
    	// <group name> wall gallery.
    	if ( 'groups' === $args['component'] ) {
    		$title = sprintf( '%s wall %s gallery', groups_get_group( $args['component_id']->name ), mpp_get_type_singular_name( $args['type'] ) );
    	}
    	return $title;
    }
    add_filter( 'mpp_wall_gallery_title', 'mpp_custom_wall_gallery_name', 10, 2 );
    

    That will do it.

    Regards
    Brajesh