All Good Things Must Come To An End

As you all know, I have been doing WordPress plugins and supporting it for the past 6 years. These 6 years of my life, I have been through my polytechnic education, my national service as well as my university education.

I just graduated from university in December 2009 and have been looking for full-time jobs. I am offered a full-time job and will be starting work on 1st February 2010.

I regret to say that I am NOT ABLE to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

However, I WILL still update my plugins whenever I can and you still can report bugs to me via email and I will try to fix it.

Author Topic: paging is not working  (Read 10114 times)

0 Members and 1 Guest are viewing this topic.

Offline sinetif

  • Newbie
  • *
  • Posts: 3
    • View Profile
paging is not working
« on: 20 April 2009, 18:12 »
I set up which you coded addition without problem and i activated it. I have comments in the topics. I set comments default number 10 There are about 50 comments in one topic But paging is not working. You see which i give you the link is shows that " Page 1 to 0 " =  As you can see in the comment link below is shows that "Page 1 to 0" What do you think about the problem? If you can help me,  i will be happy

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #1 on: 21 April 2009, 03:45 »
Try it on the default theme, does the default comment navigation by wordpress appears or works?>

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline sinetif

  • Newbie
  • *
  • Posts: 3
    • View Profile

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #3 on: 21 April 2009, 04:42 »
do yo understand me? I asked you to try on the default theme and see if the default comment page navigation is working.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline sinetif

  • Newbie
  • *
  • Posts: 3
    • View Profile
Re: paging is not working
« Reply #4 on: 21 April 2009, 18:16 »
Hm. So I've used this theme of how the work of maked?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #5 on: 22 April 2009, 04:59 »
I ask you to try on the default theme and the default WordPress comment pagenavi to see IF IT WORKS in the first place. If not, there is something wrong with your theme and you have to change a new theme or correct it. Because I have no problem using it myself on the default theme.

Also, I think you place the code wrongly. You are suppose to place the code AFTER the comment loop. PLEASE read the readme.html and look at the tabs on top.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline SimplyTragic

  • Newbie
  • *
  • Posts: 1
    • View Profile
Re: paging is not working
« Reply #6 on: 18 July 2009, 07:15 »
I am having the same problem. I tried your plugin  for the default theme and it workd perfectly, but when I use it in my theme, it doesn't. I think I"m missing something... I hope you can help.. Seems to only work with the wp list comments tag...

here is the link to my site http://paintedmemories.pixelfx.org/2009/07/lemon-lime/#comments

comments.php code
Code: [Select]
<?php if ( post_password_required() ) : ?>
<p><?php _e('Enter your password to view comments.'); ?></p>
<?php return; endif; ?>
<p></p>
<h3 id="comments"><?php comments_number(__('No Comments'), __('1 Comment'), __('% Comments')); ?> <?php if ( comments_open() ) : ?>

On
<u><?php the_title(); ?></u> <?php endif; ?> </h3>
 
<p></p>
<?php if ( $comments ) : ?>
<?php foreach ($comments as $comment) : ?>
<div class="comment">
<id="comment-<?php comment_ID() ?>">
<div style="float: left; padding: 5px;">
<?php echo get_avatar$comment50'http://i65.photobucket.com/albums/h220/doubtfan82/pmicon.png'); ?> </div><!--END AVATAR-->
<div class="commenter_info">
<img src="/wp/wp-content/themes/lemon_lime_gwen/Images/right.gif" alt="" /> <?php comment_author_link() ?> <?php _e('said'); ?> on:
<br /><?php comment_date() ?><?php comment_time() ?>
</div><!--END COMMENTER INFO-->
<?php comment_text() ?>
</div><!--END COMMENT-->
<br />
<?php endforeach; ?>
<?php if(function_exists('wp_commentnavi')) { wp_commentnavi(); } ?> 
<?php else : // If there are no comments yet ?>
<?php endif; ?>

<p></p>
<?php if ( comments_open() ) : ?>
<h1 id="postcomment"><?php _e('Leave a comment'); ?></h1>
<div class="sidebox">
<?php if ( get_option('comment_registration') && !$user_ID ) : ?>

