I have a small gaming community website which use the Comments module in combination with News. Together with FEU and Customcontent i have hidden the comment form so that only logged in visitors can post comments (a dirty hack, but sufficient for now), but everyone can still view what's been written by others.
This is causing a strange problem, though:
- When a member post a comment, he automaticly get logged out.
- Also, when trying to login from within a news article, you get redirected to a blank page without getting logged in.
Code: Select all
{if $customcontent_loggedin}
<h3>{$addacomment}</h3>
{$startform}
{$commenttxt}(*):<br />
{$inputcomment}<br />
<br />
{$submit} {$cancel}
{$endform}
{else}
<h3>Login to comment</h3>
{/if}
Best regards
Max C.
www.onlinegamer.se