Skip to:
Content
Pages
Categories
Search
Top
Bottom

Members loop doesn’t show new members


  • webmister76
    Participant

    @webmister76

    I was working on this page till yesterday: http://pallavoloromana.it/anadercategori/squadre/ and everything was working fine.

    Today I did some new “fake” registrations just to check, but I couldn’t see new members in the list.

    I have 9 users but I can only see 7.
    I tried also to cancel some old users, just to see if it was a problem with “how many users” can this page display, but when I did, i could only see less members then before.

    I tried to change role and other fields in new members, but nothing happened.

    No idea. And you?

Viewing 6 replies - 1 through 6 (of 6 total)

  • webmister76
    Participant

    @webmister76


    danbp
    Moderator

    @danbp

    hum… difficult to say at t he moment, as you use 2 different site apparently.

    hxxp://www.anadercategori.org/ and hxxp://pallavoloromana.it/anadercategori/squadre/test7/

    Which site belongs your members to ? Where is buddyPress installed ?

    BuddyPress does not work on installations where you give WordPress its own directory.
    Read here: https://codex.buddypress.org/getting-started/


    webmister76
    Participant

    @webmister76

    hxxp://pallavoloromana.it/anadercategori/


    danbp
    Moderator

    @danbp

    Thnak you.
    Have you a test site or a local install where you can make some test ?

    https://buddypress.org/support/topic/when-asking-for-support-2/

    I tried to change role and other fields in new members, but nothing happened.

    On a single regular install, all BuddyPress members have the default role you assigned to new users in WP settings > general. There is nothing to change at this level when they don’t show up on member’s directory.

    If you need some fake BuddyPress users and content, i suggest you to use BuddyPress Default Data, which is great to control if anything is working correctly.

    Deactivate your theme and all other plugins except BP and use Twenty Fifteen while testing.
    Activate also wp_debug in wp-config, and see if you get somme php errors.


    shanebp
    Moderator

    @shanebp

    Members won’t appear in the members loop until they have a last_activity entry.
    Logging in will create that entry.
    Or you can give them one as soon as a member is registered via front or back end:

    function webmister_add_last_activity( $user_id ) {
    
        bp_update_user_last_activity( $user_id, bp_core_current_time() );
    
    }
    add_action ('user_register', 'webmister_add_last_activity', 20, 1);

    Put the function in your theme/functions.php or in bp-custom.php.


    webmister76
    Participant

    @webmister76

    Thank you for help 🙂

Viewing 6 replies - 1 through 6 (of 6 total)
  • The topic ‘Members loop doesn’t show new members’ is closed to new replies.
Skip to toolbar