BuddyDev

Search

Replies

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2953
    Ravi on in reply to: bp-user testimonial issue #3352

    Hi Saad,

    I have tested the bug. It is not a plugin bug it is caused by Cinematix theme when i have tested the functionality with different theme it was working. Also there is one error is showing in console by the Cinematix theme.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2953
    Ravi on in reply to: bp-user testimonial issue #3347

    Hi Saad,

    How do you add user as friend on your site. I created a new user and tried to add him as a friend to test the issue but, I was not able to accept my friendship request from other account. Please let me know how can I add friend

    Thank You
    Ravi

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

    Hi Ada,

    Brajesh sir is away now. He will get back to you soon.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2953
    Ravi on in reply to: bp-user testimonial issue #3345

    Hi Saad,

    Thank you for sharing the details. I am looking into it and will update you at day end

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2953
    Ravi on in reply to: bp-user testimonial issue #3337

    Hi Saad,
    Welcome to BuddyDev forums.

    Can you please point me to your site and provide a temporary guest user account? I can quickly check and provide a fix.

    Thank you
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2953
    Ravi on in reply to: [Resolved] BP Simple Front End Post Form #3335

    Hi Leo,

    Thank you for confirming. I am glad that i could help

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2953
    Ravi on in reply to: [Resolved] BP Simple Front End Post Form #3332

    Hi Leo,

    I have done some modification to the code. Please check it now

    function buudydev_post_form() {
        
         $settings = array( 
                    
            'post_type' => 'post',
            'post_author' =>  bp_loggedin_user_id(),
            'post_status' => 'publish',
            'tax' => array(
                        'category' => array(
                            'include' => array( 61 ), //category ids
                            'view_type' => 'checkbox',
                        ) 
                    ),
                    
            'current_user_can_post' => is_user_logged_in(),
            'show_categories' => true,
            'allow_upload' => true
        );
        
        bp_new_simple_blog_post_form( 'my_custom_form', $settings );
            
    }
    add_action( 'bp_init', 'buudydev_post_form', 4 );
    
     //to show form 
    bp_get_simple_blog_post_form('my_custom_form')->show();

    Thank You
    Ravi

    • This reply was modified 8 years, 1 month ago by Ravi.
  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2953
    Ravi on in reply to: [Resolved] BP Simple Front End Post Form #3331

    Hi Leo,

    Thank You for posting. I am looking into this issue and will update you shortly.

    Thank You
    Ravi

  • Keymaster
    Level: Yogi
    (BuddyDev Team)
    Posts: 2953
    Ravi on in reply to: Love photos #3310

    Hi Mathew,

    Thank You for posting. Yes, It is doable using wpulike plugin and little amount of code. Please see this post for details.

    https://buddydev.com/mediapress-development/mediapress-like-unlike-button-for-photos-videos-etc-with-wp-ulike-plugin/

    Hope that helps.

    Thank You
    Ravi

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

    Hi Dandy,

    Thank You for the acknowledgement. Yes in same way we can add friend to particular user.

    
    function buddydev_add_as_friend_to_user( $user_id ) {
    
        $friend_userid = 2;  //replace by your user id
        friends_add_friend( $user_id, $friend_userid, true );
        
    }
    add_action( 'user_register', 'buddydev_add_as_friend_to_user', 0 );
    

    Thank You
    Ravi

    • This reply was modified 8 years, 1 month ago by Ravi.