Mark,
I'm also considering the use of the PEAR module Services_Mailman, which appears to interact with the Mailman default admin UI behind the scenes. This options may be feasible in the short term. Are you aware if this works with the current 2.x.x branch of Mailman without issue?
Best Regards, Peter Knowles TPN Solutions
Email: pknowles@tpnsolutions.com Phone: 604-229-0715 Skype: tpnsupport Website: http://www.tpnsolutions.com
On Mon, Jun 16, 2014 at 2:50 PM, Peter Knowles <pknowles@tpnsolutions.com> wrote:
Mark,
Preferably I'd like to transparently issue a command to Mailman backend script(s). That is, my PHP UI would make localized changes to queue (for scheduled changes) or directly via the "exec" (or similar) command (for real-time changes).
Essentially, we want to be in a position eventually to completely cripple the admin UI shipped with Mailman.
One of the problems that I face is, I'm not a Python developer, so if existing Mailman python scripts can manage the "read/write" functions in order to extract things and update things that'd be great.
*** I'm already familiar with the "config_list" script which my "audit" script uses to maintain user/global config options we do not allow our users to maintain themselves. (that is, technically a user can override a setting we maintain currently, but within minutes the settings are reverted via our automated audit process. ***
Best Regards, Peter Knowles TPN Solutions
Email: pknowles@tpnsolutions.com Phone: 604-229-0715 Skype: tpnsupport Website: http://www.tpnsolutions.com
On Mon, Jun 16, 2014 at 2:38 PM, Mark Sapiro <mark@msapiro.net> wrote:
On 06/16/2014 02:01 PM, Peter Knowles wrote:
Hi,
I'm attempting to re-create the "Membership Management" using PHP. More specifically, I want to be able to view, and modify all column data associated with each subscriber in the same way the default Mailman UI does (ex. Name, Email, MOD, Hide, Nomail, Ack, Not Metoo, NoDupes, Digest, Plain, Language)
Do you want to implement this capability with your own PHP pages or do you want your PHP pages to GET the admin/listname/members page, parse it and display the results in its own way, and POST changes back to the Mailman web UI?
I.e. do you want to work through the existing Mailman web UI or bypass it?
If you want to work through the existing UI, see the FAQ at <http://wiki.list.org/x/uIA9> which I'm sure will raise more questions.
If you want to bypass it, you'll probably need to implement some helper scripts (Python scripts using Mailman methods do do the work) to do the actual data retrieval and updates, and invoke those from your PHP pages.
-- Mark Sapiro <mark@msapiro.net> The highway is for gamblers, San Francisco Bay Area, California better use your sense - B. Dylan
Mailman-Users mailing list Mailman-Users@python.org https://mail.python.org/mailman/listinfo/mailman-users Mailman FAQ: http://wiki.list.org/x/AgA3 Security Policy: http://wiki.list.org/x/QIA9 Searchable Archives: http://www.mail-archive.com/mailman-users%40python.org/ Unsubscribe: https://mail.python.org/mailman/options/mailman-users/pknowles%40tpnsolution...