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: 25278
    Brajesh Singh on in reply to: [Resolved] MediaPress Previous Next links #9996

    Hi Graham,
    You can do it easily in css

    
    
    a.mpp-next { float:right;}
    /**
    We do no need to do anythign with the mpp-previous as it is already at left
    I am posting the selector here in case you want to add some styling etc.
    */
    a.mpp-previous{
    }
    
    

    Please add it(You my do via Customizer Additional Css) and It will do the needful.

    Hope that helps.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25278
    Brajesh Singh on in reply to: BuddyPress Editable Activity – not working #9995

    Hi,
    Sorry about the delay. It is coming today for sure.

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

    Hi Diana,
    Will you like to use the field name or description as the placeholder? Please let me know and I will put some code. It should work.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25278

    Hi,
    I am sorry, It is not yet polished enough to be in public domain(the plugin). Will release in next 3-4 days and link here.

    Thank you
    Brajesh

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

    Hi,
    That last modification makes it work.

    Here is a better version though

    
    
    /**
     * 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, strtolower( mpp_get_type_singular_name( $args['type'] ) ) );
    	}
    
    	return $title;
    }
    add_filter( 'mpp_wall_gallery_title', 'mpp_custom_wall_gallery_name', 10, 2 );
    
    

    I have tested it and it works fine.
    Hope that helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25278
    Brajesh Singh on in reply to: Mediapress issue #9986

    Hi Andy,
    The current dashboard add option is not properly designed for author or lower levels. We need to work on it a little bit. For now, Please let the users use front end gallery creation.

    We will make sure to put a new release next week and make the backend options proper for user with all kind of roles(based on the site policy)

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25278
    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: 25278
    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: 25278

    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: 25278

    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