This topic has 8 replies, 2 voices, and was last updated 7 years by Radu.

  • Author
  • #135096
     sermsak
    Participant

    Hello support team, After i ‘ve update to Kleo 4.1.3 , And i’ve member more than 2 million.But members page not display my members. Please help

     

    #135149
     Radu
    Moderator

    Hi,

    They are fake members right ?

    Try to use this function

    COPY CODE
    
    
    add_action('bp_core_activated_user', 'kleo_add_member_activity');
    function kleo_add_member_activity($user_id)
    {
    	add_user_meta( $user_id, 'last_activity', date("Y-m-d H:i:s"));
    }
    

    But if you have 2 millions users it will take a while… to process this

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #135329
     sermsak
    Participant

    Hello Radu, I should to add this function to Theme/Kleo-child/function.php Right ?

    #135464
     Radu
    Moderator

    yes

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #135472
     sermsak
    Participant

    Hello Radu, They are not fake members but i’ve fresh import from my affiliate. Now, after i’ve log in by few member and members display again.the issue resolved. Thank you

    I should to delete the function above or not ? Thank you

    #135493
     Radu
    Moderator

    Comment with two slasshes // the add action the function will not be runed by the action

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
    #135640
     sermsak
    Participant

    Hello Radu, Now the members page it’s display only 3 members when select, Order By-Last Active and Newest Registered. But when select Order By-Alphabitical it’s display all 2,165,265 members. Please help

    #135642
     sermsak
    Participant

    Sorry, For more information. I’m still keep your function suggest above.

    #135810
     Radu
    Moderator

    In this case use that function all time

    Cheers
    R.

    Hi there!!! Help others from the community and mark any reply as solution if it solved your question. Mark as a solution
Viewing 9 posts - 1 through 9 (of 9 total)

The forum ‘Bugs & Issues’ is closed to new topics and replies.

Log in with your credentials

Forgot your details?