Skip to:
Content
Pages
Categories
Search
Top
Bottom

[Resolved] Display only members with pmpro level


  • virtualgeorge
    Participant

    @virtualgeorge

    My members page shows all registered users currently but I don’t want the spammers to show.
    I also have Paid Membership Pro installed so my users choose a membership level after registering and one of which is free if they don’t want to pay. The spammers just register but never sign up for a membership level.

    I want to use the buddypress members page to display a list of current members but ONLY users that have signed up with a membership level in PMPRO. I would also like to display on the members page which membership level they belong to.

    Would I be able to add something to members-loop.php that would only display the paid membership pro users and their level?

    Thanks!

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

  • modemlooper
    Moderator

    @modemlooper

    https://gist.github.com/sbrajesh/2142009

    code example, loops in BP are filterable so you don’t need to edit the template files.

    someone should turn that snip into an s2member plugin 😉


    virtualgeorge
    Participant

    @virtualgeorge

    Cool that worked to remove subscribers. By default I think PMPro seems to add all members with the role of subscriber by default also so I need update so it will add the members as a different role. I think in S2member you can specify the roles for new members where you cannot in Paid Membership Pro?

    I found a few older posts on how to update the roles of new members in PMPro so will give that a try.

    Does anyone with experience with both membership programs think I should be using S2member instead?

    thanks!


    virtualgeorge
    Participant

    @virtualgeorge

    Ok it was easy to update the roles and it looks good 🙂
    Thanks for the help!!


    modemlooper
    Moderator

    @modemlooper

    Glad I could help


    virtualgeorge
    Participant

    @virtualgeorge

    Would it be something similar to also hide Administrators from the members list?

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘[Resolved] Display only members with pmpro level’ is closed to new replies.
Skip to toolbar