[Mailman-Users] Code to view subscriber list on listinfo page

Todd Freedom_Lover at pobox.com
Wed Oct 15 06:06:25 CEST 2003


-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Allan Trick wrote:
> My lists are configured so that only the list admin can view
> subscriber info on the listinfo page.  But quite a few people have
> been calling asking what the admin password is so they can view the
> list (even though it says right there on the page in ITALICS that
> this is for the administrator only).  I've come to the conclusion
> that I need to take that code off the page.  But I don't see it in
> listinfo.html and can't understand the logic of where it's including
> it from.  Assuming I can find where it's getting that part of the
> page from, would there be any problem in removing it from this page?

I don't think you'd have any problems.  I've done that on some lists.
What you want to edit in listinfo.html is the part that looks like
this:

    <MM-Roster-Form-Start>
    <MM-Roster-Option>
        <MM-Form-End>
      <p>

> In the same vein, administrators are asking for a way to see all
> subscribers, not just by letter of the alphabet.  I've told some how
> to get the list emailed to them with a mail command to Mailman, but
> the list on the listinfo page that I want to move is what they're
> asking for.  They would like to be able to get to it from the admin
> page and not have it on the public page.  Is this possible - moving
> that code to the admin page?

Sure.  To add a link on the right hand side of the page, you could
change ~mailman/Mailman/Cgi/admin.py like so:

- --- Mailman/Cgi/admin.py~	Tue Oct 14 23:53:41 2003
+++ Mailman/Cgi/admin.py	Tue Oct 14 23:53:47 2003
@@ -405,8 +405,6 @@
                             _('Tend to pending moderator requests')))
     otherlinks.AddItem(Link(mlist.GetScriptURL('listinfo'),
                             _('Go to the general list information page')))
+    otherlinks.AddItem(Link(mlist.GetScriptURL('roster'),
+                            _('View the membership roster for this list')))
     otherlinks.AddItem(Link(mlist.GetScriptURL('edithtml'),
                             _('Edit the public HTML pages')))
     otherlinks.AddItem(Link(mlist.GetBaseArchiveURL(),

That worked for me in a few quick tests.

- -- 
Todd        OpenPGP -> KeyID: 0xD654075A | URL: www.pobox.com/~tmz/pgp
======================================================================
The means are the ends in progress
    -- Gandhi

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.3 (GNU/Linux)
Comment: When crypto is outlawed bayl bhgynjf jvyy unir cevinpl.

iD8DBQE/jMfBuv+09NZUB1oRAl6kAKCjuyvm6JkrHXYaxeGy4A94xW/xiQCgrd1O
VCAx1criEDEdCo6+6Ic31iM=
=/nWC
-----END PGP SIGNATURE-----




More information about the Mailman-Users mailing list