Forum Replies Created

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
  • in reply to: Embedding Youtube videos #52869
     marceltj
    Participant

    @radu Thanks, I was able to sort it out last night.

    Basically 2 steps:
    1) Adjust settings in Activity Plus
    2) Add this to functions.php

    COPY CODE
    function bigger_embed_size()
    { 
      return array( 'width' => 300, 'height' => 250 );
    }

    3) Add this CSS

    COPY CODE
    .fluid-width-video-wrapper {
        width: 300px !important;
        position: relative;
        padding-top: 30% !important;
    }

    All looks good now!

    in reply to: Full size homepage with block default #44187
     marceltj
    Participant
    This reply has been set as private.
    in reply to: Login Redirection to Profile #42638
     marceltj
    Participant
    COPY CODE
    
    $redirecturl = apply_filters( 'kleo_modal_login_redirect', $info['user_login'] . '/profile/', '', $user_signon );
    
     marceltj
    Participant
    COPY CODE
    function social_links_in_header () {
    	$social_links = array('facebook','twitter','linkedin');
    	foreach( $social_links as $link ) {
    		if ( $data = bp_get_profile_field_data( array('user_id'=>bp_displayed_user_id(), 'field'=>$link )) ) : ?>
    			<a href="<?php echo bp_get_profile_field_data( array('user_id'=>bp_displayed_user_id(), 'field'=>$link)); ?>" target="_blank"><i class="icon-<?php echo $link; ?>"></i></a>
    		<?php endif;
    	}
    	
    }
Viewing 4 posts - 1 through 4 (of 4 total)

Log in with your credentials

Forgot your details?