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

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

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


> 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')))
                             _('Go to the general list information page')))
+    otherlinks.AddItem(Link(mlist.GetScriptURL('roster'),
+                            _('View the membership roster for this list')))
                             _('Edit the public HTML pages')))

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

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


More information about the Mailman-Users mailing list