hi folks,
i've written a patch to mailman-2.0.5 that lets it handle subscribers' profiles. (is this the "member profiles" feature on the wishlist?)
the patch is available at: http://www.srikant.org/~sh/src/mmprofiler/mm-2.0.5-prof-0.7.gz a screenshot of it in action is at: http://www.srikant.org/~sh/src/mmprofiler/screenshot.jpg
this is my first serious attempt at python. so please be warned. :) feel free to comment.
swee heng
====================================================================== Brief Documentation ^^^^^^^^^^^^^^^^^^^
how to install it: ^^^^^^^^^^^^^^^^^^ this will create Mailman/Cgi/profile.py, cgi-bin/profile and three
- "patch -p0 <" the patch to mailman-2.0.5
- do the usual "./configure; make; make install"
templates files (prof_login.html, prof_list.html, prof_user.html) in templates/. it will also modify Mailman/Cgi/edithtml.py so that list admins can change the look of the templates.
how to use it: ^^^^^^^^^^^^^^ for currently existing lists, you need to copy the template files: cp templates/prof_* lists/the-existing-list/ for new lists, nothing needs to be done. finally, visit the URL: http://your.domain/mailman/profile/view/name-of-list
notes: ^^^^^^ private_roster == 0 or 1. it is made available only to list admins when
- profile information is made available to list members and admins when
private_roster == 2. profile information is not available otherwise.
the database is really just a collection of pickles, one for each subscriber, stored in lists/name-of-list/profiles/.
i've used a whole slew of replacement MM tags, but they all look like <MM-P-foobar> or <MM-P--privatefoobar>. they won't pollute other tags.