{"id":306,"date":"2005-04-11T22:49:07","date_gmt":"2005-04-11T22:49:07","guid":{"rendered":"http:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml"},"modified":"2021-05-29T02:46:51","modified_gmt":"2021-05-29T02:46:51","slug":"easycoments_02","status":"publish","type":"post","link":"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml","title":{"rendered":"EasyComments 0.2"},"content":{"rendered":"<p>I&#8217;ve had requests (OK, one request) for the code behind my comment formatting buttons and the live preview, so I decided to put it out there for whoever wants it.  It&#8217;s not a MT plugin, it&#8217;s just JavaScript, so I think it will work for any web page with a comment form.<br \/>\nAs I said <a href=\"http:\/\/www.salguod.net\/weblog\/archive\/000265.shtml\">before<\/a>, I did not write the two JavaScripts themselves, I just hacked them so they&#8217;d work together. and gave it a name, <strong>EasyComments<\/strong>, which is much catchier than the original name I gave it: <em>&#8216;Salguod Quicktags With Preview&#8217;<\/em>.<br \/>\nI make no guarantees that these will work for you.  I know enough about JavaScript to be dangerous &#8211; actually, probably not even that much &#8211; so if you have a question, I&#8217;m likely to not have an answer.  You are on your own and you&#8217;ve been warned.  \ud83d\ude42<br \/>\nWith all the disclaimers out of the way, download EasyComments 0.2 <a href=\"http:\/\/www.salguod.net\/easy-comments\/EasyComents-0.2.zip\">here<\/a>.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>I&#8217;ve had requests (OK, one request) for the code behind my comment formatting buttons and the live preview, so I decided to put it out there for whoever wants it.<a href=\"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml\" class=\"more-link\">Read More <span class=\"screen-reader-text\">EasyComments 0.2<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[5],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v21.8.1 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>EasyComments 0.2 - salguod.net<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"EasyComments 0.2 - salguod.net\" \/>\n<meta property=\"og:description\" content=\"I&#8217;ve had requests (OK, one request) for the code behind my comment formatting buttons and the live preview, so I decided to put it out there for whoever wants it.Read More EasyComments 0.2\" \/>\n<meta property=\"og:url\" content=\"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml\" \/>\n<meta property=\"og:site_name\" content=\"salguod.net\" \/>\n<meta property=\"article:published_time\" content=\"2005-04-11T22:49:07+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2021-05-29T02:46:51+00:00\" \/>\n<meta name=\"author\" content=\"Doug Schaefer\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@salguod\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Doug Schaefer\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml\",\"url\":\"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml\",\"name\":\"EasyComments 0.2 - salguod.net\",\"isPartOf\":{\"@id\":\"https:\/\/salguod.net\/blog\/#website\"},\"datePublished\":\"2005-04-11T22:49:07+00:00\",\"dateModified\":\"2021-05-29T02:46:51+00:00\",\"author\":{\"@id\":\"https:\/\/salguod.net\/blog\/#\/schema\/person\/2237e297e41300051087d8791343043f\"},\"breadcrumb\":{\"@id\":\"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/salguod.net\/blog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"EasyComments 0.2\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/salguod.net\/blog\/#website\",\"url\":\"https:\/\/salguod.net\/blog\/\",\"name\":\"salguod.net\",\"description\":\"Stuff I Think Up\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/salguod.net\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/salguod.net\/blog\/#\/schema\/person\/2237e297e41300051087d8791343043f\",\"name\":\"Doug Schaefer\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/salguod.net\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/d8dde291ac4514740353f4bb9cbd9418?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/d8dde291ac4514740353f4bb9cbd9418?s=96&d=mm&r=g\",\"caption\":\"Doug Schaefer\"},\"sameAs\":[\"http:\/\/salguod.net\",\"https:\/\/twitter.com\/salguod\"],\"url\":\"https:\/\/salguod.net\/blog\/author\/salguod\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"EasyComments 0.2 - salguod.net","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml","og_locale":"en_US","og_type":"article","og_title":"EasyComments 0.2 - salguod.net","og_description":"I&#8217;ve had requests (OK, one request) for the code behind my comment formatting buttons and the live preview, so I decided to put it out there for whoever wants it.Read More EasyComments 0.2","og_url":"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml","og_site_name":"salguod.net","article_published_time":"2005-04-11T22:49:07+00:00","article_modified_time":"2021-05-29T02:46:51+00:00","author":"Doug Schaefer","twitter_card":"summary_large_image","twitter_creator":"@salguod","twitter_misc":{"Written by":"Doug Schaefer","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml","url":"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml","name":"EasyComments 0.2 - salguod.net","isPartOf":{"@id":"https:\/\/salguod.net\/blog\/#website"},"datePublished":"2005-04-11T22:49:07+00:00","dateModified":"2021-05-29T02:46:51+00:00","author":{"@id":"https:\/\/salguod.net\/blog\/#\/schema\/person\/2237e297e41300051087d8791343043f"},"breadcrumb":{"@id":"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/salguod.net\/blog\/2005\/04\/easycoments_02.shtml#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/salguod.net\/blog"},{"@type":"ListItem","position":2,"name":"EasyComments 0.2"}]},{"@type":"WebSite","@id":"https:\/\/salguod.net\/blog\/#website","url":"https:\/\/salguod.net\/blog\/","name":"salguod.net","description":"Stuff I Think Up","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/salguod.net\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/salguod.net\/blog\/#\/schema\/person\/2237e297e41300051087d8791343043f","name":"Doug Schaefer","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/salguod.net\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/d8dde291ac4514740353f4bb9cbd9418?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/d8dde291ac4514740353f4bb9cbd9418?s=96&d=mm&r=g","caption":"Doug Schaefer"},"sameAs":["http:\/\/salguod.net","https:\/\/twitter.com\/salguod"],"url":"https:\/\/salguod.net\/blog\/author\/salguod"}]}},"jetpack_sharing_enabled":true,"jetpack_featured_media_url":"","jetpack-related-posts":[{"id":446,"url":"https:\/\/salguod.net\/blog\/2006\/02\/easy_comments_a.shtml","url_meta":{"origin":306,"position":0},"title":"Easy Comments Are Back","author":"Doug Schaefer","date":"February 11, 2006","format":false,"excerpt":"One of the things lost on my recent upgrade to MT 3.2 was EasyComments, the comment formatting buttons and real time preview. Well, I took some time this week and put them back in, with some tweaks.First, I put the real time preview next to the comment entry box so\u2026","rel":"","context":"In &quot;Salguod.net stuff&quot;","block_context":{"text":"Salguod.net stuff","link":"https:\/\/salguod.net\/blog\/salguod-net-stuff"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":882,"url":"https:\/\/salguod.net\/blog\/2008\/11\/removing_ajax_from_mid-century_commenting.shtml","url_meta":{"origin":306,"position":1},"title":"Removing AJAX from Mid-Century Commenting","author":"Doug Schaefer","date":"November 22, 2008","format":false,"excerpt":"Edit 2010-04-20: A year and a half after implementing Mid Century, while playing with Byrne Reese's Mid Century 2.0 I was having these same issues. I let him know and he tells me that the Mid Century AJAX requires the option \"Use Comment Confirmation Page\" to be turned on under\u2026","rel":"","context":"In &quot;Salguod.net stuff&quot;","block_context":{"text":"Salguod.net stuff","link":"https:\/\/salguod.net\/blog\/salguod-net-stuff"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":489,"url":"https:\/\/salguod.net\/blog\/2006\/05\/housecleaning.shtml","url_meta":{"origin":306,"position":2},"title":"Housecleaning","author":"Doug Schaefer","date":"May 6, 2006","format":false,"excerpt":"A couple more housecleaning things. I know how you readers love posts about the inner workings of my blog! First, I updated the link to Cerulean Sanctum. Dan's ditched Blogger for WordPress and got a new address in the process. Update your links, if you've got 'em. Second, I'd like\u2026","rel":"","context":"In &quot;Salguod.net stuff&quot;","block_context":{"text":"Salguod.net stuff","link":"https:\/\/salguod.net\/blog\/salguod-net-stuff"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":293,"url":"https:\/\/salguod.net\/blog\/2005\/03\/salguod_quickta.shtml","url_meta":{"origin":306,"position":3},"title":"Salguod QuickTags with Preview 0.1","author":"Doug Schaefer","date":"March 28, 2005","format":false,"excerpt":"I've implemented an upgrade to my commenting form that I've been working on. It starts with the Quicktags I first saw at Arvid's Movalog site. He tweaked Alex King's JavaScript Quick Tags that I guess are built into Wordpress. I took Alex's files and hacked my way through them until\u2026","rel":"","context":"In &quot;Salguod.net stuff&quot;","block_context":{"text":"Salguod.net stuff","link":"https:\/\/salguod.net\/blog\/salguod-net-stuff"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":340,"url":"https:\/\/salguod.net\/blog\/2005\/06\/time_for_a_site.shtml","url_meta":{"origin":306,"position":4},"title":"Time For a Site Revamp","author":"Doug Schaefer","date":"June 4, 2005","format":false,"excerpt":"I've grown weary of the look here at salguod.net and think it's time for a change. I know enough about CSS to really much things up, but i'm going to have ago at it sometime in the future. I'm also going to try to streamline some of the areas. There's\u2026","rel":"","context":"In &quot;Salguod.net stuff&quot;","block_context":{"text":"Salguod.net stuff","link":"https:\/\/salguod.net\/blog\/salguod-net-stuff"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]},{"id":416,"url":"https:\/\/salguod.net\/blog\/2005\/11\/tada.shtml","url_meta":{"origin":306,"position":5},"title":"Ta-Da!","author":"Doug Schaefer","date":"November 30, 2005","format":false,"excerpt":"Looks different, Eh? MT 3.2 has a nifty little plug in built into it that lets you reset all the templates back to the default. So this is what MT 3.2 looks like out of the box. Not too bad. Of course, you'll also notice that the recent comments are\u2026","rel":"","context":"In &quot;Salguod.net stuff&quot;","block_context":{"text":"Salguod.net stuff","link":"https:\/\/salguod.net\/blog\/salguod-net-stuff"},"img":{"alt_text":"","src":"","width":0,"height":0},"classes":[]}],"_links":{"self":[{"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/posts\/306"}],"collection":[{"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/comments?post=306"}],"version-history":[{"count":1,"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/posts\/306\/revisions"}],"predecessor-version":[{"id":1966,"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/posts\/306\/revisions\/1966"}],"wp:attachment":[{"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/media?parent=306"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/categories?post=306"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/salguod.net\/blog\/wp-json\/wp\/v2\/tags?post=306"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}