[Zope] Creating a NeoBoard forum on a Python Script

Vitor Varalonga vpedrosa@ciberbit.pt
Mon, 09 Sep 2002 15:38:28 +0100


--------------D021A82D3E531E27433A3B93
Content-Type: text/plain; charset=us-ascii
Content-Transfer-Encoding: 7bit

    Hi!


    I have a DTML document that calls a python script upon post.
Somewhere on this python script I want to create a new NeoBoard Forum.
What I did was to simply include the following code:

context.manage_addProduct['NeoBoard'].manage_addNeoBoard_NB(forum_id,
forum_title, forum_desc, 'default', 'MailHost')

When I pressed the submit button, which would call the python script,
a logon window poped up, asking me for a user/password.
Is this some kind of authentication/permissions problem?
How can I fix this?


kind regards,

Vitor Varalonga

--------------D021A82D3E531E27433A3B93
Content-Type: text/html; charset=us-ascii
Content-Transfer-Encoding: 7bit

<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<tt>&nbsp;&nbsp;&nbsp; Hi!</tt>
<br><tt></tt>&nbsp;<tt></tt>
<p><tt>&nbsp;&nbsp;&nbsp; I have a DTML document that calls a python script
upon post.</tt>
<br><tt>Somewhere on this python script I want to create a new NeoBoard
Forum.</tt>
<br><tt>What I did was to simply include the following code:</tt><tt></tt>
<p><tt>context.manage_addProduct['NeoBoard'].manage_addNeoBoard_NB(forum_id,
forum_title, forum_desc, 'default', 'MailHost')</tt><tt></tt>
<p><tt>When I pressed the submit button, which would call the python script,</tt>
<br><tt>a logon window poped up, asking me for a user/password.</tt>
<br><tt>Is this some kind of authentication/permissions problem?</tt>
<br><tt>How can I fix this?</tt>
<br><tt></tt>&nbsp;<tt></tt>
<p><tt>kind regards,</tt><tt></tt>
<p><tt>Vitor Varalonga</tt></html>

--------------D021A82D3E531E27433A3B93--