Download & Extend

Organic Groups Mass Add

Overrides the internal "add users" page of Organic Groups with a more powerful alternative.

Takes a list where each row can be either:

  1. username
  2. mail address
  3. firstname, lastname, mail address
  4. firstname, lastname, mail address, desired username

In case 1 or if there is an mail address provided, the module first checks if it matches an existing user, and adds that user to the group.

In case 2-4, if there is no matching user, the user will be created (as long as the person submitting the form has permissions to do so). Newly created users will also have a content profile node created for them if enabled (has a settings page).

The usernames are created by trying these alternatives in order:

  1. If one is provided, the suggested username
  2. The first part of the email address (everything before the @)
  3. If both firstname and lastname is provided, "F.L".
    F is x number of letters from firstname, where x starts at 1 and goes up to the full length of firstname.
    L is lastname.
  4. If firstname is provided without lastname, firstname only.
  5. If lastname is provided without firstname, lastname only.
  6. If both firstname and lastname is provided, try adding numbers 1 and up to a name formatted as F.Lastname where F is the first letter of firstname.
  7. Last (only performed if the previous combination didn't) add numbers 1 and up to the first part of the email address.

Downloads

Version Downloads Date Links
6.x-1.3 tar.gz (10.61 KB) | zip (12.13 KB) 2011-May-30 Notes

Project Information


Maintainers for Organic Groups Mass Add

  • fuzzy76 - 10 commits
    last: 50 weeks ago, first: 1 year ago

Issues for Organic Groups Mass Add

To avoid duplicates, please search before submitting a new issue.
All issues
Bug reports
nobody click here