• Hi-

    Love this plugin. we are having an issue with one of the shortcodes.

    Using [groups_user_groups] to output a long user list of the users in a group. The listing just kind of … stops … before all users are listed.

    Since the code seems to just be using $wpdb->get_results to get the list, and then loop over it and output it, is this a limitation of $wpdb->get_results? How do we overcome this and get the whole list of users in the group?

Viewing 1 replies (of 1 total)
  • Plugin Author Kento

    (@proaktion)

    Hi @holmegm,

    I suppose you’re using a form of this shortcode to output the list of users:

    [groups_group_info group="Registered" show="users"]

    The issue with this shortcode producing the list of users is that it lacks pagination, unfortunately its implementation is rather experimental and lacking proper features to make the list useful for large numbers of users in a group. The limitation is not with $wpdb->get_results() but with the shortcode itself when it renders users in a group.

    What most likely happens is that you run out of memory if you try to render a large list of users and the solution would be to improve the shortcode, especially by adding pagination, the ability to search for a users and other useful features to make it a really useful list (well similar to the Users section on the back end ideally).

    Do you have any suggestions and specific requirements for such a list? I’d appreciate your feedback.

    Cheers

Viewing 1 replies (of 1 total)
  • The topic ‘output of [groups_user_groups] stops’ is closed to new replies.