Forum Replies Created

Viewing 15 replies - 1 through 15 (of 21 total)
  • Thread Starter amypurple

    (@amypurple)

    emartin24 – can you perhaps explain that further in terms of what I need to do specifically? I’m sorry, I’m confused. Thank you.

    Thread Starter amypurple

    (@amypurple)

    Sure.
    https://www.purplepinkandorange.com/blog/?p=6543

    It is calculating the number of pages of comments that would be needed (in this case 6 pages for 148 comments at 25 comments per page), but not actually making them into pages. I think maybe I just have the code in the wrong place possibly?

    Here’s my comments.php code:

    <?php if ( !empty($post->post_password) && $_COOKIE['wp-postpass_' . COOKIEHASH] != $post->post_password) : ?>
    <p><?php _e('Enter your password to view comments.'); ?></p>
    <?php return; endif; ?>
    
    <h3comments id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?>
    <?php if ( comments_open() ) : ?>
    	<a href="#postcomment" title="<?php _e("Leave a comment"); ?>">&raquo;</a>
    <?php endif; ?>
    </h3comments>
    
    <?php if ($comments) : ?>
    <div id="commentwrap">
     <ol class="commentlist">
    
     <?php foreach ($comments as $comment) : ?>
    
      <li class="<?=$oddcomment;?>">
       <img border="0" style="padding:1px; float:left; margin:0px 10px 5px 0px; border:1px solid #ccc;" alt="avatar" src="<?php gravatar("R", 48, get_option('home')."/wp-content/themes/ArtSee/images/avatar.gif"); ?>" />
    
       <a name="comment-<?php comment_ID() ?>"></a><cite><?php comment_author_link() ?></cite> says:<br />
    
       <div class="comment-inside"><!--<small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title="<?php comment_date('l, F jS, Y') ?> at <?php comment_time() ?>"><?php /* $entry_datetime = abs(strtotime($post->post_date)); $comment_datetime = abs(strtotime($comment->comment_date)); echo time_since($entry_datetime, $comment_datetime) */ ?></a> after publication. <?php edit_comment_link('e','',''); ?></small>-->
       <small class="commentmetadata"><a href="#comment-<?php comment_ID() ?>" title=""><?php comment_date('F jS, Y') ?> at <?php comment_time() ?></a> (<?php $commentNumber++; echo $commentNumber; ?>)  <?php edit_comment_link('edit','',''); ?></small>
    
       <?php comment_text() ?>
       </div>
    </li>
    
     <?php endforeach; ?>
    
     </ol>
    
    <div style="clear: both;"></div>
    </div>
    
    <?php else : // If there are no comments yet ?>
    	<p><?php _e('No comments yet.'); ?></p>
    <?php endif; ?>
    
    <p>
    <?php if ( pings_open() ) : ?>
    	<a href="<?php trackback_url() ?>" rel="trackback"><?php _e('TrackBack <abbr title="Universal Resource Locator">URL</abbr>'); ?></a>
    <?php endif; ?>
    </p>
    
    <?php if ( comments_open() ) : ?>
    <h3comments id="postcomment"><?php _e('Leave a comment'); ?></h3comments>
    
    <?php if ( get_option('comment_registration') && !$user_ID ) : ?>
    <p><?php printf(__('You must be <a href="%s">logged in</a> to post a comment.'), get_option('siteurl')."/wp-login.php?redirect_to=".urlencode(get_permalink()));?></p>
    <?php else : ?>
    
    <form action="<?php echo get_option('siteurl'); ?>/wp-comments-post.php" method="post" id="commentform">
    
    <?php if ( $user_ID ) : ?>
    
    <p><?php printf(__('Logged in as %s.'), '<a href="'.get_option('siteurl').'/wp-admin/profile.php">'.$user_identity.'</a>'); ?> <a href="<?php echo get_option('siteurl'); ?>/wp-login.php?action=logout" title="<?php _e('Log out of this account') ?>"><?php _e('Log out &raquo;'); ?></a></p>
    
    <?php else : ?>
    
    <p><input type="text" name="author" id="author" value="<?php echo $comment_author; ?>" size="22" tabindex="1" />
    <label for="author"><small><?php _e('Name'); ?> <?php if ($req) _e('(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><?php _e('Mail');?> <?php if ($req) _e('(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><?php _e('Website'); ?></small></label></p>
    
    <?php endif; ?>
    
    <!--<p><small><strong>XHTML:</strong> <?php printf(__('You can use these tags: %s'), allowed_tags()); ?></small></p>-->
    
    <p><textarea name="comment" id="comment" cols="100%" rows="10" tabindex="4"></textarea></p>
    
    <p><input name="submit" type="submit" id="submit" tabindex="5" value="<?php echo attribute_escape(__('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><?php _e('Sorry, the comment form is closed at this time.'); ?></p>
    
    <?php if(function_exists('wp_paginate_comments')) {
    		wp_paginate_comments();} ?>
    <?php endif; ?>

    Thread Starter amypurple

    (@amypurple)

    I did not think this was a good thing because it seems like some sort of security breach.

    It appears i’m the only user showing up in that table.

    I do have my raw logs archived, but i can’t remember the last time this happened, so i can’t look in that date. I’ll definitely search through when/if it happens again. I hope it just magically stops, haha.

    Thread Starter amypurple

    (@amypurple)

    oh and yes, definitely know the difference between comments and posts. I’ve been using wordpress since 2005, but only ever come on the forums when i just can’t figure it out.

    thanks! ??

    Thread Starter amypurple

    (@amypurple)

    No, they’re actually pending posts and i won’t see them in my drafts section. If i click on posts, sometimes i’ll see the ‘pending’ ones in there on the top. This only started fairly recently (maybe 6 months ago? after one of the newer upgrades), but it goes in spurts where I will get a few and then i won’t get them for a really long time.

    I deselected the XML-RPC and the atom publishing tool since i don’t do any remote publishing. Hopefully that helps!

    Thread Starter amypurple

    (@amypurple)

    I figured it out, it appears my blog settings were missing the www. and that was causing the issues.

    mine stopped working 3 days ago too. I haven’t done any changes except to posts/pages, so I’m not sure what could have caused this.

    Forum: Fixing WordPress
    In reply to: Stats down?
    Thread Starter amypurple

    (@amypurple)

    apparently, a friend told me that my footer had been missing for awhile now (thanks for letting me know!), so that’s unrelated to the stats not showing up all of a sudden. It’s been 3 days now.

    Forum: Fixing WordPress
    In reply to: Stats down?
    Thread Starter amypurple

    (@amypurple)

    ok i also just realized my footer isn’t showing up. I’m pretty sure that stats gets some info from your footer. I wasn’t in any files making changes, so i’m not sure what’s going on. Any help is appreciated. thanks.

    Thread Starter amypurple

    (@amypurple)

    thanks so much for your assistance, mosey. i’ll have to wait a week or so til i can devote more time to sorting this all out. ??

    Thread Starter amypurple

    (@amypurple)

    another question, on that cformsII page, on the sidebar, do you know if there is a plugin that does that ‘previously’ section with the images for recent posts? I love it!

    Thread Starter amypurple

    (@amypurple)

    interestingly enough, i installed cformsII this weekend for another part of my site regarding forms. I guess i’m not advanced enough to understand how to configure it to work for what I need it to do.

    I also came across the TDO this morning, but the demos weren’t working for me to get a feel for it prior to downloading. Thanks for reassuring me that i was on the right path though.

    I’ll see what i can do to figure this out. Thanks.

    Thread Starter amypurple

    (@amypurple)

    i’d also like the option to put them in order by expiration date if possible too.

    Thread Starter amypurple

    (@amypurple)

    i just downgraded back to 2.5 – i’ll hold off on 2.5.1 for now.

Viewing 15 replies - 1 through 15 (of 21 total)