• Resolved chanzero

    (@chanzero)


    i currently have my blog set so users have to be registered & logged in to leave comments. but then i thought maybe i’ll try to encourage more comments by letting anyone leave comments. when i did this, the comment form at the bottom of the page showed a box for name, email, comment etc — but it showed this even for logged in users (such as myself). is this how it’s supposed to work? i thought the registered/logged-in users would just see the comment form with “You are logged in as [name]”? i am basically using the blix theme (and as far as i remember i haven’t modified the comment portion of it)

Viewing 2 replies - 1 through 2 (of 2 total)
  • Moderator Samuel Wood (Otto)

    (@otto42)

    www.ads-software.com Admin

    is this how it’s supposed to work?

    Depends entirely on the theme. My comments.php has code similar to this:
    if ( $user_ID ) :
    // say "you are logged in as whatever"
    else:
    // show Name/Email/URL inputs
    endif;

    You’ll have to look at the code in your theme and see what it’s doing.

    Thread Starter chanzero

    (@chanzero)

    oh, duh — thanks otto, i got it now

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘commenting – logged in vs not logged in’ is closed to new replies.