WordPress.org

Ready to get started?Download WordPress

Forums

Does WordPress not recogninze when authors respond in comments? (12 posts)

  1. PantherMachina
    Member
    Posted 9 years ago #

    I find this odd and think I either must be doing something wrong, or someone overlooked something. Basically when I reply in the comments on my site, I have to fill in the information in the submit form since it didn't' use my cookie from being the poster, and even then there doesn't seem to be anything that I can use in a template to discern when the author of the article posts a comment.

    Am I missing something obvious?

  2. Mark (podz)
    Support Maven
    Posted 9 years ago #

    There was a small issue recently when the comment cookie was not being set, but that has since been sorted.
    Could that be the problem ?

  3. PantherMachina
    Member
    Posted 9 years ago #

    Okay, I cleared all my cookies, then logged into the wordPress admin page. I went to a page to comment, nothing was filled in and when I typed in without filling anythign in, I got labeled as Anonymous.

    Am I missing something? Is there something I need to set?

    The blog in question is http://matrixPointer.com/karl

  4. Mark (podz)
    Support Maven
    Posted 9 years ago #

    After I have cleared cookies, I always have to complete at least one WP comment form.
    That then lets me auto-complete more forms, and subsequent visits to the same blog will have my info already completed.

    It's not a huge hassle :)

  5. Ajay
    Member
    Posted 9 years ago #

    I guess what Panther is trying to say is that since I am logged in already to my blog I shouldn't be needed to fill in my details on the comment form even once. By default it should display my name there (with an optional "Sign out, if this is not you")

  6. Mark (podz)
    Support Maven
    Posted 9 years ago #

    Possibly.... but then given the comment spam stuff, the worries people have about cookies and xss, and the fact that if someone is up to no good and they see "Sign out, if this is not you" they will not sign out, I really don't see it as too difficult or time-consuming to complete what is in effect less than a sentence.

  7. PantherMachina
    Member
    Posted 9 years ago #

    yes, bur more importantly, I was making a style and wanted some way to check whether the poster was the author since I want to flag that differently from the other comments.

    Also even though it may have your info already, that info isn't *special* in some way that you can reliably say that "This is the author" of this thread. For example I can't do it by ip since I might be replying on the go, I can't do it by name and website/email since someone else could just type in the same info. Basically I just want to do something like NSlog.com or BinaryBonsai.com, the former is MT, but the latter is wordPress and even though he has it working in his theme, I'm trying to get a generic way of asking whether comment_author() == post_author().

    Any ideas?

  8. There is a hack that requires the commentator to be a registered user (author). It's an anti-spam measure, and not exactly what you're looking for, but it may point you in the right direction, or give you a few hints on how to tie everything together.
    http://wordpress.org/support/10/7663

  9. PantherMachina
    Member
    Posted 9 years ago #

    It was promising, but sadly it doesn't help since that weeds them out way earlier than I need. Basically I can use something like that to change the comments page inputs automatically, but I still have no way to set a special "I'm an author" flag, or even a "I'm a registered user" flag, for when I parse the comments for display.

  10. IronCladBurrito
    Member
    Posted 9 years ago #

    PantherMachina, Might this be what you're looking for?

    (Or maybe this, instead)

  11. PantherMachina
    Member
    Posted 9 years ago #

    Thanks again IronCladBurrito, but these methods were already mentioned and both rely on some special name/email duo to do it, but the second link is promising in that it mentioned the actual ID system, which might be a good place to start to get this hack written.

    Thanks for all the suggestions everyone. Feel free to post anything else you guys think might be helpful.

  12. PantherMachina
    Member
    Posted 9 years ago #

    Ok, I have found a good avenue for this hack to work, but I need some input as to what this field is actually used for. In the wordpress database comments have a comment_type field that is basically blank for all comments. It allows varchars up to a length of 20, so I was planning to mark comments as guest/user/author and then I would have something I could flag them by that didn't rely on matching words.

    So, does anyone know what the field is used for, or planned to be used for?

Topic Closed

This topic has been closed to new replies.

About this Topic

Tags

No tags yet.