Support » Themes and Templates » Comment form showing even when logged in!

Viewing 13 replies - 1 through 13 (of 13 total)
  • baal666



    I can’t edit my posts from the single.php also.. It seems it does not recognize I am logged in anymore. Anyone can help?




    2.7 to much Comment problem!!

    [signature moderated Please read the Forum Rules]

    I’d like to add that even when I write a comment it seems it does not recognize I am the author anymore. Anyone can help?


    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    I took your code and placed it all in my comments.php (I renamed my existing one and saved it).

    Your code worked perfectly for me. I was able to click on edit, reply, cancel reply, etc. and I had gotten the expected results. The only thing that was different was that my CSS was not set up for your code.

    Everything worked, it just looked horrible. I suspect something else is going on.

    Try this: Backup your theme’s files and download and replace your comments.php with this one (rename it to comments.php…)

    Append to your theme’s style.css this file

    The styling was taken from Chris’s excellent web page. The comments were butchered by me using Otto’s instructions.

    Make sure that in your header.php you have that if singular statement from Otto’s page.

    Load up your page and let me know if that works.

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Clear your cookies and re-login.

    Also, clear your browser cache, and if you’re using it, your wp-super-cache.


    And thanks for your help jdembowski and Otto42!

    I realize that I should have given more information about the problem. I think jdembowski is right: the comments.php file is not the problem.

    The problem is that when I click to “log in” in my sidebar and enter my information, I can correctly access the admin panel. So far, everything is fine. But when I click on the link from the admin panel that goes to my blog, I don’t see “logged in as…” but I still see the “log in” text that invites me to log in again, and if I try to do whatever from there I am considered as a guest rather than been logged in.

    As an example, I used to see a “Edit” below posts (only visible to the author) but now it’s gone. I really am a guest on my own blog…

    This is as precise as my poor English skills can get me so far.

    Thank you for your help. I wish I could help some people someday as well as I received help from many here.

    Problem solved!

    Here is what I did, if someone has the same problem:

    I simply opened wp-config and wrote three sentences for the first three keys there. I have absolutely NO idea what those keys are for (if anyone would like to explain to me why this solved my problem I would appreciate) but now my site works well…

    Moderator Jan Dembowski


    Brute Squad and Volunteer Moderator

    EDIT: Laughter. I posted this reply before I saw you “Problem solved” 🙂

    Well the old troubleshooting may work: disable your plugins, revert to the default theme and see if that solves the problem of having the edit links return.

    If that does solve the problem, put the theme back and start re-activating the plugins until the problem comes back. That should help you identify the source of the problem.

    If you have a caching plugin, save that for last.

    Thanks for the help! 🙂

    I still don’t understand why it works and in what those three keys are important… but it works! 🙂

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    Changing those three keys invalidates all your previous cookies, so it has the same effect as clearing your cookies, basically.

    I’d still clear your cookies, or you may find the problem recurs in a couple weeks.

    @otto42: How can I do this?

    Moderator Samuel Wood (Otto)

    (@otto42) Admin

    In Firefox it’s Tools->Clear Private Data. Select just the cookies and hit the clear button.

    Dunno about other browsers.

    Thanks. I do it pretty often; I thought it was something else.

Viewing 13 replies - 1 through 13 (of 13 total)
  • The topic ‘Comment form showing even when logged in!’ is closed to new replies.