Support » Plugin: Diamond MultiSite Widgets » [Plugin: Diamond MultiSite Widgets] My request for the wishlist

  • Resolved Tamara-IT

    (@tamara-it)


    Hello, this is a really great plugin!!!
    I have a little request, though.. I think it would be useful if we could put {blog} in the recent comments options. When we have several blogs, I’d like to know which blog the comment belongs to, not the post title only.
    Hope I’ve been clear!
    Tamara

Viewing 7 replies - 1 through 7 (of 7 total)
  • That tag IS available! I use {title} in {blog} and the description says (when you edit the widget) “{blog} – The post’s blog name”.

    Under “Recent comments”
    I try:
    {author}, {date} - {post-title} in {blog}
    And I obtain:
    Tamara, 08-03-2011 – My post title in {blog}

    Also, I don’t have any {blog} options between “Recent comments” choiches, I have:
    {title} – The comment’s content
    {title_txt} – The comment’s content (without link)
    {post-title} – The post’s title
    {post-title_txt} – The post’s title text (without link)
    {date} – The comment’s date
    {author} – The comment’s author
    {avatar} – Author’s avatar

    Anyway, beer is arriving at Daniel’s 🙂

    You’re right, I don’t use blog title in my recent comments widgets, never wanted to I guess, since I had a lot of requests for Daniel when I just started with his plugin. Just use the contact field on his website with your question. He has helped me a lot.

    From me:
    change substr to mb_substr
    It’s very important for other languages

    And change in diamond-recent-comments.php at line 149
    $txt = str_replace('{title}', '<a href="' .get_blog_permalink($comm["blog_id"], $comm["comment_post_id"]).'">'.$c.'</a>' , $txt);
    to

    $txt = str_replace('{title}', '<a href="' .get_blog_permalink($comm["blog_id"], $comm["comment_post_id"]).'#comment-'.$comm["comment_id"].'">'.$c.'</a>' , $txt);

    Plugin Author moroland

    (@moroland)

    Hello MAzZY,
    Thanks for your requests. We have released our new version and applied your requests. You can check the changelog:
    http://wordpress.org/extend/plugins/diamond-multisite-widgets/changelog/

    Regards,
    Roland Molnar
    Co-maintainer

    THANKS!

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘[Plugin: Diamond MultiSite Widgets] My request for the wishlist’ is closed to new replies.