BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox #4585

    Hi Tomasz,

    I am still not clear what exactly is your requirement. Do you want user not to redirect on image when you click media in lightbox.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Mediapress uploads the wrong way #4567

    Hi Christian,

    I was working on lightbox that is why you was getting the white box again. I have fixed that issue but I am still looking into the bug coming in lightbox image order.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Mediapress uploads the wrong way #4512

    Hi Christian,

    Sorry for the inconvenience. I was busy on some other project so couldn’t make it. I have fixed the full width image in lightbox. Now i am looking into other issue and will update you soon. Please let me know if lightbox issue is resolved or not.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Little Customizations about MediaPress #4502

    Hi Dandy,

    Please follow the steps and let me know if it works or not

    1. Install Poedit on your local system.

    2. Open the MediaPress language file in POEdit.

    3. Find string “Gallery %d” replace gallery and update the file.

    Please save the generated file as mediapress-en_US.mo (I am assuming en_US is your locale)
    Now, Please upload this file to plugin/mediapress/languages directory on your server.

    For More details, Please see
    https://buddydev.com/mediapress/topics/getting-started/translating/translating-mediapress-into-your-local-language/

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hi Lavish,

    Yes, You can use the code in your current theme’s functions.php file. But in place of your code use the following code and let me know if it works or not.

    
    function buddydev_disable_seo_title() {
    
    	if ( function_exists( 'is_buddypress') && is_buddypress() && class_exists( 'WPSEO_Frontend' ) ) {
    		$instance = WPSEO_Frontend::get_instance();
    
    		remove_filter( 'wp_title', array( $instance, 'title' ), 15, 3 );
    		remove_filter( 'pre_get_document_title', array( $instance, 'title' ), 15 );
    	}
    
    }
    add_action( 'bp_template_redirect', 'buddydev_disable_seo_title' );
    
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BuddyPress Activity Comment Notifier update issue #4497

    Hi Gabry,

    Thank You for this acknowledgement. I am glad that issue is resolved. You was getting fatal errors because notification component will only accessible if you enabled this from back-end.

    I am marking this thread as resolved.

    Thank You
    Ravi

    • This reply was modified 8 years, 6 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hi Lavish,

    Thank you for posting. I am posting reply of your first question. Please try the following code in your bp-custom.php file and let me know if it works or not.

    
    
    function buddydev_modify_profile_page_title( $new_title, $title, $sep, $seplocation ) {
    
    	if ( bp_is_user_profile() && bp_current_action() == 'public' ) {
    
    		$member_type = bp_get_member_type( bp_displayed_user_id() );
    
    		if ( $member_type ) {
    			$new_title = ucfirst( $member_type ) . ' ' . $sep . ' ' . $new_title;
    		}
    
    	}
    
    	return $new_title;
    }
    add_filter( 'bp_modify_page_title', 'buddydev_modify_profile_page_title', 10, 4 );
    
    

    Thank You
    Ravi

    • This reply was modified 8 years, 6 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Little Customizations about MediaPress #4490

    Hello Dandy,

    Thank You for posting.

    1. For changing the Gallery tab name. You can do this from the language file i.e. *.po in MediaPress plugin directory.
    2. Please use the following code in your current theme functions.php file

    
    function buddydev_change_gallery_order( $args ) {
    	$args['order'] = 'ASC';
    	return $args;
    }
    
    add_filter( 'mpp_main_gallery_query_args', 'buddydev_change_gallery_order' );
    
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: BuddyPress Activity Comment Notifier update issue #4483

    Hi Gabry,

    Can you please confirm me. Is Notification component enabled in admin section of BuddyPress settings.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115

    Hi Clyn,

    Sorry for the inconvenience. Please let me know what is the folder name of BuddyBlog plug-in in your plug-ins directory. Is it “buddyblog” or “buddyblog-master” ?.

    Thank You
    Ravi