“Greg’s Threaded Comment Numbering Plugin for WordPress” Comments, Page 2

avatar image

You are currently browsing page 2 of comments on the article Greg’s Threaded Comment Numbering Plugin for WordPress.

More on WordPress plugins

Greg’s WordPress plugins available at CounsellingResource.com can help you to:

Would you like to reach the community of bloggers using particular plugins? Check out the Sustainable Plugins Sponsorship Network.

You are currently browsing comments. If you would like to return to the full story, you can read the full entry here: “Greg’s Threaded Comment Numbering: Number Your WordPress 2.7 Comments the Easy Way”.

97 Responses (Including 29 Discussion Threads) to “Greg’s Threaded Comment Numbering Plugin for WordPress”

  1. avatar image
    Kretzschmar
    11

    That was exactly what I was looking for. I already added it to my theme dkret3. Thank you!


    • 11.1

      Excellent — glad to hear it!

      Stay tuned for an update coming very soon which will provide a couple of handy new features…

      All the best,
      Greg


    • avatar image
      Matt
      11.2

      Sweet!


  2. avatar image
    HotForWords
    12

    A question about our own CSS. I wrote out my own css, which you can see here.

    And then I added those lines to my theme CSS and told your plugin that I will provide my own CSS.

    I am confused as the CSS I showed above does not work within my theme CSS.

    You say to provide dvi.commentnumber in the admin area, but how do I add that to the CSS that you provide or that I wrote above?

    Thanks!


    • 12.1

      Hmmm, I’m not positive I understand what you’re asking, Marina… Do you mean that your custom CSS works when you have the plugin load it (having over-written the original sample CSS), but it does not work if you add it to your theme’s existing CSS? If so, one likely cause is that your browser has cached the old version of your theme’s CSS and has not yet loaded the new version (the one to which you have added your code).

      Another possibility is that an error in your existing theme CSS is preventing everything after the error point in your CSS from being parsed — that would mean that anything you add at the end of the file would just be ignored. (The validator at validator.w3.org says your main CSS file contains 10 errors and 325 warnings, but whether any of those would be responsible I don’t know.)

      As I’m sure you know, debugging someone else’s CSS (especially a giant main theme CSS file) is a pretty serious undertaking, which I’m not able to dive into. At least you know for sure that your numbering CSS itself results in very nice looking numbers!

      All the best,
      Greg


  3. avatar image
    Philip S
    13

    Hi Greg,

    I’ve just tried version 1.1 and it works perfectly. It was easy to style (I just styled the plug-in’s CSS) and I am very happy with it.

    No bugs found yet.

    What can I say other than excellent work! I’ll include a link to your plug-in page on my site (when it’s up and running – still stylin’ it :D ).

    Philip


    • 13.1

      That’s great, Philip — I’m very glad to hear it’s working smoothly!

      All the best,
      Greg


    • avatar image
      Philip S
      13.2

      Hi Greg, this a bit off topic, but I trust your plugin know-how.

      What plugin did you use for your comment subscription? Is it one of yours, and how do I add ‘Notify me of followup comments via e-mail’ to my blog?

      I found this feature useful in keeping me up to date with your plugin development, and it’s something I want to have ;)

      Philip


    • 13.3

      Hi Philip,

      Mark Jaquith’s Subscribe to Comments does the trick, even though it’s a bit rough around the edges under 2.7, while a newer plugin called Comment Reply Notification is also available.

      Note that for keeping up on anything other than comments on one single post, though, I think it’s better to encourage people to use your RSS feed or an RSS-to-email feature. Also, one of the risks of using a comment subscription mailer of any kind is that when spam comments get through — and there will always be some — those spams will go right out to all the subscribers.

      All the best,
      Greg


    • avatar image
      Philip S
      13.4

      Thanks for the heads up and warnings! Spam could be a real problem.

      Is there any way to make it a ‘registered user only’ feature?


    • 13.5

      Hi Philip,

      Users already have to register themselves explicitly in order to receive comment notifications — or do you mean registered for the blog? I imagine you could probably modify the plugins to accept subscriptions only if the current user is logged into the blog…

      Good luck!
      Greg


    • avatar image
      Philip S
      13.6

      Thanks Greg, you have been very helpful!

      Many thanks,

      Philip


    • 13.7

      No problem — and good luck to you!

      All the best,
      Greg


  4. avatar image
    Heresy Today
    14

    Greetings…

    I have been using your plugin successfully now, but once the 02/02/09 update hit, I lost all my numbering. All there is now is three dots (…)

    You can see it here: http://www.heresytoday.org/2009/02/02/some-so-called-christians-dislike-my-blogroll/#comments

    Not sure what is what, but it was indeed fine minutes before I updated. :-)

    Thanx..


    • 14.1

      Easy fix: just visit the plugin option page and set your preferred number of levels for hierarchical numbering. Existing users need to do this due to architectural changes that support 10-level numbering.

      All the best,
      Greg


    • avatar image
      Heresy Today
      14.2

      Sorry about not reading the readme, I just flew over to let you know in case it was a bug that might need to be addressed. Well, I tried to be a good bug reporter, but failed. LOL


    • 14.3

      No problem — in fact your question prompted me to push out a new release, just to be sure that other folks didn’t encounter the same problem. Whether it was technically a bug or not, the plugin wasn’t doing what you were expecting, and your message let me know that.

      Thanks!
      Greg


  5. avatar image
    Rudi
    15

    I just want to let you know that on wordpress dasboard there is no info about your plugin update. I knew the update when visited your website.

    I use Wordpress Thread Comment plugin but thread comment number doesn’t appear. Any suggestion? Thanks


    • 15.1

      Hi Rudi,

      Greg’s Threaded Comment Numbering plugin is designed to work with the built-in threading and paging provided by WordPress 2.7, not with any of the older third-party solutions that also provide threading (like WordPress Thread Comment). None of those older third-party solutions are fully compatible with the WordPress 2.7 wp_list_comments() function, which is what my plugin relies on for providing the numbering.

      All the best,
      Greg


  6. avatar image
    Aircraft
    16

    One of my friend forward me this blog link for plugin to my blog, really this is best for comment numbering, i definitely add this plugin to my blog….


  7. avatar image
    Rudi
    17

    Dear Dr Greg..the reason I use Wordpress Thread Comment plugin is that on wordpress default comment there is time lag between clicking reply botton and the comment box to appear and the comment box doesn’t appear on the botton of the comment that want to be replied. I show it doesn’t happen on your blog. How do you that? Thanks Dr Greg for answering my question.


    • 17.1

      Hi Rudi,

      Although this site is carefully optimized and customized (loading the comment reply javascript at the end of the page rather than the beginning, for example), it sounds like you’re encountering more than a minor performance issue with the WordPress 2.7 threading.

      My best guess is that your theme needs to be updated so as to allow the WordPress javascript direct access to the page elements it needs to move the comment reply box where it needs to go. There’s a good article about this on the WordPress Codex:

      Enhanced Comment Display

      If you have a peek at the section headed ‘Javascript Comment Functionality’, you may be able to find the answer.

      All the best,
      Greg


  8. avatar image
    Rosina Lippi
    18

    Hi Greg — The theme I use and really like (Hybrid News) is put together in such a way that I rarely (if ever) have to modify any .php file. However, your plugin would address so many on-going issues that I think I have to make an exception. Here’s the problem: the Hybrid News comments.php file is already modified to the extent I am not sure how to insert the necessary code. Right now the comment listing section of comment.php reads like this:

    'ol',
    'type' => 'all',
    'callback' => 'hybrid_comments_callback',
    'end-callback' => 'hybrid_comments_end_callback'
    )
    ); ?>

    Is this something I should leave alone, or is there a way to get your code in there without causing undue mayhem? Thanks for whatever help you might be able to provide.


    • avatar image
      Rosina Lippi
      18.1

      Ah well, that didn’t work either. Here’s a link to a screen shot of the relevant portion of the comments.php file:

      php


    • 18.2

      No problem, Rosina — we can see from the snippet of code which came through (as well as in the screenshot) that your theme already has a callback function called hybrid_comments_callback. So if you find that callback function within your theme’s files (probably in functions.php), you can insert a call to the comment numbering plugin using the second example given above in this post, under “Safe Wrapping of Plugin-Dependent Function Calls”. What that will do is check to see whether the plugin is active, and if it is, it will call a function within the plugin to display the number. You can insert the code wherever you would like the comment number to appear.

      Good luck!

      All the best,
      Greg


  9. 19

    [...] solution is to use a fantastic little plugin Greg’s Threaded Comment Numbering which solves this and other even deeper [...]


  10. Welcome to Mas3d
    20

    [...] Greg’s Threaded Comment Numbering by Greg Mulhauser. Awesome addon to increase the functionality of referencing comments. Unfortunately I have not coupled this with the power of paginated pages. However, that implementation is currently being analyzed. [...]


Page 2 of 5«12345»

Join the Discussion!

We support Gravatars rated PG or G; if you don't have a Gravatar, we'll display a mathematically created identicon next to your comment.

A valid email address is required to enable you to personally verify and authorize your comment for posting. It will not be displayed in your post or used in any other way. SPAM comments will be deleted, as will those attempting to circumvent the Gravatar rating system or attempting to circumvent our Terms of Use by employing Gravatar images to advertise on this site.

 characters available

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <strike> <strong>

Subscribe without commenting