Community Documentation

Global options

Last updated September 8, 2009. Created by samuelet on September 2, 2009.
Log in to edit this page.

These options control the main module behaviuors of your site and are accessibile in "Admin->Settings->User Mailman Register":

Mailman connection interval
How often (in minutes) the user subscription form can connect to the mailman server to check his subscription status. During this interval, subscription status will be retrived from the User Mailman Register stored status of the last connection to the mailman server. Set to 0 to connect everytime a user check his subscription form.
Hourly threshold
The maximum number of subscription form submissions a user can perform per hour and per list. It affects only all submissions for anonymous user and list invitation submissions for every user.
A subscription is required
If checked, user must subscribe to at least one mailing list.
Visible in user registration form
If checked, a "Mailing Lists Subscriptions" section will be displayed in the new user registration form. You will also have to grant can subscribe to ... to "authenticated user" in the User Mailman Register permissions for each applicable mailing list
Display in own separate category
If checked, mailing list subscription is displayed in a separate category on the My account page, otherwise it will be displayed in the user account edit form.
Profile module
Enter the name(s) of the Profile field(s) from which to retrieve the display name for the user. You can enter multiple fields separated by commas; eg: profile_firstname, profile_lastname. Optional
Mail on errors
If not empty, a warning mail will be sent to these addresses when a user can not modify his subscriptions because of a mailman server connection failure. Multiple emails have to be comma separated. Optional.

Comments

content profile

If you are using content_profile instead of the core profile module, user_mailman_register will work with that for the profile fields. For example, I have a cck name field called field_name in my content profile. This will available in the user object as $user->field_name and will contain the formatted value.

So I just set my profile fields to field_name and user mailman register is picking it up (the content profile fields are already added to the user object by the time _user_mailman_register_email_name() is run.

Just make sure to leave the profile module enabled since user_mailman_registers checks to see if its enabled,

About this page

Drupal version
Drupal 5.x, Drupal 6.x
Audience
Site administrators

Site Building Guide

Drupal’s online documentation is © 2000-2012 by the individual contributors and can be used in accordance with the Creative Commons License, Attribution-ShareAlike 2.0. PHP code is distributed under the GNU General Public License. Comments on documentation pages are used to improve content and then deleted.
nobody click here