{"id":6888,"date":"2009-10-05T01:58:37","date_gmt":"2009-10-05T01:58:37","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/source-codes-in-comments\/"},"modified":"2009-11-10T16:30:15","modified_gmt":"2009-11-10T16:30:15","slug":"source-codes-in-comments","status":"closed","type":"plugin","link":"https:\/\/ary.wordpress.org\/plugins\/source-codes-in-comments\/","author":2519833,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"1.0.2","stable_tag":"trunk","tested":"2.8.4","requires":"2.5","requires_php":"","requires_plugins":"","header_name":"Source Codes in Comments","header_author":"Zen","header_description":"","assets_banners_color":"","last_updated":"2009-11-10 16:30:15","external_support_url":"","external_repository_url":"","donate_link":"http:\/\/zenverse.net\/support\/","header_plugin_uri":"http:\/\/zenverse.net\/source-codes-in-comments-plugin\/","header_author_uri":"http:\/\/zenverse.net\/","rating":0,"author_block_rating":0,"active_installs":10,"downloads":3179,"num_ratings":0,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":0,"2":0,"3":0,"4":0,"5":0},"assets_icons":[],"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":[],"block_files":[],"assets_screenshots":{"screenshot-1.gif":{"filename":"screenshot-1.gif","revision":"1539244","resolution":"1","location":"plugin"},"screenshot-2.gif":{"filename":"screenshot-2.gif","revision":"1539244","resolution":"2","location":"plugin"}},"screenshots":{"1":"Plugin Option Page","2":"Comment form"},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[2445,131,8747],"plugin_category":[44],"plugin_contributors":[83331],"plugin_business_model":[],"class_list":["post-6888","plugin","type-plugin","status-closed","hentry","plugin_tags-codes","plugin_tags-comment","plugin_tags-source","plugin_category-discussion-and-community","plugin_contributors-zen","plugin_committers-zenverse"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/s.w.org\/plugins\/geopattern-icon\/source-codes-in-comments.svg","icon_2x":false,"generated":true},"screenshots":[{"src":"https:\/\/ps.w.org\/source-codes-in-comments\/trunk\/screenshot-1.gif?rev=1539244","caption":"Plugin Option Page"},{"src":"https:\/\/ps.w.org\/source-codes-in-comments\/trunk\/screenshot-2.gif?rev=1539244","caption":"Comment form"}],"raw_content":"<!--section=description-->\n<p>Allow users to post source codes in comments using [code][\/code] tag. No syntax highlight at the moment, it just replaces the special characters.<\/p>\n\n<p><strong>Features<\/strong><\/p>\n\n<ul>\n<li>Replaces the special characters for the comment texts wrapped in [code][\/code] tags<\/li>\n<li>You can show a message after comment form to tell your visitor know they can post codes using [code][\/code] tags<\/li>\n<\/ul>\n\n<p><a href=\"http:\/\/zenverse.net\/source-codes-in-comments-plugin\/\">Plugin Info Page<\/a> | <a href=\"http:\/\/zenverse.net\/\">Plugin Author<\/a><\/p>\n\n<!--section=installation-->\n<ol>\n<li>Download the plugin package<\/li>\n<li>Extract and upload the \"source-codes-in-comments\" folder to your-wordpress-directory\/wp-content\/plugins\/<\/li>\n<li>Activate the plugin and its ready<\/li>\n<li>Go to Admin Panel &gt; Settings &gt; Codes in Comments and customise it to suit your needs.<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>What is the output? Show me an example.<\/dt>\n<dd><p>If you use <code>[code]This is a &lt;b&gt;bold text&lt;\/b&gt;.[\/code]<\/code>, the output will be <code>&lt;div class=\"cic_codes_div\"&gt;&lt;code &gt;This is a &amp;lt;b&amp;gt;bold text&amp;lt;\/b&amp;gt;&lt;\/code&gt;&lt;\/div&gt;.<\/code><\/p><\/dd>\n<dt>How do I style the source code DIV?<\/dt>\n<dd><p>The DIV that contains the codes has CSS class &quot;<code>cic_codes_div<\/code>&quot;. Style it in CSS.<\/p><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>1.0.2<\/h4>\n\n<ul>\n<li>Added str_replace to the stripslashes so that \"plugin message\" field works with double quotes<\/li>\n<\/ul>\n\n<h4>1.0.1<\/h4>\n\n<ul>\n<li>Added stripslashes to input area<\/li>\n<li>Updated the link to plugin support<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First version of Source Codes in Comments<\/li>\n<\/ul>","raw_excerpt":"Allow users to post source codes in comments using [code][\/code] tag. No syntax highlight at the moment, it just replaces the special characters.","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/6888","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=6888"}],"author":[{"embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/zenverse"}],"wp:attachment":[{"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=6888"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=6888"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=6888"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=6888"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=6888"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/ary.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=6888"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}