Skip to:
Content
Pages
Categories
Search
Top
Bottom

Parameters for bp_group_list_admins()

  • Avatar of jordashtalon
    JordashTalon
    Member

    @jordashtalon

    What are the parameters for bp_group_list_admins()

    I want to change the avatar size of the admins to a smaller size, BTW where can I find all the parameters of functions listed? I couldn’t find it in the docs.

Viewing 8 replies - 1 through 8 (of 8 total)
  • Avatar of jordashtalon
    JordashTalon
    Member

    @jordashtalon

    Where do I find the parameters? I’ve been looking..

    Codex.buddypress.org is only as good as the amount of people who bother to contribute to the documentation. Failing that, reading the code (if you can read code) is always a good way.

    The only parameter that bp_group_list_admins() takes is an optional group object; it defaults to the current group object from the bp_groups templatetag loop. You’d need to duplicate (and rename) this function into your plugin / your theme’s functions.php to do what you want to do with it.

    Avatar of jordashtalon
    JordashTalon
    Member

    @jordashtalon

    Hey Paul,

    Where would I find that function to copy (which PHP file?) how would I know where it’s at?

    I can get into the file via terminal or FTP so with Terminal I might have some more advanced search features.

    Thanks for your help.

    I looked in

    bp-core.php

    bp-forums.php

    bp-groups.php

    bp-loader.php

    I can’t find it anywhere.

    Avatar of jordashtalon
    JordashTalon
    Member

    @jordashtalon

    Hey Paul,

    Where would I find that function to copy (which PHP file?) how would I know where it’s at?

    I can get into the file via terminal or FTP so with Terminal I might have some more advanced search features.

    Thanks for your help.

    I looked in

    bp-core.php

    bp-forums.php

    bp-groups.php

    bp-loader.php

    I can’t find it anywhere.

    Avatar of jordashtalon
    JordashTalon
    Member

    @jordashtalon

    Any ideas?

    Avatar of @mercime
    @mercime
    Keymaster

    @mercime

    Avatar of jordashtalon
    JordashTalon
    Member

    @jordashtalon

    @mercime

    Thanks, I got it working now.

    And thanks Paul for the suggestion it worked great.

    Super, glad to hear it :)

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

You must be logged in to reply to this topic.