<?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 wp_logout_url(get_permalink()); ?>
" 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="35" 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="35" tabindex="2" />
<label for="email"><small><?php _e('Mail (will not be published)');?> <?php if ($req_e('(required)'); ?></small></label></p>

<p><input type="text" name="url" id="url" value="<?php echo $comment_author_url?>" size="35" tabindex="3" />
<label for="url"><small><?php _e('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="35" 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; ?>

<?php if ( function_exists(cs_print_smilies) ) {cs_print_smilies();} ?>

<p><textarea name="comment" id="comment" cols="75%" 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>
<p></p>
<?php live_preview() ?>
</div><!-- END SIDEBOX-->
<?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 endif; ?>
« Last Edit: 18 July 2009, 16:23 by SimplyTragic »

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #7 on: 19 July 2009, 13:29 »
It will only work with wp_list_comment. http://codex.wordpress.org/Template_Tags/wp_list_comments

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline puttee

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: paging is not working
« Reply #8 on: 16 September 2009, 18:04 »
Hi,
I have also a problem to get pageing working correctly on single pages.
Paging is working for comments in posts. For expample here: http://www.miranda-fusion.de/2009/06/19/miranda-fusion-2-0-3-final-release/

But it is NOT working for comments on static pages like this for example: http://www.miranda-fusion.de/download/
When you click there on a pageing link, you get an error: "Invalid File ID or File Name."
The comments.php template includes the <?php wp_list_comments('callback=custom_comment'); ?> function.

Is there an explanation for that? Hopefully you can help me

thx in advanced
puttee

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #9 on: 16 September 2009, 18:26 »
Does the default comment navigation works?
Code: [Select]
<div class="navigation">
<div class="alignleft"><?php previous_comments_link() ?></div>
<div class="alignright"><?php next_comments_link() ?></div>
</div>

Does the plugin work on the default theme?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline puttee

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: paging is not working
« Reply #10 on: 16 September 2009, 18:29 »
mh, no  ???
same error message o.O
Is it a WP issue?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #11 on: 16 September 2009, 18:33 »
No idea, maybe it is a theme issue or a plguin conflict.

I tested it on my localhost and it works fine for me.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline puttee

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: paging is not working
« Reply #12 on: 16 September 2009, 19:11 »
strange, strange...
I have deactivated all plugins instead of wp_commentsnavi. Tried differents of themes (supporting wp_comment_list). Now on clicking one a paging link, I'm getting refered to the main page (index). But the link in the browser, despite is the link for pageing e.g. http://localhost/download/comment-page-7/#comments   :'(

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #13 on: 17 September 2009, 01:27 »
does it work on the default theme?

What if you reinstall WP with just wp-downloadmanager on another location see if you can reproduce the problem

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline puttee

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: paging is not working
« Reply #14 on: 17 September 2009, 16:50 »
wp-downloadmanager?
Yes tried it also with the wp default theme, same. I also tried it on different locations on localhost.
<?php previous_comments_link() ?> also doesnt work. So it think there is something wrong, in/on whatever :-/

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #15 on: 17 September 2009, 17:11 »
On normal pages without downloadmanager does it work?

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline puttee

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: paging is not working
« Reply #16 on: 17 September 2009, 17:27 »
You think it has something to do with downloadmanager? (have tried it without an with)
The paging is correctly working for comments on posts (blog) "sites", but not on single pages. (WP-CommentNavi)
And also WP-PageNavi do its job great.


Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #17 on: 17 September 2009, 17:32 »
nope I doubt so because it works on my localhost with WP-DownloadManager as well. I was referring to other single pages besides the download page, does the paging works? You may want to post it on WP support forums.

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.

Offline puttee

  • Newbie
  • *
  • Posts: 7
    • View Profile
Re: paging is not working
« Reply #18 on: 18 September 2009, 20:02 »
mkay, I tried it now on my online site. I deactivate the wp-downloadmanger. Now, the wp-commentnavi doesnt show the error of "Invalid ID or files.." BUT... after cklicking on one of these paging 1 | 2 | 3 | Links, I get linked to the main (index) page of my site. So it looks so it has something to to with downloadmanager. Any ideas to solve this problem?

EDIT: I have tried another static "page" where user can leave a comment. But on this site no downloads were offered. And the paging is working there without any problems. So it looks like it has something to to with the id="..." on downloadpages, I guess... o.O

Another thing, what happens during my tests. After deactivating the wp-downloadmanager, and reactiviating, ALL files get the status "hidden", so no download was seen on my page. Is this supposed to be?

Offline GaMerZ

  • lesterchan.net
  • Administrator
  • *****
  • Posts: 11,692
    • View Profile
  • WordPress Version: WordPress 3.0.x
  • Theme Name: lesterchan.net v3.4
Re: paging is not working
« Reply #19 on: 19 September 2009, 04:16 »
1. If you deactivated WP-DownloadManager, WP will not include it, so I have no idea why it will cause the paging to break for you.
2. I can paginate my downloads page on my localhost with the default theme, so I don;t think there is anything wrong with the plugin
3. Another thing is a bug, you can solve it here -> http://forums.lesterchan.net/index.php/topic,3954.0.html

++ lesterchan.net - Lester Chan's Website

I regret to say that I am not able to provide support for my plugins anymore due to my full-time job commitment. I will leave this forum open and let the community help one another.