Re: [Mailman-Developers] admindb.py question ( or a bug/faillure ?)
Hi,
Did copy the settings also to mm_cfg.py Did change the admin.py to normal state.
And same results, nothing happens when the submit button is pressed when approval is set.
I changed my admindburl back to my setting and now i can approve the messages.
Next step : Change a variable in ???.py to accept the member options. It is now getting to work here .. almost complete. But i see still at the page sources in my browser a lot of lnx.poema.yi.org links.. Can not find it where it is getting it from.
Danny.
----- Original Message ----- From: "Bob Weissman" <rlw@rlw.best.vwh.net> To: "Danny Terweij" <danny@terweij.nl> Sent: Monday, May 13, 2002 7:57 PM Subject: Re: [Mailman-Developers] admindb.py question ( or a bug/faillure ?)
You are not supposed to change Defaults.py. You are supposed to override Defaults.py in mm_cfg.py instead. Perhaps something in mm_cfg.py is overriding your change in Defaults.py.
- Bob
At 10:48 AM 5/13/02, you wrote:
Hi,
I changed Defaults.py :
DEFAULT_EMAIL_HOST = 'lnx.poema.yi.org' DEFAULT_URL_HOST = 'poema.yi.org:81' DEFAULT_URL_PATTERN = 'http://%s:81/mailman/' DEFAULT_HOST_NAME = 'poema.yi.org' DEFAULT_URL = 'http://poema.yi.org:81/mailman/'
Then mailmanctl restart
Then i checked the site :
http://poema.yi.org:81/mailman/admindb/poema-test
Logged in and looked at the source code of the webpage : <FORM action="http://lnx.poema.yi.org/mailman/admindb/poema-test" method="POST" > Where does this lnx.poema.yi.org is comming from?
I did looked at admindb.py :
Line number 172 admindburl = mlist.GetScriptURL('admindb', absolute=1)
Where is it getting the url from? Not from the default settings at Defaults.py (see above).
Can any one tell me what the admindburl is holding for variable? Can i change it to : admindburl = 'http://poema.yi.org:81/mailman/' ( depends what the variable is..)
Danny Terweij.
Groetjes Danny Terweij
Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman-21/listinfo/mailman-developers
Hi,
I did change the following to satisfy my list-admins/moderators to changes the Pending approvals and membership options.
I replaced (admindb.py) all the "admindburl = .... " lines to # admindburl = mm_cfg.DEFAULT_URL + 'admindb/' + mlist.real_name And, i replaced (admin.py) all the "adminurl = .... " lines to # adminurl = mm_cfg.DEFAULT_URL + 'admin/' + mlist.real_name
It is not a standard way, but it works on my situation.
Thanx for the support on this.(figured it on my own, and have no programming skills!.. hmm... i lie.. C64 basic :-) )
The next "project"... translate the whole site to Dutch. I have mailed the Dutch translator, but no answers. So i do it on my own way (also not standard :( )
I know, i am now stuck with this version ... , when i am going to upgrade to Mm3 ... i must set all the damn things again :-( But hey, it is a hobby :-)
Maybe i program at my own the "Send also to the moderators the approval/held messages by mail for approving, instead of admins only...".
Danny Terweij (very happy at the moment!).
----- Original Message ----- From: "Danny Terweij" <danny@terweij.nl> To: "Bob Weissman" <rlw@rlw.best.vwh.net> Cc: <mailman-developers@python.org> Sent: Monday, May 13, 2002 9:05 PM Subject: Re: [Mailman-Developers] admindb.py question ( or a bug/faillure ?)
Hi,
Did copy the settings also to mm_cfg.py Did change the admin.py to normal state.
And same results, nothing happens when the submit button is pressed when approval is set.
I changed my admindburl back to my setting and now i can approve the messages.
Next step : Change a variable in ???.py to accept the member options. It is now getting to work here .. almost complete. But i see still at the page sources in my browser a lot of lnx.poema.yi.org links.. Can not find it where it is getting it from.
Danny.
----- Original Message ----- From: "Bob Weissman" <rlw@rlw.best.vwh.net> To: "Danny Terweij" <danny@terweij.nl> Sent: Monday, May 13, 2002 7:57 PM Subject: Re: [Mailman-Developers] admindb.py question ( or a bug/faillure ?)
You are not supposed to change Defaults.py. You are supposed to override Defaults.py in mm_cfg.py instead. Perhaps something in mm_cfg.py is overriding your change in Defaults.py.
- Bob
At 10:48 AM 5/13/02, you wrote:
Hi,
I changed Defaults.py :
DEFAULT_EMAIL_HOST = 'lnx.poema.yi.org' DEFAULT_URL_HOST = 'poema.yi.org:81' DEFAULT_URL_PATTERN = 'http://%s:81/mailman/' DEFAULT_HOST_NAME = 'poema.yi.org' DEFAULT_URL = 'http://poema.yi.org:81/mailman/'
Then mailmanctl restart
Then i checked the site :
http://poema.yi.org:81/mailman/admindb/poema-test
Logged in and looked at the source code of the webpage : <FORM action="http://lnx.poema.yi.org/mailman/admindb/poema-test" method="POST" > Where does this lnx.poema.yi.org is comming from?
I did looked at admindb.py :
Line number 172 admindburl = mlist.GetScriptURL('admindb', absolute=1)
Where is it getting the url from? Not from the default settings at Defaults.py (see above).
Can any one tell me what the admindburl is holding for variable? Can i change it to : admindburl = 'http://poema.yi.org:81/mailman/' ( depends what the variable is..)
Danny Terweij.
Groetjes Danny Terweij
Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman-21/listinfo/mailman-developers
Mailman-Developers mailing list Mailman-Developers@python.org http://mail.python.org/mailman-21/listinfo/mailman-developers
participants (1)
-
Danny Terweij