Re: Guestbook plugin

John Sullivan <john-/[email protected]>
Newsgroups gmane.comp.web.pyblosxom.user
Message-ID <[email protected]>
Oscar Norlander <oscar-no-XRBTKNQ/[email protected]> writes:

> Maybe this can help
>
> Hello I'm the author of the script pyguest.py. (I think it is the only
> guestbook for pyblosxom)
>

That's the one :)

> Hmmm maybe the problem is that the dir that will contain the guestb entries
> must have the group that is used by your Apache (or other http deamon). In my
> case I chgrp the dir to have www-data as group. Try that.
>

That group doesn't exist on my server. Everything else on the site, including
the comments plugin, works as the group "arpa", which is what the guestbook dir
is. Also, I made sure that permissions allow writing to the directory. 

The problem is that it is not displaying the form at all.  So
<p>$pyguest_form</p> is being rendered as <p> </p>. 

Ok, I've sort of figured out the problem.

I wasn't understanding this sentence properly: "The submit form will only be
shown when the index or all links are executed."

I looked at the code and saw that you are checking for a particular kind of
URL. I figured out that something like this works:
http://wjsullivan.net/pyblosxom.cgi/guestbook/index.html.

So, it looks like I'll have it all working shortly. My suggestion is to mention
the trigger url in the step-by-step instructions, to make clearer when one can
expect the $pyguest_form to be rendered.

Thanks for your work!

-- 
-johnsu01
-http://www.wjsullivan.net
-GPG Key: AE8600B6



-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users.
Discover which products truly live up to the hype. Start reading now. 
http://productguide.itmanagersjournal.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.