Skip to:
Content
Pages
Categories
Search
Top
Bottom

list custom members


  • grosbouff
    Participant

    @grosbouff

    Hi, I would like to use the bp-core functions to list specifics users.

    I get their ids from a custom function and I would like to know if I could “inject” them into the core functions to retrieve the listing; or if I absolutely need to create a custom class (like BP_Core_Members_Template).

    Thanks !

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

  • Jeff Sayre
    Participant

    @jeffsayre

    There are many functions in bp-core.php and many template tags in bp-core-templatetags.php that will retrieve various user data. Take a look in those two files.

    You should not write any custom DB classes unless you are creating a custom plugin. Also, you should never modify core BP files.

    If you are simply looking to list certain members, you can try my Featured Members Widget available in the WordPress plugin repository. You may have issues if you are running WPMU 2.8.1 as I have not yet updated my widget to use the new WP Widget API.


    grosbouff
    Participant

    @grosbouff

    Ok. It is for a component, so I created a class. Thanks !

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