Shape the future of Social networking with WordPress: Join Project Midnight Sun! The next generation platform for community building with WordPress!

BuddyDev

Search

Replies

  • Keymaster
    (BuddyDev Team)
    Posts: 25356
    Brajesh Singh on in reply to: Force Profile Photo #29002

    Hi,
    Thank you for using the plugin.

    You are most probably logged in as site admin. Please try logging as a non admin user and check.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356
    Brajesh Singh on in reply to: [Resolved] RECENT VISITOR PLUGIN ERRORS #28999

    Also, Please open your own topic in future. That will help us serve you better.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356
    Brajesh Singh on in reply to: [Resolved] RECENT VISITOR PLUGIN ERRORS #28998

    Hi,
    We do record all visits, including duplicate visits.

    1. You can use visitors_get_profile_visit_count($user_id) to see/display total visits
    2. You can visitors_get_recent_visitors() It returns an array of objects with following property for each object

    id
    user_id
    visitor_id
    visit_count
    visit_time

    The property visit_count contains how many times the visitor has visited the user.

    Please feel free to adapt.

    Since the UI for this is not available, If you are not comfortable with code, You may use our cusotmization service.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Thank you.
    Your feedback is appreciated.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi Sam,
    We do have at least 2 sliders for MediaPress.

    Since @ravisharma developed these sliders for us and he is busy with something else currently, we will need 3-4 days to put it on github.

    Please check back in 3-4 days.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi Simone,
    You are welcome.

    I don’t see any serious SEO issue.
    It may be a good idea to link to the permalink and we should most probably report and get it in BuddyPress core as an enhancement.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356
    Brajesh Singh on in reply to: DISABLE HEARTBEAT API #28987

    Hi Tosin,
    try changing the order

    
    add_action( 'template_redirect', 'stop_heartbeat', 1 );
    function stop_heartbeat() {
    	if ( bp_is_activity_component() || bp_is_group_activity() ) {
    		return;
    	}
    	wp_deregister_script( 'heartbeat' );
    }
    

    That should work.

    PS:- It makes heartbeat work on activity directory, user’s own activity page and group’s activity page.

    Regards
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356

    Hi Simon,
    Thank you for the patience.

    I have checked your site and I do not see the issue. I don’t see the business users listed in directory.
    Please check it again.

    Thank you
    Brajesh

  • Keymaster
    (BuddyDev Team)
    Posts: 25356
    Brajesh Singh on in reply to: [Resolved] Force Profile Photo #28985

    Hi Granmeh,
    If you are using BP Force profile photo plugin, you may use the following code

    
    
    /**
     * Skip settings component from force profile.
     */
    add_filter( 'bp_force_profile_photo_skip', function ( $skip ) {
    	if ( bp_is_current_component( 'settings' ) ) {
    		$skip = true;
    	}
    
    	return $skip;
    } );
    
    

    Regards
    Brajesh