BuddyDev

Search

Replies

  • Participant
    Level: Initiated
    Posts: 5
    Jasmin Becker on #2886

    Hi Brajesh,

    it is working now but now I can only see the visitors up in my profile and not like before in a special profile tab.

    How I can manage again to show them only in the tab?

    Thank you

    Jasmin

  • Participant
    Level: Initiated
    Posts: 5
    Jasmin Becker on #2848

    Hi Brajesh,

    did you have the chance to look into the bug yet?

    THank you

    Jasmin

  • Participant
    Level: Initiated
    Posts: 5
    Jasmin Becker on #2787

    Yes this behaviour I would expect.

    I created a new member A and visited it with two different profiles B and C (non admin).

    Then I logged in with the visitor account C.

    As you can see in the image I can see all of the last visitors.

    So to me it looks like there is some issue or am I getting it wrong?

    Thank you 🙂

    Image: http://imgur.com/oSuiiTu

  • Participant
    Level: Initiated
    Posts: 5
    Jasmin Becker on #2781

    Sorry, Code is working now. Added it like this:

    function devb_custom_settings_for_recent_visitors ( $settings ) {

    /**
    * Settings is an associative array and has following values
    * See Exampel of allowed settings in the commented section below
    */

    $default = array(
    ‘max_display’ => 15, //no. of visitors to display
    ‘duration’ => 0, //0 means all time, 7 means 7 days, 30 means 30 days
    ‘add_screen’ => false, //show the recent visitor as component?
    ‘show_in_header’ => true, //true then displays in member header, false means does not display in member header
    ‘show_in_directory’ => true, // true then show the Recent visitors tab in Members Directory screen for logged in users, false means no tab in directory.
    ‘notification_local’ => false, //should we enable local notification for user setting?
    ‘notification_by_email’ => false, //should we enable settings for the rcieving the notification by email?
    ‘notify_visitors_locally’ => ‘no’, //by default local notification is disabled, set it to ‘yes’ for it being enabled for the user
    ‘notify_visitors_by_email’ => ‘no’, // By default disable the receiving notification by email settings for user, set it to ‘yes’
    //added in version 1.2.7
    ‘default_avatar_size’ => 64, //what should be the default user avatar size
    ‘allow_user_settings’ => true, //should the user be able to st their own preference in profile->settings screen?
    );

    //
    $settings[‘max_display’] = 15; //show 15 visitors
    $settings[‘default_avatar_size’] = 64;//64 px

    return $settings;
    }

    Would you please help me with first question as well? 🙂

  • Participant
    Level: Initiated
    Posts: 5
    Jasmin Becker on #2780

    Hi Brajesh,

    1. I do not want other logged in members to see visitors of somebody. Everybody should only be able to see their own visitors. How can I do that.

    2. Code is giving me a blank page. Page is testumgebung.socialez.me

    Thanks for your help