{"id":5807,"date":"2013-03-07T12:49:18","date_gmt":"2013-03-07T20:49:18","guid":{"rendered":"http:\/\/www.sapien.com\/blog\/?p=5807"},"modified":"2013-03-07T12:49:18","modified_gmt":"2013-03-07T20:49:18","slug":"new-improved-support-forum","status":"publish","type":"post","link":"https:\/\/dev.sapien.com\/blog\/2013\/03\/07\/new-improved-support-forum\/","title":{"rendered":"New &#038; Improved Support Forum"},"content":{"rendered":"<p>As you may have noticed, we launched our new Support Forum this past Monday. The phpBB3-based forum offers better search capabilities, an improved editor as well as easier and speedier navigation. The biggest addition, however is the ability to post both PowerShell and VBScript code with appropriate syntax highlighting.<\/p>\n<p>You&#8217;ll notice a menu of buttons just under the subject line when you go to post a new topic or reply to an existing one.<br \/>\n<a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/syntaxmenu.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"syntaxmenu\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/syntaxmenu-300x27.jpg\" width=\"300\" height=\"27\" \/><\/a><\/p>\n<p>Most of the buttons are pretty standard, including the one called &#8216;code&#8217;\u2014this is the default phpBB code button and results in a post that is formatted as follows:<br \/>\n<a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/codesample.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"codesample\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/codesample-300x153.jpg\" width=\"300\" height=\"153\" \/><\/a><\/p>\n<p>The PowerShell and VBScript buttons go a little further, highlighting the syntax in an easily readable manner. The simplest way to use them is to click the relevant button and then paste your code between the bracketed tags. This default method will include line numbers in your code starting at the number one, like so:<br \/>\n<a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/default.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"default\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/default-300x133.jpg\" width=\"300\" height=\"133\" \/><\/a><\/p>\n<p>To set your own starting line number, add &#8220;_ln=[NUMBER]&#8221; to the tags within the brackets. Typing in this (extension highlighted in blue):<br \/>\n<a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/linenumbers1.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"linenumbers1\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/linenumbers1-300x141.jpg\" width=\"300\" height=\"141\" \/><\/a><\/p>\n<p>Results in a post like this (numbers highlighted in blue):<br \/>\n<a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/linenumbers2.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"linenumbers2\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/linenumbers2-300x133.jpg\" width=\"300\" height=\"133\" \/><\/a><\/p>\n<p>To remove the line numbers entirely, simply add &#8220;_nln&#8221; to the tags within the brackets. Typing in this (extension highlighted in blue):<br \/>\n<a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/nonumbers1.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"nonumbers1\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/nonumbers1-300x141.jpg\" width=\"300\" height=\"141\" \/><\/a><\/p>\n<p>Displays this:<br \/>\n<a href=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/nonumbers2.jpg\"><img loading=\"lazy\" decoding=\"async\" alt=\"nonumbers2\" src=\"http:\/\/www.sapien.com\/blog\/wp-content\/uploads\/2013\/03\/nonumbers2-300x133.jpg\" width=\"300\" height=\"133\" \/><\/a><\/p>\n<p>If the entered code extends beyond the forum window, a scrollbar appears for viewing. Double-click anywhere within the code block to select all the code and copy to your clipboard.<\/p>\n<p>That&#8217;s it for the forum upgrade. Happy coding!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>As you may have noticed, we launched our new Support Forum this past Monday. The phpBB3-based forum offers better search capabilities, an improved editor as well as easier and speedier navigation. The biggest addition, however is the ability to post both PowerShell and VBScript code with appropriate syntax highlighting. You&#8217;ll notice a menu of buttons [&hellip;]<\/p>\n","protected":false},"author":15,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_monsterinsights_skip_tracking":false,"_monsterinsights_sitenote_active":false,"_monsterinsights_sitenote_note":"","_monsterinsights_sitenote_category":0,"footnotes":""},"categories":[2],"tags":[],"class_list":["post-5807","post","type-post","status-publish","format-standard","hentry","category-general"],"jetpack_featured_media_url":"","_links":{"self":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/5807","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/users\/15"}],"replies":[{"embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/comments?post=5807"}],"version-history":[{"count":2,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/5807\/revisions"}],"predecessor-version":[{"id":5810,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/posts\/5807\/revisions\/5810"}],"wp:attachment":[{"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/media?parent=5807"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/categories?post=5807"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/dev.sapien.com\/blog\/wp-json\/wp\/v2\/tags?post=5807"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}