Re: Getting comments working
Ryan Barrett <pyblosxom-6sb6M7qyT/[email protected]>
| Newsgroups | gmane.comp.web.pyblosxom.user |
|---|---|
| Message-ID | <[email protected]> |
hi steve! your intuition is right. if you're using check_javascript, you need
to add this bit of javascript to your comment-form template:
<script type="text/javascript">
document.getElementById("secretTokenInput").value = "$blog_title";
</script>
it's in comment-form.html, which comes with the contrib pack:
http://pyblosxom.svn.sourceforge.net/viewvc/pyblosxom/trunk/contrib/plugins/comments/flavours/comment-form.html?revision=981&view=markup
but it should also be in the check_javascript.py file comment. i'll add it.
if that doesn't work, try moving akismet.py and check_javascript.py out of
your plugins dir temporarily to check that your comments aren't being filtered
as spam. you can also set log_level in your config.py to debug, try to
comment, and see if the log file shows anything interesting.
On Fri, 23 Mar 2007, Steve Clark wrote:
> I've decided it's about time I had comments on my blog. I think I tried
> installing them ages ago on an old version of Pyblosxom, but it didn't work
> at the time. I've just tried again with the latest versions. This is what I
> did:
>
> 1. Copied the comments.py plus the akismet and check-javascript files to my
> plug-ins directory
>
> 2. Added comments to my config.py plugins list
>
> 3. Registered at Wordpress to get an API key and included that in my config.py
>
> So now I have the comment fields on my posts, but the Preview and Post buttons
> are not working. I don't know much about Javascript, but should there be a
> function on the page for the buttons to call?
>
> I'm sure someone can tell me what I've done wrong. I would expect to have to
> set up something else for the anti-spam measures to work. Have I missed
> something?
>
> Thanks
>
>
-Ryan
--
http://snarfed.org/
-------------------------------------------------------------------------
Take Surveys. Earn Cash. Influence the Future of IT
Join SourceForge.net's Techsay panel and you'll get the chance to share your
opinions on IT & business topics through brief surveys-and earn cash
http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV