👻 Halloween Treat: Our biggest-ever 25% OFF memberships — use SPOOKYSOCIAL before Nov 3! 🎃

BuddyDev

Search

Recent Visitors For BuddyPress Profile Error

  • Keymaster
    (BuddyDev Team)
    Posts: 25200
    Brajesh Singh on #55835

    Hi,
    Thank you for your patience.

    The problem is conflict with Simple BuddyPress Profile Privacy. We had support for this plugin in recent visitors. It seems, They have updated their logic for fetching users, causing an infinite loop for us(we are filtering on has members args).

    There are 2 solutions for now:-
    1. Please disable the simple profile privacy plugin
    2. Or I can change the filter causing infinite loop(It will ignore the profile privacy for the above mentioned plugin for now)

    I will go through that privacy plugin in 2-4 days, check their updated code and update our support for them if feasible or drop it form the plugn.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 32
    prgbr on #55836

    Hi,

    we need “Simple Profile Privacy”. so solution would be an update for your plugin or a quick workaround…

    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 25200
    Brajesh Singh on #55837

    Thank you.
    I have released BuddyPress Recent Visitors 1.8.8. It disables integration with simple privacy plugin for now.

    Please upgrade and let me know if it fixes the issue or not?

    Thank you
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 32
    prgbr on #55838

    Hi,

    thx so far.
    But this does not work anymore:

    function buddydev_counter() {
    if (
    function_exists(‘visitors_is_active_visitor_recording’) &&
    function_exists(‘visitors_get_profile_visit_count’) &&
    (visitors_is_active_visitor_recording(bp_displayed_user_id()) || bp_is_my_profile())
    ) {
    echo ‘<span class=”separator”>• </span><span class=”activity”>VK-Aufrufe: ‘;
    echo visitors_get_profile_visit_count(bp_displayed_user_id());
    echo ‘</span>’;
    }
    }
    add_action(‘bp_profile_header_meta’, ‘buddydev_counter’);

    After mentioned update it does not show counter anymore.

    Any idea?

    Regards

  • Keymaster
    (BuddyDev Team)
    Posts: 25200
    Brajesh Singh on #55848

    Hi,
    Is there any chance that the count is hidden via css? I do not see any issue with the code.

    Regards
    Brajesh

  • Participant
    Level: Enlightened
    Posts: 32
    prgbr on #55856
    This reply has been marked as private.
  • Keymaster
    (BuddyDev Team)
    Posts: 25200
    Brajesh Singh on #55857
    This reply has been marked as private.

You must be logged in to reply to this topic.

This topic is: not resolved