Philosofree

Send private message

You must be logged in to send a private message.

Group membership

Activity

  • Philosofree replied on the discussion topic Help please re subgroups - au_subgroups plugin
    Hi everyone, I have discovered my own answer! In fact the au_subgroups plugin has been updated by Matt to a new version which when downloaded  from githubworks just fine. Thanks Matt and Iionly view reply
  • Philosofree added a new discussion topic Help please re subgroups - au_subgroups plugin in the group Elgg Technical Support
    I have the latest Elgg version, and latest versions of groups, group_tools and au-subgroups 2.1.0. Most of the plugin functionality works well. However when I try to transfer a group to be a sub-group of another existing group, I get the...
    • Kia ora Phil

      I'm experiencing exactly the same issue - and although I've taken your suggestion (the latest release from github), it's still not working - either to delete or transfer a subgroup. I'd be seriously grateful if you were able to give any further pointers on this one (or anyone else!)

      With grateful thanks....

    • Kia ora Jamie,

      Didn't expect there is someone else using elgg in New Zealand.

      If you has access to your server, you might consider using composer to install the plugin: https://packagist.org/packages/au/au_subgroups

      For me, after installed the plugin using composer, transfer a subgroup is working, but deleting a subgroup and listing all subgroups are not working. The fix is to edit the start.php file: inside the function au_subgroups_pagehandler you need to add two lines of code - add `return true;` below `echo elgg_view('resources/au_subgroups/list');` and `echo elgg_view('resources/au_subgroups/delete');`

      like below:

      function au_subgroups_pagehandler($page) {
        
        // dirty check to avoid duplicate page handlers
        // since this should only be called from the route, groups hook
        if (strpos(current_page_url(), elgg_get_site_url() . 'au_subgroups') === 0) {
          return false;
        }
        
        switch ($page[0]) {
          case 'add':
            set_input('au_subgroup', true);
            set_input('au_subgroup_parent_guid', $page[1]);
            elgg_set_page_owner_guid($page[1]);
            echo elgg_view('resources/au_subgroups/add');
            return true;
            break;
          
          case 'list':
            elgg_set_page_owner_guid($page[1]);
            echo elgg_view('resources/au_subgroups/list');
      return true;
            break;
          
          case 'delete':
            elgg_set_page_owner_guid($page[1]);
            echo elgg_view('resources/au_subgroups/delete');
      return true;
            break;
          
          case 'openclosed':
            set_input('filter', $page[1]);
            echo elgg_view('resources/au_subgroups/openclosed');
            return true;
            break;
        }
        
        return false;
      }

       

       

    • Kia ora Phil

      Right back atcha! Nice to know you're here (somewhere!). I'm so grateful for this fix - could hardly believe the group obediently disappeared after prolonged failed attempts. Thanks very very much indeed.

      Jamie

  • Philosofree has a new avatar
    Philosofree
  • Philosofree commented on the plugin au_subgroups for 1.9
    Thanks, but the 1.6 version had the same problem and I upgraded to the new one for that reason, same issue.   I have au_subgroups at the bottom of my plugin list, and it still doesnt work! any other ideas? thanks PHIL
  • Philosofree commented on the plugin au_subgroups for 1.9
    AU_SUBGROUPS plugin When I try to attach a group to an existing subgroup, this is the error I get. Can anyone explain how to fix this? thanks Phil
  • thanks Ismayil If I chose to do this a different way, say by implementing sub-groups and limiting access to a specific group instead of a domain, would that work? Are you interested in helping if I did this?  I cannot find anyone... view reply
  • Philosofree commented on the plugin AU Subgroups
    Further info, When I try to transfer it says that au_subgroups/transfer.php is not defined in the system. What am I doing wrong?
  • Philosofree commented on the plugin AU Subgroups
    Hi @Matt, I am trying to make a group a subgroup of another existing group, but have been unable to do so. I am currently going  1 edit group 2 other options 3 make this group a subgroup of another group 4 selecting the other...