Visualization User List for group

Good morning,
we have purchased the “group restrict categories” plugin to be combined with woocommerce.
We would need to create a page that displays the groups to which the user belongs with the list of all users associated with that group. With the possibility to display the profile for each user by click and consequently the order history.

By consulting the documentation we have managed only to extrapolate the groups with their users, is there the possibility to add the link to the order history?

13 Responses to Visualization User List for group

  1. Hendra Trisnayadi December 3, 2018 at 5:52 pm #

    Hi,

    Thank you for asking, In your current approach, do you use a shortcode or have you implemented a partial solution based on the API? if you use shortcode, you can do with add the shortcode [groups_user_groups] in a page and it will display the groups where the current user belongs to.
    also you can use this free plugin :

    https://github.com/eggemplo/groups-list-users

    to display a list of groups and the members of each group, download, install and activated the plugin, you will be able to use the shortcode [groups_users_list_group] on a page to display that info, this shortcode will display the users for a given group by id.

    Regarding the option to display the orders for each member of a given group, you need to implement a custom plugin, perhaps by modifying the aforementioned plugin and by utilizing wc_get_orders( $args ) you can also get the related orders. I haven鈥檛 tried it myself but if you are not familiar with coding, I鈥檒l be happy to further assist you on this.

    Kind regards,
    Hendra

  2. eossipov December 3, 2018 at 9:39 pm #

    I just downloaded and installed

    The [groups_user_groups] is working fine on a post, but a list of current members of the group is not working.

    [groups_users_list_group:2] and

    [groups_users_list_group:name]

    [groups_users_list_group]group name
    [/groups_users_list_group]

    None of the above variations are working.

    Pls advise.

  3. Hendra Trisnayadi December 4, 2018 at 1:25 am #

    Hi,
    Sorry if we make you confused about that, I think that plugin is no longer update, please uninstall that.
    We modified new custom plugin shortcode to show the list of users in a group, please download, install and activated this plugin :

    https://github.com/andre0809/list-groups

    Use this shortcode [group_members group_id=2], this shortcode will show the list of users based on group id.
    Thank you

    Kind Regards,
    Hendra

  4. eossipov December 4, 2018 at 6:36 am #

    Are you sure that’s the correct URL?

    the short code given is not working, and the plugin looks awfully familiar, and named the same as the previous one you told me to delete.

    [groups_user_groups] is working

    [group_members group_id=2] is not.

    pls advise 馃檪
    ~e.

  5. Hendra Trisnayadi December 4, 2018 at 7:26 am #

    Hi, eossipov,

    Yes, that’s correct URL, we already try that and working, this shortcode ‘[group_members group_id=2]’, ‘2’ is the id of your group.
    If you still have this issue, can you please send me your website URL and send your website credential to me can access your dashboard, send to help at itthinx dot com, so I can check what the problem and make sure will run properly. Thank you

    Kind regard,
    Hendra

  6. eossipov December 4, 2018 at 10:41 pm #

    and where would I send this information?

    • Hendra Trisnayadi December 5, 2018 at 5:42 am #

      Hi, Eossipov

      You can send to our email help [at] itthinx [dot] com

      Kind regards,
      Hendra

  7. eossipov December 5, 2018 at 6:10 am #

    Ok, the email is sent – programmatically from creating the account for you.

    it should come from Puget Sound Viking Network

    pugetsoundvikings.com

    thank you hendra.

  8. eossipov December 5, 2018 at 6:12 am #

    Here is the post where you will find the test:

    https://pugetsoundvikings.com/blog/2018/12/03/current-viking-members/

  9. Hendra Trisnayadi December 5, 2018 at 6:40 am #

    Hi Eossipov,

    Can you please recheck email that your send, because we not yet received your email.
    our email is ” help [at] itthinx [dot] com”, Thank you

    Kind regards,
    Hendra

  10. eossipov December 5, 2018 at 1:34 pm #

    Ok, so this is an updated plugin now. ( new commit, 6 hours ago )

    thank you much Hendra, you’ve been very helpful!!

    • Hendra Trisnayadi December 5, 2018 at 4:10 pm #

      Hi Eossipov

      Yes, that’s a new updated.
      Thank you very much

      Kind Regards,
      Hendra

Only authorized members can comment on this topic.

Log in

Share