BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Extended Friendship Request Plugin – add radio buttons #4259

    Hi Steven,

    Thank You for your acknowledgement. Yes it can be easily. Please modify the following code of file name “bp-extended-friendship-request.php” on line no. 336
    for message content replace this line

    
    
    $message = $_POST['friendship_request_message'];
    
    

    with

    
    
     $message = '<div class="class-for-message-content">'. $_POST['friendship_request_message'] .'</div>';
    
    

    and for selected radio button

    
    
    $message = $message.__(' "Know you from - ', 'bp-ext-friends-request' ).$info[$additional_info].'"';
    
    

    replace with

    
    
    $info = '<div class="class-for-selected-radio">'.__(' Know you from - ', 'bp-ext-friends-request' ).$info[$additional_info].'</div>';
    
    $message = $message.$info;
    
    

    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] Turn off Click Through on Image #4256

    Hi Jemma,

    Thank You for your acknowledgement. I am glad that I could help.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: Extended Friendship Request Plugin – add radio buttons #4208

    Hi Steven,

    Thank You for posting. Please download the modified version of plugin from the following url and let me know if it works for you or not.

    https://buddydev.com/wp-content/blogs.dir/1/files/2016/06/buddypress-extended-friendship-request-client.zip

    Thank You
    Ravi

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

    Hi Dandy,

    Thanks for the appreciation. There are many ways to accomplish this. You can try this by creating a file with name ‘front-page.php’ in your current theme.
    And place the following code in it and modify it as per you need also please keep in mind the settings for front page in admin section set to be your latest post.

    
    <?php
    
    /**
     *
     * Site Front-page
     *
     */
    
    ?>
    
    <?php get_header(); ?>
    
    <?php if( is_user_logged_in() ) : ?>
    
    	<?php // Place content You want to display on home page after user logged in. ?>
    
    <?php else: ?>
    
    	<?php // Place content You want to display on home page when user logged not in. ?>
    
    <?php endif; ?>
    
    <?php get_sidebar(); ?>
    
    <?php get_footer(); ?>
    
    

    Please let me know if it is works for you or not.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Turn off Click Through on Image #4206

    Hi Jemma,

    Sorry for the late reply. This can be done easily. Just copy the ‘lightbox-comment’ template to your current theme. The path would be

    “wp-content/plugins/mediapress/templates/mediapress/default/gallery/media/views/lightbox-comment.php”

    to in your current theme

    “mediapress/default/gallery/media/views/lightbox-comment.php”

    and replace the following section.

    
    
    		<a href="<?php mpp_media_permalink();?>" title="<?php echo esc_attr( mpp_get_media_title() ) ;?>">
    			<img src="<?php mpp_media_src() ;?>" alt="<?php echo esc_attr( mpp_get_media_title() ) ;?>" class="mpp-lightbox-single-media"/>
    		</a>
    
    

    to

    
    <img src="<?php mpp_media_src() ;?>" alt="<?php echo esc_attr( mpp_get_media_title() ) ;?>" class="mpp-lightbox-single-media"/>
    
    

    Please let me know if it works for you or not.

    Thank You
    Ravi

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

    Hi Chris,

    Thank You for the acknowledgement. I am glad the issue is resolved.

    Thank You
    Ravi

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

    Hi Chris,

    Brajesh sir is away. So I am posting here. Could you please tell me know the whole error you are getting with your code You are using in bp-custom.php.

    Thank You
    Ravi

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

    Hi Lavish,

    I have tested this on my local server with Latest version of WordPress(4.5.2) and BuddyPress(2.5.3) and It’s Working for me. Can You please point me to your website so that I can check over there.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Video Gallery pagination #4194

    Hi Christian,

    Please disable settings for “Enable Video Playlist” under section Audio/Video specific settings of Theming Tab.
    It is preventing pagination for video gallery on fronted.

    Thank You
    Ravi

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

    Hi Marco,

    Please also provide the screen-shot of your admin settings for “Blog Categories for group”. It will help us to clear issue more clearly

    Thank You
    Ravi

    • This reply was modified 8 years, 6 months ago by Ravi.