First, the module is great and exatly what i need
I would appreciate the group feature request and the checkboxes or similar as an alternative to autofill field
My problem is that I have 25 users with 'name.familyname' username and when i try to notify all after some of them it stops.
Is there a limitations character numbers?
Sorry for the bad english, I hope the question is clear anyway!

Comments

jmiccolis’s picture

How long exactly (how many characters) are the usernames that are causing this to fail?

stele’s picture

128

stele’s picture

at 128 stops but i have much more

jmiccolis’s picture

I think there is more to your setup. I've just looked at the user table and it stores usernames as "varchar(60)" so 128 characters is more than sufficient. Are any other parts of Drupal breaking with such long usernames?

stele’s picture

I have read another issue and I changed >20 with >25

In notifications_team.module around line 172 the code reads:

    $acomplete = FALSE;
    if (count($users) > 20) {
      // have an autocomplete box and only have users on the checkboxes that are already subscribed
      $acomplete = TRUE;
      foreach($subscribers as $u) {
        $user_names[$u->uid] = $u->name;
      }
    }
....

Really thanks a lot for your great work and yourt support. Now for my needs the module is PERFECT.

jmiccolis’s picture

Status: Active » Fixed

Great! I think some point we may make the threshold for the select -> autocomplete UI switch configurable. So patches in that direction would be accepted.

Status: Fixed » Closed (fixed)

Automatically closed -- issue fixed for 2 weeks with no activity.