Email List Of All Authors On A System - movabletype/Documentation GitHub Wiki

This little snip of code will dump out a list of all the users and their email addresses on your install in a comma-delimited format that you can easily import into your email client. It's particularly useful on larger installs:

    <mt:Authors include_blogs="all">
        <mt:IfNonEmpty tag="AuthorEmail">
            <mt:IfNonEmpty tag="AuthorDisplayName">"<mt:AuthorDisplayName />" </mt:ifnonempty>
            <mt:AuthorEmail />
        </mt:ifnonempty>
    </mt:authors>

And the Authors tag allows for all sorts of cool filtering attributes so you can get at any group of authors in the system, ordered however you like:

  • display_name: Specifies a particular author to select.
  • lastn: Limits the selection of authors to the specified number.
  • sort_by: Supported values: display_name, name, created_on.
  • sort_order: Supported values: ascend, descend.
  • roles: comma separated list of values. eg "Author, Commenter"
  • need_entry: 1 | 0 (default is 1)
  • status: Supported values: enabled, disabled. Default is enabled.
--Plasticmind 10:41, 13 March 2008 (PDT)
⚠️ **GitHub.com Fallback** ⚠️