Skip to:
Content
Pages
Categories
Search
Top
Bottom

Does such a plugin exist? On member profile page, display a link for all groups that the member admi


  • ericreynolds007
    Participant

    @ericreynolds007

    I administrate and moderate a lot of groups on my site. It would be way cool if there existed a plugin that posted a link on my profile page that showed me all of the groups that I either moderate or administrate. Does any such development exist?

    Eric

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

  • Boone Gorges
    Keymaster

    @boonebgorges

    I don’t know of a plugin that could do it, but it’s a nice idea!

    A couple ways you might go about it:
    1) Filter the output of bp_has_groups() to unset those groups that the user is not a mod/admin of. Pro: You could do this pretty easily right now. Con: Not terribly efficient in terms of queries and cpu cycles
    2) Write your own custom MySQL query to get those groups. Pro: Efficient. Con: You don’t get to use the group loop.
    3) Submit a ticket at trac.buddypress.org to have that kind of bp_has_groups() parameter put into BP core. Then you get the best of both worlds, though not until at least BP 1.3

    Good luck!


    ericreynolds007
    Participant

    @ericreynolds007

    Hi Boone. Thanks for the input. I’m opting for #3. :)

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Does such a plugin exist? On member profile page, display a link for all groups that the member admi’ is closed to new replies.
Skip to toolbar