• Resolved Sapphire

    (@sapphire)


    I love the Show Unread Comments plugin*, based on Smart Unread Comments. It looks like neither of the authors are updating the plugins. I’ve spent all morning searching WordPress and Google for a replacement, because I think this plugin really helps readers keep track of ongoing discussions. Can’t find anything like it (that isn’t also broken).

    Anyone know of anything similar that’s hiding from me? Or feel like taking a look under the plugin’s hood to figure out what’s broken now?

    *Didn’t link to this one because the developer removed the page. The other one I did link to is very similar – good enough for my needs.

Viewing 15 replies - 1 through 15 (of 16 total)
  • I have the same problem, seems that the new WP version brokes the plugin funcionality…

    Sapphire, if you find something, please put it ok? I’ll to the same, because my users loves that…

    Thread Starter Sapphire

    (@sapphire)

    So far nothing. No plugins do quite what this one did, and I can’t even find a third party bit of code to do something similar. I’ve searched a lot.

    I will let you know if I do find something.

    Thread Starter Sapphire

    (@sapphire)

    Wait – I fixed it. They’ve just changed the name of a function call – change it to match, and the plugin works again. Just go through the plugin, and anywhere you see:

    get_recent_posts

    Change it to:

    wp_get_recent_posts

    There’s more than one version of the plugin, so if that doesn’t apply to yours, let me know and I can post the whole thing in here, or something.

    Thread Starter Sapphire

    (@sapphire)

    Hm, I think I spoke too soon. After that change, it worked – for a while. Now it’s back to saying I’ve read everything even when I haven’t, and all the dots indicating whether a comment is read or not are orange, which indicates I haven’t read any comments at all.

    Anyone willing to fix this, or at least take a look at it? Anybody know how to hire a reliable coder to do the work, one who won’t stick anything funky in the code?

    Any fix for this?

    OK, I figured this out, just replace all occurrences of:

    $GLOBALS[‘tablecomments’]

    with

    $db->comments

    in the plugin file show-unread-comments/show-unread-comments.php

    That did it for me.

    Thread Starter Sapphire

    (@sapphire)

    Hmm. That didn’t work for me. Still getting “There are no unread comments” no matter what. Arsenalist, is your fix still working for you?

    My fix is still working: http://www.raptorsrepublic.com

    I think the way global variables are stored in WP 3.0 are a little different than previous versions (atleast this plugin seems to be accessing them in an incompatible way). So I just made sure that the methods have access to the global variables.

    Thread Starter Sapphire

    (@sapphire)

    Yep, I can see that yours IS working, yet mine still doesn’t. I just reinstalled it fresh and made the code changes on TWO sites, to make sure I wasn’t just making a typo somewhere. No go.

    Must be something to do with server configs, then? That’s all I can think of.

    @arsenalist totally worked for me. Thanks man!
    @Saphhire hmmm…wonder why its not working for you. Did you want a copy of the modified plugin php to try on your site?

    Thread Starter Sapphire

    (@sapphire)

    Sure. I tried it on a site with a different server yesterday – still no good. Disabled all my plugins to see if that was the issue – nada.

    Thread Starter Sapphire

    (@sapphire)

    Could someone please post the code that’s working for them? I still can’t figure this out. It has to be something in my functions.php file conflicting, I guess, but that makes no sense to me, either.

    Hi Sapphire, i have modified Smart Unread Comments plugin recently for wordpress 2.9+ compability in order to use it in one of my multi users blog. You can get the modified code from here if you want to. Cheers!

    Thread Starter Sapphire

    (@sapphire)

    THANK YOU! It’s working perfectly. πŸ™‚

    Glad to hear that! πŸ™‚

Viewing 15 replies - 1 through 15 (of 16 total)
  • The topic ‘[Plugin Show Unread Comments] Not working in 3.0 – alternatives? Workarounds?’ is closed to new replies.