{"id":375,"date":"2003-04-25T20:10:33","date_gmt":"2003-04-26T01:10:33","guid":{"rendered":"http:\/\/hill-kleerup.org\/blog\/wp\/?p=375"},"modified":"2003-04-25T20:10:33","modified_gmt":"2003-04-26T01:10:33","slug":"some_sort_of_an","status":"publish","type":"post","link":"https:\/\/hill-kleerup.org\/blog\/2003\/04\/25\/some_sort_of_an.html","title":{"rendered":"Some sort of an echo in here &#8230;"},"content":{"rendered":"<p>By and large, I&#8217;ve eschewed MT hacks.  Not plug-ins, &#8217;cause that&#8217;s cool. But things that require me to go in and modify the MT code, and therefore repeat the mods every time MT gets update?  Not for me, brother.  As an erstwhile coder, I&#8217;ve always abhored doing that sort of thing.<\/p>\n<p>Until I ran across this particular hack, which <a href=\"http:\/\/www.nonplus.net\/software\/mt\/AvoidingDuplicateComments.htm\">prevents duplicate comments<\/a>.  You know &#8212; the ones that get added when someone clicks on Post twice, inadvertently or thinking that the first click didn&#8217;t &#8220;take&#8221;?  (Actually had that happen twice today on a single post.)<\/p>\n<p>(That&#8217;s not altogether true, since one of those dupe comments corrected a typo.)<\/p>\n<p>The hack confirms that the name, mail, URL, and comment text are identical with an existing comment; if so, it aborts the save.<\/p>\n<p>Now <i>that&#8217;s <\/i>useful enough to warrent the bother of updating the source code when I upgrade.  Now if we can just get the Trotts to incorporate that into the real code &#8230;<\/p>\n<p><small>(via <a href=\"http:\/\/www.scriptygoddess.com\/archives\/003726.php\">ScriptyGoddess<\/a>)<\/small><\/p>\n","protected":false},"excerpt":{"rendered":"<p>By and large, I&#8217;ve eschewed MT hacks. Not plug-ins, &#8217;cause that&#8217;s cool. But things that require me to go in and modify the MT code, and therefore repeat the mods&#8230;<\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_seopress_titles_title":"","_seopress_titles_desc":"","_seopress_robots_index":"","_seopress_robots_follow":"","_seopress_robots_imageindex":"","_seopress_robots_snippet":"","_seopress_robots_primary_cat":"","_seopress_robots_breadcrumbs":"","_seopress_robots_freeze_modified_date":"","_seopress_robots_custom_modified_date":"","_seopress_robots_canonical":"","_seopress_social_fb_title":"","_seopress_social_fb_desc":"","_seopress_social_fb_img":"","_seopress_social_fb_img_attachment_id":0,"_seopress_social_fb_img_width":0,"_seopress_social_fb_img_height":0,"_seopress_social_twitter_title":"","_seopress_social_twitter_desc":"","_seopress_social_twitter_img":"","_seopress_social_twitter_img_attachment_id":0,"_seopress_social_twitter_img_width":0,"_seopress_social_twitter_img_height":0,"_seopress_redirections_value":"","_seopress_redirections_enabled":"","_seopress_redirections_enabled_regex":"","_seopress_redirections_logged_status":"","_seopress_redirections_param":"","_seopress_redirections_type":0,"_seopress_analysis_target_kw":"","_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_publicize_message":"","jetpack_publicize_feature_enabled":true,"jetpack_social_post_already_shared":false,"jetpack_social_options":{"image_generator_settings":{"template":"highway","default_image_id":0,"font":"","enabled":false},"version":2}},"categories":[3],"tags":[],"class_list":["post-375","post","type-post","status-publish","format-standard","hentry","category-blogging"],"jetpack_publicize_connections":[],"jetpack_featured_media_url":"","jetpack_sharing_enabled":true,"jetpack-related-posts":[{"id":6222,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/10\/06\/the_return_of_t.html","url_meta":{"origin":375,"position":0},"title":"The Return of the Revenge of the Son of the MT Rich Text Formatting Buttons!","author":"***Dave","date":"Wed 6-Oct-04 6:24pm","format":false,"excerpt":"Okay, so not having a link button or italics buttons or stuff like that in the comments was driving me nuts. Time to re-insert the old code. But ... wait....","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":5853,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/07\/09\/firefox_buttons.html","url_meta":{"origin":375,"position":1},"title":"Firefox, buttons, MT, rich text editing, and me","author":"***Dave","date":"Fri 9-Jul-04 8:46pm","format":false,"excerpt":"Okay, the code all works (including a small button and an Amazon image button) in the bm_entry (Bookmarklet screen) and edit_entry (MT Edit screen). Woo-hoo, and hoody-hoo. Problem is, I...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":4753,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/01\/12\/peekaboo_3.html","url_meta":{"origin":375,"position":2},"title":"Peekaboo","author":"***Dave","date":"Mon 12-Jan-04 12:05pm","format":false,"excerpt":"I've noticed this problem in other folks' blogs, particularly ones that use the default stylesheets or minor variations thereof (my own CSS is so accreted over time, I've never seen...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":7118,"url":"https:\/\/hill-kleerup.org\/blog\/2004\/10\/26\/rubbing_their_n.html","url_meta":{"origin":375,"position":3},"title":"Rubbing their noses in it","author":"***Dave","date":"Tue 26-Oct-04 9:46am","format":false,"excerpt":"Nifty little bit of PHP code here to show your MT-Blacklist stats on the front page of your blog. Probably not going to do it myself, but thought it worth...","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":10146,"url":"https:\/\/hill-kleerup.org\/blog\/2006\/08\/24\/403_errors_and.html","url_meta":{"origin":375,"position":4},"title":"403 errors and anti-spam measures","author":"***Dave","date":"Thu 24-Aug-06 11:45am","format":false,"excerpt":"Posting here for my own reference ... Avo pinged me last night that he was unable to post a comment to my blog, getting a 403 error (Forbidden). Hrm. Weird....","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":3157,"url":"https:\/\/hill-kleerup.org\/blog\/2002\/07\/31\/more_more_more.html","url_meta":{"origin":375,"position":5},"title":"More!  More!  More!","author":"***Dave","date":"Wed 31-Jul-02 12:56pm","format":false,"excerpt":"Props for this cool MT hack to the ladies at Scriptygoddess (for writing\/modifying) and to Doyce (for debugging for this blogging nitwit)....","rel":"","context":"In &quot;Blogging &amp; Internet&quot;","block_context":{"text":"Blogging &amp; Internet","link":"https:\/\/hill-kleerup.org\/blog\/category\/blogging"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/375","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/comments?post=375"}],"version-history":[{"count":0,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/posts\/375\/revisions"}],"wp:attachment":[{"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/media?parent=375"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/categories?post=375"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/hill-kleerup.org\/blog\/wp-json\/wp\/v2\/tags?post=375"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}