• Resolved shaibani

    (@shaibani)


    Hi everyone,

    I was customizing my WP theme, and then when I got to the comments, I posted 2 test comments and all I got was:

    Anonymous Says:
    at edit

    Help! Is this a PHP error or something?

    Thanks 🙂

Viewing 11 replies - 1 through 11 (of 11 total)
  • Thread Starter shaibani

    (@shaibani)

    Even when i edit it, its still the same

    Is this when you’re logged in?

    If so, go check to see what your user display name is.

    Edit
    Hmm…rethinking this. If you’ve edited it, it should show up correctly.

    What code are you using to show the commenter’s name?

    Thread Starter shaibani

    (@shaibani)

    <?php comment_author_link() ?> + it doesnt show the comment or meta data

    Thread Starter shaibani

    (@shaibani)

    this is the whole code for a comment

    <?php foreach ($comments as $comment) : ?>
    
    		<center>
            <div class="navigation">
    			<div class="header2"><b><?php comment_author_link() ?></b></div>
    
    		<div class="content">
    
    			<?php comment_text() ?>
                </div>
    
                <div class="details"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> <?php edit_comment_link('edit','&nbsp;&nbsp;',''); ?></div>
    
    		</div>
    
           </center>
    
    	<?php endforeach; /* end for each comment */ ?>

    Thread Starter shaibani

    (@shaibani)

    Bump =D

    Thread Starter shaibani

    (@shaibani)

    hello?

    You know, bumping the thread up like this isn’t going to get you help any faster. Actually, it’s the quickest way to not get help.

    This should work:

    <?php comment_author_link(); ?>

    Post a link to your blog, so someone can go test the comments.

    You’ve yet to answer my question, “Is this when you’re logged in?”

    Thread Starter shaibani

    (@shaibani)

    yes, login in and out

    http://www.big-show.net/wp-index.php

    And sorry about the bumping, its just im really excited about using WP for my site 😀

    Thread Starter shaibani

    (@shaibani)

    your comment isnt showing up… I’m guessing its a PHP error?

    The problem isn’t what I thought you were saying. So, no comments are showing up at all is what’s happening.

    The code you posted above isn’t the entire contents of your comments.php file is it?

    I would try copying the contents of the Default theme over into your comments.php file to be sure there’s not a code problem there.

    Then, if that still produces the same results, I’d start deactivating plugins.

    Thread Starter shaibani

    (@shaibani)

    Ok thanks, i fixed it! It was from a phpbb recent topics plugin; thanks ;D

Viewing 11 replies - 1 through 11 (of 11 total)
  • The topic ‘Anonymous Comment Problem’ is closed to new replies.