Gregs Plugins: Because One Size Does Not Fit All

Plugins for WordPress

Greg Mulhauser

Comments on “Introducing Greg’s Threaded Comment Numbering Plugin for WordPress”, Page 4

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

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”.

104 Responses (31 Discussion Threads) to “Introducing Greg’s Threaded Comment Numbering Plugin for WordPress”

  1. avatar image
    ops
    31

    Thanks Greg

  2. avatar image
    om prakash
    32

    Plugin is super.

  3. 33

    Me again! I have a relatively easy-to-implement suggestion; could you update the main function to take an argument that suppresses the surrounding divs (e.g. change $before and $after to empty strings), or else include a second function that essentially does this? Or even changes the divs to spans? The reason I ask is because in my callback function, I am linking the number to the comment id as a convenient permalink, but it is invalid code to put block elements (like div) inside links. For the moment I’ve edited the plugin file myself, but of course if you update the script I’ll have to remember to implement the change.

    Thanks for taking it into consideration, -GLL

    (and in case I haven’t said it enough – great plugin!)

    • 33.1

      That’s a great idea, Gabriel! I’ll plan to include your idea as an option in the next update. I won’t be able to get to this for several days yet, but it’s on my list.

      All the best,
      Greg

    • 33.2

      can this plugins work on wp 2.8.2 and themes precious.i’m already open the comment.php but can’t find the wp_list_comment

    • 33.3

      @bambang — If you can’t find wp_list_comments, it may be that you need to update to the current version of the theme (4.0) — I had no problem finding it in the comments.php file, and then finding the theme’s own custom callback function, called precious_list_comments, in the file lib/comment-functions.php.

      Beyond that, I’m afraid I don’t offer tutorials on how to adapt individual themes.

      All the best,
      Greg

  4. avatar image
    Bram
    34

    In WP 2.8.3 the settings page doesn’t work and only shows the save changes button.

    • 34.1

      Hi Bram,

      Hmmm, that’s odd — I’m not seeing this behaviour on any of my 2.8.3 installations, and so far we haven’t had any other reports of this from other 2.8.3 users. Can I ask what type of server environment are you in (OS version, PHP version, etc.)? Are you experiencing any problems with other plugins, or with WordPress itself?

      In advance of more details, my best suggestion would be to reinstall the plugin, ensuring you’ve grabbed the latest version straight from the WordPress plugin repository.

      All the best,
      Greg

    • avatar image
      chip
      34.2

      me too. only the tool icon and a ‘save changes’ button.

      Clicking the button shows an error message ‘Error! Options page not found.’

      Have updated to Wp2.8.4, uploaded plugin files directly from WP, still no luck. So bummed.

      Am using “writers blog” theme.

    • 34.3

      Hi Chip and Bram,

      If you have a peek a little farther down the page, at replies 36.1 and 36.2, you’ll see more details this problem — unfortunately, I’m afraid it’s not being caused by the plugin, but by WordPress itself.

      I’ll plan to write up an article about this next week to help other users — not to mention other plugin authors, who are being asked this same question, and it’s nothing to do with their plugins.

      All the best,
      Greg

    • 34.4

      I am having the same problem. I have installed the plug-in and when I go to the settings page -there are no options – just a save button. I have deleted the plugin and upgraded to wordpress 2.8.4 then reinstalled the plugin and still have the same problem. Any idea what could be the issue?

  5. avatar image
    Mark
    35

    I have been playing with this plugin and trying to get it to work with the arclite theme. I tried simply inserting gtcn_comment_numbering($comment->comment_ID, $args) where the theme had ++$commentcount in a printf statement. What I found was that the post number came out before the contents of the printf. I then played about a bit and what I found was that the function appears to generate the number as an output during processing and returns no value. The echo is totally redundant. In the end I had to break up the printf and have an echo with the part I wanted output, perform gtcn_comment_numbering($comment->comment_ID, $args) and then an echo with what I wanted after.

    Otherwise things look good, and as I say I now have it working. I just thought that I should mention this in case anyone else wanted to use the plugin with a theme using formated output.

    • 35.1

      Whoops, sorry about that Mark! The documentation is wrong, and as you say, the echo is redundant. I’ll get that fixed shortly and release an update — many thanks for discovering it and letting me know!

      All the best,
      Greg

  6. 36

    First of all, thank you so much for developing this plugin. It’s exactly what I’ve been looking for. Just one question, I have WP 2.8.3 and installed your plugin & activated it. I went to the settings page but all it shows is the icon with the tools and a “save changes” button, nothing else. Please help me!

    Aloha
    Kailani

    • 36.1

      Hi Kailani,

      Hmmm, the only other time I’ve seen this happen was when WordPress’s own auto-upgrade function failed to upgrade the core WordPress files correctly — and in that case, other plugins were impacted as well.

      If you think WordPress itself may be at fault, I would suggest upgrading again (to 2.8.4 now), perhaps using a direct upload rather than the built-in auto-upgrade facility to ensure that everything is where it should be. (It seems to be the wp-admin and wp-includes directories which really benefit from a plain old upload.)

      My very generic troubleshooting suggestions for the plugin itself would be to first delete the plugin altogether from the WordPress plugin admin page. That will call a special routine that will wipe out all the plugin’s preferences and files. Then reinstall a fresh copy and see how you get on.

      All the best,
      Greg

    • 36.2

      Hi Kailani,

      Some people are also getting hassles from WP 2.8′s higher memory requirements. If you’re affected, you can open up your wp-settings.php file and change WP_MEMORY_LIMIT from 32M to 64M.

      All the best,
      Greg

  7. avatar image
    Sam
    37

    Hi Greg, First Thanks for this plugin!!!

    I want to ask if its possible to display along side with the total comments number, the number of discussions (without children), so at the end the display will look like this: Total Comments 87 in 56 Discussions

    ?

    Thanks,
    Sam

    • avatar image
      Sam
      37.2

      Thanks Doc, You are one stop shop!!!

  8. avatar image
    Limited Edition
    38

    Can I use the same comment style you have on this site?

  9. 39

    Hi Greg!

    I’m wondering how to edit the “Reply” text to say something else. Is this a function? I have not been able to find it in the files.

    • 39.1

      Hi Anne,

      If you check the instructions page of the plugin, there’s a link to a WordPress Codex article there which documents how to use wp_list_comments. If you follow that link, there should be an example of a callback function, and a further link to documentation on the function comment_reply_link.

      All the best,
      Greg

    • 39.2

      Greg, I was able to figure it out—thank you for your help!

  10. avatar image
    George
    40

    I use WP 2.8.3 and activated the plugin but no numbers are shown…

    • 40.1

      Hi George,

      Please be sure to read and follow the instructions.

      All the best,
      Greg

Page 4 of 5«12345»

The comment form is currently closed.