{"id":151,"date":"2003-08-09T09:24:44","date_gmt":"2003-08-09T09:24:44","guid":{"rendered":"http:\/\/www.redeaglespirit.com\/blog\/?p=151"},"modified":"2003-08-09T09:24:44","modified_gmt":"2003-08-09T09:24:44","slug":"otherblog_comments","status":"publish","type":"post","link":"https:\/\/www.redeaglespirit.com\/blog\/otherblog_comments\/","title":{"rendered":"Otherblog Comments"},"content":{"rendered":"<p>So I was searching high and low for a script or plugin that would let me pull in comments from another blog on the same MT installation, but it seemed every one I tried gave me a lovely 500 error before I got a chance to test it out, or required me to have a MySql database, and I&#8217;m happy running Berkley DB.<br \/>\nI did find a plugin that would let me pull in posts from another blog (called <a href=\"http:\/\/mt-plugins.org\/archives\/entry\/otherblog.php\">Otherblog<\/a>) that worked with my configuration, so I sat and figured out how to modify it to work with comments instead of posts.<br \/>\nMuch to my surprise, it worked! So, I thought what better way to get this blog restarted with a bang.<br \/>\nYou will need the <a href=\"http:\/\/www.rayners.org\/2003\/01\/06\/mtotherblog_v_025.php\">Otherblog plugin<\/a>, installed in your plugins folder (you might have to create this) where MT is installed, then place this code in your template where you want it to show up:<\/p>\n<blockquote><p>\n&lt;MTOtherBlog blog_id=&#8221;<b>1<\/b>,<b>6<\/b>&#8220;&gt;<br \/>\n&lt;h2&gt;&lt;$MTBlogName$&gt;&lt;\/h2&gt;<br \/>\n&lt;MTComments lastn=&#8221;<b>2<\/b>&#8220;&gt;<br \/>\n&lt;$MTCommentAuthor$&gt; said:&lt;br \/&gt;<br \/>\n&lt;$MTCommentBody trim_to=&#8221;<b>75<\/b>&#8220;$&gt;&lt;br \/&gt;<br \/>\n&lt;\/MTComments&gt;<br \/>\n&lt;\/MTOtherBlog&gt;\n<\/p><\/blockquote>\n<p>The bolded numbers can be changed, obviously the blog_id would be changed to the id of your blog you want to pull the comments off of, and you can do this with more than one.<br \/>\nThe lastn&#61;&#8221;&#8221; can be set to however many comments you want to show.<br \/>\nThe trim_to can be set to however many characters you want to pull in, or can be removed to show the entire comment.<br \/>\nIts very basic, but it works! Play around with it and see what you can get it to do.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>So I was searching high and low for a script or plugin that would let me pull in comments from another blog on the same [&hellip;]<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"closed","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[9],"tags":[],"class_list":["post-151","post","type-post","status-publish","format-standard","hentry","category-old-us-here-posts"],"_links":{"self":[{"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/posts\/151","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/comments?post=151"}],"version-history":[{"count":0,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/posts\/151\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/media?parent=151"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/categories?post=151"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.redeaglespirit.com\/blog\/wp-json\/wp\/v2\/tags?post=151"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}