Skip to:
Content
Pages
Categories
Search
Top
Bottom

Community statics


  • nickmy
    Participant

    @nickmy

    Hello

    I’ve created some fields. Now I want to show how many people from France are registered like

    1. We have $number members from france on a extra page

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

  • nickmy
    Participant

    @nickmy


    r-a-y
    Keymaster

    @r-a-y

    Hi, sorry for the late reply.

    You’ll have to create your own function that uses a SQL query to grab the count of people matching that particular xprofile field.

    For hints, check out any of the functions that uses a SQL query and “count” in /buddypress/bp-core/bp-core-classes.php

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Community statics’ is closed to new replies.
Skip to toolbar