Support » Plugin: BP Group Hierarchy » [Plugin: BP Group Hierarchy] scalability issue creating new groups

  • One of the steps in creating new groups, is to select a parent group.

    For this step, the plugin generates a combo box with all the active groups.

    The issue I came across was that by having a large number of groups, it increased the loading time (probably because of a large query result, and code looping through the result), causing this script to break/time out, and display a blank page.

    As a temporary workaround, I commented out the code that gets all the groups; instead I only display two options in the combo box: ‘Site Root’ option, and the parent group if there is one.

    If you have any suggestion on how should I address this issue, I would appreciate it.



Viewing 1 replies (of 1 total)
  • Plugin Author David Dean


    Hi Ed,

    I think what you’ve done is the best way to handle it for now. The latest release included some slight optimization there, but there’s only so much that area can be optimized.

    I can make building the parent group dropdown a function that can be replaced with a filter. This will let larger deployments like yours substitute their own controls, and will make it easier to add a paged list or something like that if demand is sufficient.

    If you’ve got any other thoughts, please let me know!

Viewing 1 replies (of 1 total)
  • The topic ‘[Plugin: BP Group Hierarchy] scalability issue creating new groups’ is closed to new replies.