comments disappear if user is not logged in as a member
Posted: 31 August 2004 01:52 AM   [ Ignore ]  
Grad Student
Rank
Total Posts:  49
Joined  04-20-2004

Hi there,

In the settings of my weblog only members can give comments. The point is that if a member is not logged in, but he typed a long comment, all his input is gone if he wants to post it. He receives a message that only members can use this feature. That was the purpose, but is it possible to keep this message, so he still needs to log in, but without loosing the comment? Because it can be very frustrating if he does al the work, forget to log in, and has to do all the work again?
Second question: can I change the content of this message?

Thnks Eduard

Profile
 
 
Posted: 31 August 2004 01:59 AM   [ Ignore ]   [ # 1 ]  
Research Assistant
RankRankRank
Total Posts:  326
Joined  12-21-2003

You better modify your template so that the comment form is only displayed to logged in members.

Profile
 
 
Posted: 31 August 2004 09:19 AM   [ Ignore ]   [ # 2 ]  
Research Scientist
Avatar
RankRankRankRankRankRank
Total Posts:  9868
Joined  06-19-2002

Check the {if logged_in} global conditional variable.  You’ll want to use that around your comment forum.  So, maybe something like this:

{if logged_in}
  {exp
:comment:form}

....

  
{/exp:comment:form}
{
/if}
{if logged_out}
  You must be logged in to post a comment
.
{/if}

 Signature 

Chris Curtis
chriscurtis.org

Profile
 
 
Posted: 02 September 2004 12:22 AM   [ Ignore ]   [ # 3 ]  
Grad Student
Rank
Total Posts:  49
Joined  04-20-2004

Thanks, I will give it a try!

Profile
 
 
   
 
 
Post Marker Legend
New Topic New posts Hot Topic Hot Topic with new posts New Poll New Poll Moved Topic Moved Topic Sticky Topic Sticky topic
Old Topic No new posts Hot Old Topic Hot Topic with no new posts Old Poll Old Poll Closed Topic Closed Topic Announcement Announcements
Theme
Change Theme
Visitor Statistics
The most visitors ever was 1149, on July 16, 2007 09:33 AM
Total Registered Members: 64978 Total Logged-in Users: 22
Total Topics: 82016 Total Anonymous Users: 19
Total Replies: 440814 Total Guests: 192
Total Posts: 522830    
Members ( View Memberlist )