This worked! ??
Now the BLOG “knows” who you are and your email based on your login. ??
I added:
<?php
get_currentuserinfo();
$comment_author = $user_nickname;
$comment_author_email = $user_email;
$comment_author_url = $user_url;
?>
and then replaced:
<form action="<?php echo get_settings('siteurl'); ?>/postthis.php" method="post" id="commentform">
<input type="text" name="author" id="author" class="textarea" value="<?php echo $comment_author; ?>" size="28" tabindex="1" <?=$post_disabled?> />
<label for="author"><?php _e("Name"); ?></label> <?php if ($req) _e('(required)'); ?>
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
<input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
<input type="text" name="email" id="email" value="<?php echo $comment_author_email; ?>" size="28" tabindex="2" <?=$post_disabled?>/>
<label for="email"><?php _e("E-mail"); ?></label> <?php if ($req) _e('(required)'); ?>
with this:
<form action="<?php echo get_settings('siteurl'); ?>/postthis.php" method="post" id="commentform">
<input type="hidden" name="author" id="author" value="<?php echo $comment_author; ?>" />
<input type="hidden" name="email" id="email" value="<?php echo $comment_author_email; ?>" />
<input type="hidden" name="comment_post_ID" value="<?php echo $id; ?>" />
<input type="hidden" name="redirect_to" value="<?php echo htmlspecialchars($_SERVER["REQUEST_URI"]); ?>" />
<label for="comment"><?php _e("$user_nickname's Comment"); ?></label>
<textarea name="comment" id="comment" cols="40" rows="4" tabindex="4"></textarea>
</font>
WORKS GREAT!!! ??
My BLOG is <i>almost</> ready for prime time! ??