• Alrighty – after much toil with periods and apostrophes, heh heh – I got the recent comments hack working almost the way I had it on MT. You can see how it looks here. It goes:
    (Comment Author linked to their url) on (post title linked to the comment)
    Comment excerpt…
    There’s just one bit I had that I can’t figure out. I used to have, above that whole thing, the day and time the comment was made. So it went:
    Mon 8:30pm

      Fifi
      on

        Cheese Whiz

        Comment excerpt here…
        I see there’s a table for comment date – and I used the php date codes to make my post dates display the way they do – but I don’t know what I need to do to pull that into the plugin.
        Anybody have any ideas? Thanks in advance!
        -Iki

      Viewing 5 replies - 1 through 5 (of 5 total)
      • Thread Starter iki

        (@iki)

        Thanks, Beel. ??
        I’ve got it going with the whole date and time, but I’m a little fuzzy on (strtotime).
        I know in php I want the date to be (D g:ia) but I’m unclear where I’m supposed to put that to make it work. Is (strtotime) something completely different?

        I am using:
        $comment_date = date(‘D n/j g:ia’, strtotime($comment_date));

        Is there a way to limit recents comment to only a certain category… anyone?

        Yes, but if you are asking how, I don’t have time right now (I probably have as much PHP and MySQL knowledge as you – or less) but you can probably modify the function to select from only one category. Give it a whirl and if you can’t figure it out I will give it a whirl when I have a block of free time.

        No rush. Whenever you have a little free time to look at the code, I’d appreciate and help in figuring out how to limit it to one category. I’ve been playing with everything and so far haven’t come up with anything. Thanks in advance.

      Viewing 5 replies - 1 through 5 (of 5 total)
      • The topic ‘More fun with Recent Comments Plugin’ is closed to new replies.