Integrating PHPlist's "Account Disabled" and "User Confirmed" Attributes
photographicon - April 8, 2009 - 14:15
| Project: | phplist Integration Module |
| Version: | 6.x-1.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
While experimenting with the LoginToboggan module it occurred to me that the following two related PHPlist Module features would be useful:
- Drupal "user status" flag auto-mirrored to PHPlist "account disabled" attribute:
- Purpose: To prevent blocked users from receiving mailouts.
- Reason: New accounts awaiting admin approval should not be active list members.
- LoginToboggan's "non-authenticated" user state auto-mirrored to PHPlist "user confirmed" attribute.
- Purpose: To provide support for LoginToboggan's email validation of new accounts.
- Reason: Stand-alone PHPlist requires new users to confirm their email address via an email validation link. The PHPlist module bypasses this confirmation step - however LoginToboggan can be used to achieve the same type of confirmation for Drupal users. A bridge is therefore needed between LoginToboggan and PHPlist.
- Notes: LoginToboggan uses a Drupal user role to flag a new user as 'non-authenticated' (ie registered but not yet confirmed). Any existing user role can be used (settable from the admin page) - when the user is created they are assigned to this role... and when the user confirms, they are removed from this role. The PHPlist module would therefore need an admin option to select the 'non-authenticated' role, and would need to hook to whatever is used by LoginToboggan and the Admin user pages to add/remove roles.

#1
Paul... I pressed send a little too early... would be great if you could add these features to wish list...
Cheers
--
Dominic Search
http://photographicon.com/