show list of users who have product

Discussion in 'Customization & add-ons' started by dale_s, Nov 29, 2017.

Thread Status:
Not open for further replies.
  1. dale_s

    dale_s Member

    Joined:
    Apr 12, 2013
    Messages:
    96
    Is there a way to show a list of users who have a product, such as on a Wordpress page?

    For example, when a visitors arrives on page, they will see a outputed list of all the users who have a specific product.

    This would be real helpful, such as showing off the members who have purchased a specific product.

    Thanks for any suggestions.
  2. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
  3. dale_s

    dale_s Member

    Joined:
    Apr 12, 2013
    Messages:
    96
    That looks like an great option.

    Can directory output be in a WordPress page, or is it limited to aMember area only?
  4. caesar

    caesar aMember Pro Developer Staff Member

    Joined:
    Oct 16, 2009
    Messages:
    2,295
    I am afraid it is limited to aMember pages only.
  5. relapse

    relapse aMember Pro Customer

    Joined:
    Jun 15, 2010
    Messages:
    133
    There is no way to do it natively with Amember, but you can always iframe the directory into a wordpress widget or a page and link to it from the widget:

    1-Just set up the items you want to display to your users (I used First Name-Username-Avatar)
    2-Use the link to the page for the iframe:
    http://yoursite.com/amember/directory/identfiercodeforyourdisplayrecord

    It's not as elegant as a programming solution would be, but it will get the job done.
  6. dale_s

    dale_s Member

    Joined:
    Apr 12, 2013
    Messages:
    96
    I went with giving users who have product a custom WordPress role, and then created a member page (bbPress) which shows only users with that role. Thanks for the help and support though.
    relapse and caesar like this.
Thread Status:
Not open for further replies.

Share This Page