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: 25394
    Brajesh Singh on in reply to: Custom background #14732

    Hi Jill,
    I will post a bit late today or early tomorrow. I did misread the replies.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] MediaPress Default Resolution #14731

    Please upgrade to 1.3.6 and set the Original image as the displayable image in the Single Media Page(The settings is under MediaPress->settings->General tab).

    That will do it now.

    Best Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Buddypress 3.0 #14730

    Hi Keith,
    Most of our plugins are tested with the current trunk. I like to keep an eye on the changes.

    We will be listing the compatibility when the BuddyPress 3.0 RC comes.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Sujee,
    No problem.

    You most probably copied the function name and php does not allow two function definitions with same name in any given scope/namespace.

    Here is how you can do it.

    
    /**
     * Register post type for User Content.
     */
    function buddydev_register_post_type() {
    	register_post_type( 'bp_user_content', array(
    		'label'    => 'User Content',
    		'labels'   => array( 'name' => 'User Contents' ),
    		'public'   => false,
    		'show_ui'  => true,
    		'supports' => array( 'title', 'editor', 'author', 'custom-fields' )
    	) );
    
    	/* New post type*/
    	register_post_type( 'post_type_name', array(
    		'label'    => 'Label Post Type',
    		'labels'   => array( 'name' => 'Plural Label' ),
    		'public'   => false,
    		'show_ui'  => true,
    		'supports' => array( 'title', 'editor', 'author', 'custom-fields' )
    	) );
    }
    
    add_action( 'init', 'buddydev_register_post_type' );
    
    

    I hope it helps.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    Hi Sujee,
    Thank you.

    Yes, you are right about that. All you have to do is register a new post type and use that in the shortcode.

    Best regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394

    The code snippet is for registering a new post type. You can put it in bp-custom.php

    Also, please make sure to use the updated shortcode in the profile tabs content.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: [Resolved] MediaPress Default Resolution #14718

    Hi Sujee,
    Thank you.

    1. MediaPress stores the original image. So it is available but not shown in the lightbox. There was a bug in 1.3.5 which showed the larger image on the single but not the original. It is fixed but I haven’t released an update. I will bundle an update today.

    2. We also have a donwloadable media addon that you can use to show a download link for each of the media

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Error warning. Message + Profile Privacy plugin #14717

    I will check today and get back to you.

    Thank you.

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: domain.com/wp-login.php is blank #14716

    Hi Julia,
    Please login to Dashboard and activate the plugin.
    Once that is done, Please visit Dashboard->Settings->BuddyPress->Pages and assign pages for Login, Forget password, Logout etc.

    After that it will work as expected.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25394
    Brajesh Singh on in reply to: Custom background #14715

    Hi Jill,
    Sure.

    changing this

    
    if ( ! function_exists( 'bppg_get_image' ) ) {
    		return ;// no trouble when the plugin is disabled
    }
    
    

    to this

    
        if ( ! bp_is_user_activity() || ! function_exists( 'bppg_get_image' ) ) {
    	    return ;// don't do anything on non activity page.
        }
    
    

    Will do it.

    Best regards
    Brajesh