By sedmi on
When I try to edit anonymous comments (e.g. removing links) I get message "You have to specify a valid author." and changes cannot be saved. Any idea how to successfully edit anonymous comments?
When I try to edit anonymous comments (e.g. removing links) I get message "You have to specify a valid author." and changes cannot be saved. Any idea how to successfully edit anonymous comments?
Comments
Anyone? I'm using Drupal
Anyone? I'm using Drupal 6.14.
...
sounds like for the author field you have some sort of mismatch between what is required and what it is getting populated with.
what value is normally in the 'author' field on these comments you are trying to edit?
also, what name have you specified at site config > site info > anon user? the default is 'anonymous', I think. I changed to 'Guest'.
and also what option have you chosen for content mngt > content types > yourcontenttyype > anon comments field. choices are:
-Anonymous posters may not enter their contact information
-Anonymous posters may leave their contact information
-Anonymous posters must leave their contact information
It sounds like you have chosen the last one, but somehow the field isn't getting populated correctly (even though it is accepting the comment), so it's asking you to fill it when you try to edit it.
I use the last one and just tried to remove the value in the 'author' field and it gave me a similar (not identical) error: You have to leave your name.
you maybe also want to check your permissions page to ensure the right commenting settings are enabled.
hope somemthing in those ideas is of help.
Thanks for trying to help. I
Thanks for trying to help.
I have left default name for unreg. users "anonymous". I tried to change it to "guest" but the problem is the same.
Under content type I have marked option - -Anonymous posters may leave their contact information
Under permissions anonymous users have permissions to leave comments.
No matter if anonymous user enters name into the name field or leaves default "anonymous", the comment cannot be edited.
I would like to be able to edit comments because some anonymous visitors leave legit comment with spammy link below comment, so in those cases I want to delete the link and leave the comment.
When I first bumped into this issue I thought it is default Drupal behavior. So, you say you can edit anonymous comments?
...
yes, you should be able to edit anon comments. i think if you have admin privileges, that goes with the territory. i looked at my comments permission just now and it doesn't appear that i've done anything unusual there. i do this on my sites from time to time for similar reasons. have never had a problem editing comment body, comment author or other fields.
in particular, if i go to a page with comments, all comments present these options at the bottom as clickable links: 'delete' 'edit' 'reply' 'report to Mollom'. i can also edit via admin > content mngt > comments. i take you have none of these options? i think both of these should be available on any site - i don't recall any customization along these lines.
Yes I'm the admin (full
Yes I'm the admin (full permissions). And I tried editing comments by clicking on edit link below comments and by going through content mngmt>comments.
Every time after editing anon. comment I got message "You have to specify a valid author." and I cannot save my modifications.
Can you guide in which direction should I try to to find the solution?
...
well, this seems odd to me. i've never had such a problem, so probably can't of much help.
but back to my first question: what is the value in the author field of these comments which you can't edit? is the field empty, does it say 'anonymous', what? whatever it says, have you tried changing this - say to your own name which you 100% know is a valid value?
the value of user name is
the value of user name is anonymous or something else if users enters other name. Either way I cannot edit comment.
Now I tried editing comment and changed value in user name field to my user name and I successfully edited comment. But that doesn't seems right. That means that I should create account for every anonymous comment which I want to edit (and thus make it registered user's comment). Shouldn't I be able to edit anon comments without editing user name field?
...
no, that doesn't seem right. as stated, i have no problems like this and edit anon comments all the time.
the fact that you can change it to your own name and it works suggests there is something up with that field specifically. perhaps 'anon' user is corrupted somehow. but you've changed the default value to 'guest' and tried edit a new comment left using that and that doesn't work either. not sure what to suggest from here, but somehow you've got to track down why it isn't allowing 'anonymous' or other entries in that field. i can't think of any reason why that would be. someone more familiar with how user names / accts are stored and used might have some ideas. sorry i can't be of more help.
Thank you for trying to
Thank you for trying to help.
I will continue investigating this.
any solution on this? I also
any solution on this?
I also need to manually enter a name for anonymous posts