WordPress.org

Ready to get started?Download WordPress

Forums

Diamond MultiSite Widgets
[resolved] My request for the wishlist (8 posts)

  1. Tamara-IT
    Member
    Posted 3 years ago #

    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

  2. Roy
    Member
    Posted 3 years ago #

    That tag IS available! I use {title} in {blog} and the description says (when you edit the widget) "{blog} - The post's blog name".

  3. Tamara-IT
    Member
    Posted 3 years ago #

    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 :)

  4. Roy
    Member
    Posted 3 years ago #

    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.

  5. MAzZY
    Member
    Posted 3 years ago #

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

  6. MAzZY
    Member
    Posted 3 years ago #

    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);

  7. moroland
    Member
    Plugin Author

    Posted 3 years ago #

    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

  8. Tamara-IT
    Member
    Posted 3 years ago #

    THANKS!

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic