Skip to:
Content
Pages
Categories
Search
Top
Bottom

Member Directory Won’t Display over 999 member count


  • twmcmahan
    Participant

    @twmcmahan

    We have 3,078 Members.

    I’ve resolved this by making a change to the function bp_nouveau_get_nav_count()

    /bp-templates/bp-nouveau/includes/template.tags.php Line 1248
    From:
    $count = (int) $nav_item->count;
    to
    $count = (int) str_replace(',', '', $nav_item->count );

    It appears that $nav_item returns 3,078 and because it’s being forced to an integer it’s only returning 3 as written.

  • You must be logged in to reply to this topic.
Skip to toolbar