Group Tools v2.10

Release Notes

2.10 (2014-05-15):

  • added: users can register if registration is disabled but they have a valid group invite code
  • fixed: no groups to select in groups_river_widget
  • fixed: error during saving of special states
  • fixed: if trying to access a hidden group when logged out, correctly forward after login
  • fixed: the action URL for user membership killrequest (#57)
  • any news on the fixes for the bugs identified in this thread? are they fixed in the github version?
    thanks

  • This plugin claims it to support "group multiple admin" and I enabled "Allow multiple group admins" for Group Tools Settings under Administration. However, when I go into "Edit Group" page for a particular group. The "Owner" section displays a drop-down which allows one and only one user to be selected. Any comments regarding where I did wrong?

    Thanks

    Jay

  • There is only one owner, but you can make other group members into group-admins via the user-icon dropdown menu.

  • @ura soul

    any news on the fixes for the bugs identified in this thread? are they fixed in the github version?
    thanks

    Lots of stuff was fixed recently (for Elgg 1.9). We'll release a new version soon (for Elgg 1.9)

    @whitetornado

    Works under 1.9.1 ? 

    The 2.x version don't work under Elgg 1.9, expect a new release soon

  • With the button "Enable notifications for everyone", I there a way to enable only the site notifications?

    In the other hand, when I "Disable notifications for everyone" and then enable it again, the users notification configuration for the group are lost, for example if an user only has mail notifications enabled.

     

     

  • @Javier

    With the button "Enable notifications for everyone", I there a way to enable only the site notifications?

    No

    In the other hand, when I "Disable notifications for everyone" and then enable it again, the users notification configuration for the group are lost, for example if an user only has mail notifications enabled.

    Correct ;) You first removed the users configuration and then forced a new one

  • @Jerome, in what file is coded the "Enable notifications for everyone" button behavior?, maybe I can tweak it to only enable site notifications...

    Thanks. 

  • @Javier

    @Jerome, in what file is coded the "Enable notifications for everyone" button behavior?, maybe I can tweak it to only enable site notifications...

    Thanks. 

    https://github.com/ColdTrick/group_tools/blob/master/actions/admin/notifications.php#L27-L44

  • The 2.x version don't work under Elgg 1.9, expect a new release soon]

    Thats great news! I love this plugin!

  • So very anxious for the update for 1.9+, any ETA??

  • @Vextah

    So very anxious for the update for 1.9+, any ETA??

    Soon?! ;) We're still finding thing to improve, you could alway check out the GitHub master version. It'll work, mostly without problems

  • Grabbed the latest master branch from github last night, up and running great, no bugs to report as yet :) thanks :)

  • I'm testing the current Github version. Found a strange bug. On the group listings the layout changes, when I select a tab: Open, Closed, Alphabetical, or Ordered. The font family becomes "Lucida Grande",Verdana,sans-serif; and the background becomes blue. Can't find any reason for it. Deleting the group tools's .css doesn't make a difference. Nor does moving group tools on top/bottom of the plugin list.

  • Another tiny bug. If I select "Will users automaticly join this group? = YES" in the Group special states, then leave, then press "edit settings" again, I get a error message: "Deprecated in 1.8: Do not rely on $vars["url"] being available in views". When I select "Will users automaticly join this group? = NO", I don't get the message anymore.

  • Hi Jerome

    Testing 3.0 at Elgg 1.9.5.    Feature: Group Invitation using email address.  The registration fails when the Site Registration of new users is disabled.

    After tracking the issue, I found that function "group_tools_check_group_email_invitation" returns False instead of True.

    My workaround: move the "elgg_set_ignore_access" before the "elgg_get_annotations" (Line 38) at funtions.php file.

    Thanks for your great plugin.

    function group_tools_check_group_email_invitation($invite_code, $group_guid = 0) {
        $result = false;
        
        if (!empty($invite_code)) {
                
            // note not using elgg_get_entities_from_annotations
            // due to performance issues with LIKE wildcard search
            // prefetch metastring ids for use in lighter joins instead
            $name_id = add_metastring('email_invitation');
            $code_id = add_metastring($invite_code);
            $sanitized_invite_code = sanitize_string($invite_code);
            $options = array(
                'limit' => 1,
                'wheres' => array(
                    "n_table.name_id = {$name_id} AND (n_table.value_id = {$code_id} OR v.string LIKE '{$sanitized_invite_code}|%')"
                )
            );
            
            if (!empty($group_guid)) {
                $options["annotation_owner_guids"] = array($group_guid);
            }
            

    $ia = elgg_set_ignore_access(true);       //EOC

            $annotations = elgg_get_annotations($options);
                    
            if (!$annotations) {
                return $result;
            }
            
            // find hidden groups
    //EOC    $ia = elgg_set_ignore_access(true);
            
            $group = $annotations[0]->getEntity();
            
            if ($group) {
                $result = $group;
            }
            
            // restore access
            elgg_set_ignore_access($ia);
        }
        
        return $result;
    }

  • @Ceronor

    I logged your bug report in github https://github.com/ColdTrick/group_tools/issues/72

    ps: next time please report issues eighter in github or at least with the version you're using ;)

Jerome Bakker

Developer @ ColdTrick IT Solutions

Stats

  • Category: Tools
  • License: GNU General Public License (GPL) version 2
  • Updated: 2019-4-9
  • Downloads: 20818
  • Recommendations: 83

Other Projects

View Jerome Bakker's plugins