Skip to:
Content
Pages
Categories
Search
Top
Bottom

subscribers not showing in the list


  • jluisrioja
    Participant

    @jluisrioja

    Hello dear community.
    I am using buddy press since a couple of days ago, I am not an expert, it is the first time I am uning this.
    I create a socual network for volunteering: http://peruacciona.com, but I have this issue:

    Right now there are 5 registered users, but in the page, when I click “MEMBERS”, it says only 4.
    I created manually in the backstage in order to test, but happends the same.

    Please any help will be more than welcome. thank you in advance!!
    Sincerely
    Jorge Luis

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

  • jluisrioja
    Participant

    @jluisrioja

    If you need pictures, of screen shots, I can provide you thanks!


    iamthewebb
    Participant

    @iamthewebb

    Hi,
    Members page will only show those who have registered and then logged in, if they have not logged in yet they don’t appear on that page.

    Hope that helps.


    vapvarun
    Participant

    @vapvarun

    @jluisrioja
    You can use the following code inside the child theme, it will add a timestamp for all users
    remove code once all member starts displaying in your member list.

    function buddypress_add_last_activity() {
      $members =  get_users( 'fields=ID' );
      foreach ( $members as $user_id ) {
            bp_update_user_last_activity( $user_id, bp_core_current_time() );
      }
    
    }
    add_action('bp_init', 'buddypress_add_last_activity' );

    jluisrioja
    Participant

    @jluisrioja

    Dear @vapvarun, thank you so much for your help.
    Regarding what @iamthewebb I was not aware of this. So, in order to appear in default mode, you must be registered and at least have logged in once, right?

    Thank you.
    I appreciate a lot your support and prompt response.


    truden
    Participant

    @truden

    Thank you, Varun.
    The whole issue about the members count is very confusing.
    Here is what I have in the members admin section:
    All (1,325) | Administrator (3) | Contributor (1,313) | Keymaster (3) | Participant (1,253) | Pending (0)
    See how the numbers don’t add together to the “All” number.
    After running your code, in the front end “users” section I have now:
    Viewing 1 – 20 of 1,735 active members
    But when I sort the members alphabetically I get 985 members.
    Here is the link to the website: https://onegative.org/members/

Viewing 5 replies - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
Skip to toolbar