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: 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 10 years, 4 months ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Display last name in profile pages #4189

    Hi Javier,

    Here some example code to display the full name of user in the profile. But You can manipulate user name value using the user id. Let me know if it works for you or not.

    
    function buddydev_modified_user_profile_name( $name ) {
    
        $user_id = bp_displayed_user_id(); // You can Manipulate $name value using this user id
    
        $name = bp_get_displayed_user_fullname();
    
        return $name;
    
    }
    add_filter('bp_get_displayed_user_mentionname', 'buddydev_modified_user_profile_name');
    
    

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 3115
    Ravi on in reply to: [Resolved] Restrict Site Access #4164

    Hi Javier,

    Thank You the acknowledgement. Yes, it will could to have it in bp-custom.php file then We do not need to worry which theme is active.

    Thank You,
    Ravi