I'm having a problem getting the comment form to work with the "Only members can comment" option. The comment form displays fine when logged in and immediately when I log out. However, after refreshing the page or going to another page the comment form disappears completely instead of saying "Only registered users can comment" or some such. The code around it isn't causing any problems, the printCommentForm() function simply does not print anything.
Thanks,
kagutsuchi
Comments
`
<?php if (function_exists('printCommentForm')) { ?>
This is a test.
<?php printCommentForm(); ?>
<?php } ?>
`
The test paragraph and br work but the comment form isn't displayed at all, not even any of the comments that the comment form usually has. I've looked through my theme files and I can't seem to find anything that would be blocking the comment form from displaying. Would you have any idea of what might be causing this?
To see this for yourself feel free to register an account.
And thanks for all of your help!
Edit: the comment_form_* options are changed because comment_form_members_only is enabled which turns them off after logout. However, it looks like switching these off will simply have the printCommentForm() function return instead of printing the comment form with comments disabled.