BaldPunk1
Forum Replies Created
-
Forum: Fixing WordPress
In reply to: Names and Gravtars don’t show up in comments?THANK YOU!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
I really, really appreciate you help!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Forum: Fixing WordPress
In reply to: Names and Gravtars don’t show up in comments?Replace the whole file with this?
Thanks!!!!
Forum: Fixing WordPress
In reply to: Names and Gravtars don’t show up in comments?That’s the file. I’m not sure what script to change. I have never done it before.
Thanks.
Forum: Fixing WordPress
In reply to: Names and Gravtars don’t show up in comments?<?php // Do not delete these lines
if (‘comments.php’ == basename($_SERVER[‘SCRIPT_FILENAME’]))
die (‘Please do not load this page directly. Thanks!’);if (!empty($post->post_password)) { // if there’s a password
if ($_COOKIE[‘wp-postpass_’ . COOKIEHASH] != $post->post_password) { // and it doesn’t match the cookie
?><p class=”nocomments”>This post is password protected. Enter the password to view comments.<p>
<?php
return;
}
}/* This variable is for alternating comment background */
$oddcomment = ‘odd’;
?><!– You can start editing here. –>
<div id=”commentsbox”>
<?php if ($comments) : ?>
<?php
/* Count the totals */
$numPingBacks = 0;
$numComments = 0;/* Loop through comments to count these totals */
foreach ($comments as $comment) {
if (get_comment_type() != “comment”) { $numPingBacks++; }
else { $numComments++; }
}?>
<?php
/* This is a loop for printing comments */
if ($numComments != 0) : ?>
<h2 id=”comments”>{ <?php comments_number(‘No Comments’, ‘1 Comment’, ‘% Comments’ );?> on this entry }</h2><ol class=”commentlist”>
<?php foreach ($comments as $comment) : ?>
<?php if (get_comment_type()==”comment”) : ?><li class=”<?php if ($comment->comment_author_email == “”) echo ‘mycomment’; else echo $oddcomment; ?>” id=”comment-<?php comment_ID() ?>”>
<div class=”comcontent”>
<?php if ($comment->comment_approved == ‘0’) : ?>
Your comment is awaiting moderation.
<?php endif; ?>
<div class=”comcont”><?php comment_text(); ?></div>
</div>
<br clear=”all” /><?php /* Changes every other comment to a different class */
if (‘alt’ == $oddcomment) $oddcomment = ”;
else $oddcomment = ‘odd’;
?><?php endif; endforeach; ?>
<?php endif; ?>
<?php
/* This is a loop for printing trackbacks if there are any */
if ($numPingBacks != 0) : ?><ol class=”tblist” style=”list-style:none;”>
- <h2><?php _e($numPingBacks); ?> Trackback(s)</h2>
<?php foreach ($comments as $comment) : ?>
<?php if (get_comment_type()!=”comment”) : ?><li id=”comment-<?php comment_ID() ?>”>
<?php comment_date(‘M j, Y’) ?>: <?php comment_author_link() ?>
<?php if ($comment->comment_approved == ‘0’) : ?>
Your comment is awaiting moderation.
<?php endif; ?><?php if(‘odd’==$thiscomment) { $thiscomment = ‘even’; } else { $thiscomment = ‘odd’; } ?>
<?php endif; endforeach; ?>
<?php endif; ?>
<?php else :
/* No comments at all means a simple message instead */
?><?php endif; ?>
<?php if (comments_open()) : ?>
<?php if (get_option(‘comment_registration’) && !$user_ID ) : ?>
<p id=”comments-blocked”>You must be /wp-login.php?redirect_to=
<?php the_permalink(); ?>”>logged in to post a comment.</p>
<?php else : ?><form action=”<?php echo get_option(‘siteurl’); ?>/wp-comments-post.php” method=”post” id=”commentform”>
<h2 id=”respond”>{ Post a Comment }</h2>
<?php if ($user_ID) : ?>
<p class=”command”>You are logged in as /wp-admin/profile.php”>
<?php echo $user_identity; ?>. To logout, /wp-login.php?action=logout” title=”Log out of this account”>click here.
</p><?php else : ?>
<p><input type=”text” name=”author” id=”author” value=”<?php echo $comment_author; ?>” size=”22″ tabindex=”1″ />
<label for=”author”><small>Name <?php if ($req) echo “(required)”; ?></small></label></p><p><input type=”text” name=”email” id=”email” value=”<?php echo $comment_author_email; ?>” size=”22″ tabindex=”2″ />
<label for=”email”><small>Mail <?php if ($req) echo “(required)”; ?></small></label></p><p><input type=”text” name=”url” id=”url” value=”<?php echo $comment_author_url; ?>” size=”22″ tabindex=”3″ />
<label for=”url”><small>Website</small></label></p>
<?php
/****** Math Comment Spam Protection Plugin ******/
if ( function_exists(‘math_comment_spam_protection’) ) {
$mcsp_info = math_comment_spam_protection();
?> <p><input type=”text” name=”mcspvalue” id=”mcspvalue” value=”” size=”22″ tabindex=”4″ />
<label for=”mcspvalue”><small>Spam protection: Sum of <?php echo $mcsp_info[‘operand1’] . ‘ + ‘ . $mcsp_info[‘operand2’] . ‘ ?’ ?></small></label>
<input type=”hidden” name=”mcspinfo” value=”<?php echo $mcsp_info[‘result’]; ?>” />
</p>
<?php } // if function_exists… ?>
<?php endif; ?><p><textarea name=”comment” id=”comment” cols=”5″ rows=”10″ tabindex=”4″></textarea></p>
<p><input name=”submitcom” type=”submit” id=”submitcom” tabindex=”5″ value=”Submit Comment” />
<input type=”hidden” name=”comment_post_ID” value=”<?php echo $id; ?>” /></p><?php do_action(‘comment_form’, $post->ID); ?>
</form>
<?php endif; // If registration required and not logged in ?>
<?php else : // Comments are closed ?>
<p id=”comments-closed”>Sorry, comments for this entry are closed at this time.</p>
<?php endif; ?></div>Forum: Fixing WordPress
In reply to: Names and Gravtars don’t show up in comments?I have all the settings checked properely but still get no names or avatars….
Forum: Fixing WordPress
In reply to: Comments are screwed up???Btw, I’m usuing WP 2.8 and php 5.
Forum: Themes and Templates
In reply to: How can I remove “featured post” header?It was a problem at the host/server level. Their support people fixed it.
Forum: Plugins
In reply to: Plugin Problem: Comments with Avatars won’t show?It was a problem at the host/server level. Their support people fixed it.
Forum: Fixing WordPress
In reply to: My Tags are no showing?It was not fixed. But I went in again and was able to add usuing the “quick edit” feature.
Forum: Themes and Templates
In reply to: How can I remove “featured post” header?Its name is Bald P.
Forum: Themes and Templates
In reply to: How can I remove “featured post” header?I posted it twice. Sorry. It was my first time…
Forum: Themes and Templates
In reply to: How can I remove “featured post” header?Did that do it?
Forum: Themes and Templates
In reply to: How can I remove “featured post” header?It didn’t work…
Thansk again.
Forum: Themes and Templates
In reply to: How can I remove “featured post” header?The version is 2.7.
Thanks for all your help!!!
Forum: Themes and Templates
In reply to: How can I remove “featured post” header?Do you have any idea how to fix this error below??? I installed and activated the Gravatar plugin (I’ve tried a few actually), but still get the error on pages where people comment using a gravatar:
<img src=”
Fatal error: Call to undefined function gravatar() in /homepages/2/d142238593/htdocs/baldpunk/wp-content/themes/Slurpie/comments.php on line 54