New
PeoplePress is here. Community building for WordPress, reimagined. Fast, modern, and built for the communities you've always wanted to run.
See it live

BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox remove white box #3947

    Hi Christian,

    I will explore this and get back to you in a day or two.

    Thank You
    Ravi

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

    Hi Brian,

    Please try this way. Don’t use above code

    
    function buddydev_create_post_on_activation( $user_id, $key, $user ) {
    
    	//do something like this
    
    	$field_id = "Your field ID";
    	$bandname = xprofile_get_field_data( $field_id, $user_id );
    
    }
    add_action( 'bp_core_activated_user', 'buddydev_create_post_on_activation', 10, 3 );
    
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox remove white box #3942

    Hi Christian,

    I have made the changes to the widget template.

    Thank You
    Ravi

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

    Hi Brian,

    Please try the following

    
    $userid = bp_loggedin_user_id();
    
    $field_id = "Your field ID";
    $bandname = xprofile_get_field_data( $field_id, $userid );
    
    

    and let me know if it is working or not

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox remove white box #3938

    Hi Christian,

    I have done the modification to the code. Please check it and let me know is it working or not.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox remove white box #3936

    Hi Christian,

    Please send me the ftp access of the server here into private reply.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: MediaPress Media List widget #3932

    Hi Christian,

    Please copy the following template

    “mediapress/templates/mediapress/default/widgets/grid-photo.php”

    to your theme

    “mediapress/default/widgets/grid-photo.php”

    and replace the following

    mpp_get_grid_column_class( 1 ) )

    to

    mpp_get_grid_column_class( 2 ) )

    will do the work.

    Thank You
    Ravi

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

    Hi Minoo,

    Can you point me to the site with a demo user account so that I can find out what is exactly going on your site.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Lightbox remove white box #3928

    Hi Christian,

    Please do the following modification to the MediaPress plugin code.

    1. open file “mediapress/core/ajax/class-mpp-ajax-lightbox-helper.php” and change the following code from line no. 175

    mpp_get_template_part( ‘gallery/media/views/lightbox-comment’ );

    to

    mpp_get_template_part( ‘gallery/media/views/lightbox’ );

    2. And modify the css file “mediapress/assets/css/mpp-core.css”

    find “.mpp-lightbox-media-container” and change width to 100%. Also “.mpp-lightbox-media-meta” change width to 100%

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Sitewide Gallery browsing layout is broken on mobile #3927

    Hi Tyler

    Welcome to BuddyDev. Most probably this is due theme you are using. Please point me to the site so that I can help you with css.

    Thank You
    Ravi