{"id":32393,"date":"2014-10-20T07:46:50","date_gmt":"2014-10-20T07:46:50","guid":{"rendered":"https:\/\/wordpress.org\/plugins-wp\/disqus-latest-comments\/"},"modified":"2019-04-28T07:59:32","modified_gmt":"2019-04-28T07:59:32","slug":"disqus-latest-comments","status":"publish","type":"plugin","link":"https:\/\/szl.wordpress.org\/plugins\/disqus-latest-comments\/","author":13870353,"comment_status":"closed","ping_status":"closed","template":"","meta":{"_crdt_document":"","version":"2.3.1","stable_tag":"trunk","tested":"5.2.24","requires":"5.1","requires_php":"5.6","requires_plugins":"","header_name":"Disqus Latest Comments Addon","header_author":"Adrian Gordon","header_description":"","assets_banners_color":"","last_updated":"2019-04-28 07:59:32","external_support_url":"","external_repository_url":"","donate_link":"https:\/\/www.itsupportguides.com\/donate\/","header_plugin_uri":"","header_author_uri":"http:\/\/www.itsupportguides.com","rating":4,"author_block_rating":0,"active_installs":100,"downloads":20762,"num_ratings":6,"support_threads":0,"support_threads_resolved":0,"author_block_count":0,"sections":["description","installation","faq","changelog"],"tags":[],"upgrade_notice":[],"ratings":{"1":1,"2":0,"3":1,"4":0,"5":4},"assets_icons":{"icon-128x128.png":{"filename":"icon-128x128.png","revision":"2043027","resolution":"128x128","location":"assets"}},"assets_banners":[],"assets_blueprints":{},"all_blocks":[],"tagged_versions":["1.2","1.3","1.3.1","1.4","1.5","1.6","1.7.0","1.9.0","2.0.0","2.0.0-beta1","2.0.1","2.0.2","2.1.0","2.2.0","2.3.0"],"block_files":[],"assets_screenshots":{"screenshot-1.png":{"filename":"screenshot-1.png","revision":"1089630","resolution":"1","location":"assets"},"screenshot-2.png":{"filename":"screenshot-2.png","revision":"1089630","resolution":"2","location":"assets"}},"screenshots":{"1":"This screenshot shows the comments that are displayed on the front end with the 'Grey' style applied.","2":"This screenshot shows the options for configuring the plugin."},"jetpack_post_was_ever_published":false},"plugin_section":[],"plugin_tags":[107,1699,4977,2281,80],"plugin_category":[43,44],"plugin_contributors":[83429],"plugin_business_model":[],"class_list":["post-32393","plugin","type-plugin","status-publish","hentry","plugin_tags-comments","plugin_tags-disqus","plugin_tags-latest","plugin_tags-recent","plugin_tags-shortcode","plugin_category-customization","plugin_category-discussion-and-community","plugin_contributors-ovann86","plugin_committers-ovann86"],"banners":[],"icons":{"svg":false,"icon":"https:\/\/ps.w.org\/disqus-latest-comments\/assets\/icon-128x128.png?rev=2043027","icon_2x":false,"generated":false},"screenshots":[{"src":"https:\/\/ps.w.org\/disqus-latest-comments\/assets\/screenshot-1.png?rev=1089630","caption":"This screenshot shows the comments that are displayed on the front end with the 'Grey' style applied."},{"src":"https:\/\/ps.w.org\/disqus-latest-comments\/assets\/screenshot-2.png?rev=1089630","caption":"This screenshot shows the options for configuring the plugin."}],"raw_content":"<!--section=description-->\n<p>Display your latest Disqus comments in a page, post or widget.<\/p>\n\n<p><strong>How do I use it?<\/strong><\/p>\n\n<p>Step 1: register for an API key<\/p>\n\n<p>To use this plugin you need to register for an API key.<\/p>\n\n<ol>\n<li>Go to the <a href=\"https:\/\/disqus.com\/api\/applications\/\">Disqus applications website<\/a> and log in<\/li>\n<li>Click on the 'registering an application' link<\/li>\n<li>Enter the required information - label, description and website<\/li>\n<li>Click the 'Register my application' button<\/li>\n<li>Click on the 'Details' link at the top of the page<\/li>\n<li>Scroll down to the 'API Key' field and copy the value into the setting above<\/li>\n<\/ol>\n\n<p>Step 2: install and setup the plugin<\/p>\n\n<ol>\n<li>Install and activate the plugin<\/li>\n<li>Browse to the 'Settings' -&gt; 'Disqus Latest Comments' menu<\/li>\n<li>Add in your Disqus shortname and API key<\/li>\n<li>Include the [disqus-latest] shortcode in the page, post or widget where you want the latest comments displayed<\/li>\n<\/ol>\n\n<p><strong>What options are there?<\/strong><\/p>\n\n<ul>\n<li>Number of comments listed<\/li>\n<li>Show or hide avatar images<\/li>\n<li>Show or hide moderator comments<\/li>\n<li>Size of avatar images<\/li>\n<li>Use relative (1 day ago) or absolute (1\/1\/2000) time<\/li>\n<li>Comment length to show<\/li>\n<li>A choice of three pre-configured styles - grey, blue and green or the ability to use your own custom CSS<\/li>\n<li>Ability to bypass caching (for debugging)<\/li>\n<li>Ability to bypass page level caching - lets you display new comments when using a caching plugin<\/li>\n<li>Ability to make linked Disqus usernames open in a new window (target='_blank')<\/li>\n<\/ul>\n\n<p>You can see a working example of the plugin at <a href=\"http:\/\/www.itsupportguides.com\/latest-comments\/\" title=\"www.itsupportguides.com latest comments\">www.itsupportguides.com<\/a>.<\/p>\n\n<!--section=installation-->\n<p>Step 1: register for an API key<\/p>\n\n<p>To use this plugin you need to register for an API key.<\/p>\n\n<ol>\n<li>Go to the <a href=\"http:\/\/disqus.com\/api\/applications\/\">Disqus applications website<\/a> and log in<\/li>\n<li>Click on the 'registering an application' link<\/li>\n<li>Enter the required information - label, description and website<\/li>\n<li>Click the 'Register my application' button<\/li>\n<li>Click on the 'Details' link at the top of the page<\/li>\n<li>Scroll down to the 'API Key' field and copy the value into the setting above<\/li>\n<\/ol>\n\n<p>Step 2: install and setup the plugin<\/p>\n\n<ol>\n<li>Install and activate the plugin<\/li>\n<li>Browse to the 'Settings' -&gt; 'Disqus Latest Comments' menu<\/li>\n<li>Add in your Disqus shortname and API key<\/li>\n<li>Include the [disqus-latest] shortcode in the page, post or widget where you want the latest comments displayed<\/li>\n<\/ol>\n\n<!--section=faq-->\n<dl>\n<dt>How does this work?<\/dt>\n<dd><p>This plugin uses the Disqus API to get the latest comments for the given Disqus account.<\/p><\/dd>\n<dt>Example custom CSS style<\/dt>\n<dd><p>The below can be used as a template when creating your own custom style. This can be pasted into the 'Custom CSS' option when the custom style is selected.<\/p>\n\n<pre><code>\/* the entire list *\/\n\n.dsq-widget-list {\ndisplay: block;\n}\n\n\/* each comment item *\/\n\n.dsq-widget-item {\nposition: relative;\n}\n\n\/* hover over style for each comment item *\/\n\n.dsq-widget-item:hover {\nbackground: #f6f6f6;\n}\n\n\/* the avatar image in each comment item *\/\n\n.dsq-widget-avatar {\ndisplay:block;\n}\n\n\/* the Disqus user name *\/\n\n.dsq-widget-user {\ndisplay:block;\n}\n\n\/* the comment *\/\n\n.dsq-widget-comment {\ndisplay: block;\n}\n\n\/* paragraph that contains the link to the post and day *\/\n\n.dsq-widget-meta {\ndisplay:block;\n}\n\n\/* make the post title bold *\/\n\n.dsq-widget-meta a:nth-child(1) {\nfont-weight:800;\n}\n<\/code><\/pre><\/dd>\n\n<\/dl>\n\n<!--section=changelog-->\n<h4>2.3.1<\/h4>\n\n<ul>\n<li>Maintenance: only enqueue jQuery when 'cache buster' feature is being used<\/li>\n<li>Maintenance: ensure 'cache buster' feature doesnt fire before jQuery is ready<\/li>\n<\/ul>\n\n<h4>2.3.0<\/h4>\n\n<ul>\n<li>Feature: added 'cache buster' feature to circumvent page caching plugins<\/li>\n<\/ul>\n\n<h4>2.2.1<\/h4>\n\n<ul>\n<li>Fix: resolve undefined index notices<\/li>\n<li>Fix: adjust how \"configuration required\" admin prompt appears so it doesnt show when you're on the config page<\/li>\n<\/ul>\n\n<h4>2.2.0<\/h4>\n\n<ul>\n<li>Feature: add 'itsg_dlc_skip_thread' filter to allow custom rules for excluding threads from being displayed.<\/li>\n<\/ul>\n\n<h4>2.1.0<\/h4>\n\n<ul>\n<li>Feature: add shortcode parameters - 'forum_name' and 'api_key'. Allows for different forums to be displayed on the same site.<\/li>\n<\/ul>\n\n<h4>2.0.2<\/h4>\n\n<ul>\n<li>Fix: resolve issue with comments repeating where no author profile picture.<\/li>\n<\/ul>\n\n<h4>2.0.1<\/h4>\n\n<ul>\n<li>Security: fix XSS vulnerability by encoding messages.<\/li>\n<\/ul>\n\n<h4>2.0.0<\/h4>\n\n<ul>\n<li>Feature: Major update to use Disqus application API (previously used JavaScript API)<\/li>\n<li>Maintenance: Complete rewrite of code base<\/li>\n<\/ul>\n\n<h4>1.9.0<\/h4>\n\n<ul>\n<li>Feature: add minified JavaScript and CSS<\/li>\n<\/ul>\n\n<h4>1.8.0<\/h4>\n\n<ul>\n<li>Feature: add option to hide moderator comments. See settings page (wp-admin -&gt; Comments -&gt; Disqus Latest Comments page \u2013 \u201cHide moderator comments\u201d)<\/li>\n<\/ul>\n\n<h4>1.7.0<\/h4>\n\n<ul>\n<li>Maintenance: update instructions on how to find Disqus shortname on Disqus website<\/li>\n<li>Maintenance: improve internationalisation (i18n) for translating plugin to other languages<\/li>\n<li>Maintenance: move JavaScript to external file<\/li>\n<li>Maintenance: move CSS to external files<\/li>\n<li>Maintenance: add plugin 'Settings' link in WordPress administration plugins page<\/li>\n<li>Maintenance: improve input and output sanitisation<\/li>\n<\/ul>\n\n<h4>1.6<\/h4>\n\n<ul>\n<li>Feature: Improve support for HTTPS websites.<\/li>\n<\/ul>\n\n<h4>1.5<\/h4>\n\n<ul>\n<li>Feature: Add 'Custom' option for styles. Allows you to enter your own CSS styles from the configuration screen.<\/li>\n<li>Maintenance: Moved CSS load in page footer using wp_footer action.<\/li>\n<li>Maintenance: General formatting of plugin code to make it more readable.<\/li>\n<\/ul>\n\n<h4>1.4.1<\/h4>\n\n<ul>\n<li>Fix: Resolve issue introduced in version 1.4.1.<\/li>\n<\/ul>\n\n<h4>1.4<\/h4>\n\n<ul>\n<li>Feature: Added ability to make linked Disqus usernames open in a new window (target='_blank'). Enabled from options by ticking 'Open Disqus usernames in new window'.<\/li>\n<\/ul>\n\n<h4>1.3<\/h4>\n\n<ul>\n<li>Feature: Added translation options to translate Disqus time terms (for example 'days ago').<\/li>\n<\/ul>\n\n<h4>1.2<\/h4>\n\n<ul>\n<li>Fix: Resolved issue with using shortcode in widget areas - where comments would appear before the widget title.<\/li>\n<li>Maintenance: Tidy plugin code.<\/li>\n<\/ul>\n\n<h4>1.1<\/h4>\n\n<ul>\n<li>Feature: Added 'Bypass Cache' option in case website caches Disqus API requests.<\/li>\n<li>Fix: Resolved issue with Avatar Size and Excerpt Length not working.<\/li>\n<li>Fix: Changed Avatar Size to use only the three supported Disqus avatar sizes - 35px, 34px and 92px.<\/li>\n<\/ul>\n\n<h4>1.0<\/h4>\n\n<ul>\n<li>First public release.<\/li>\n<\/ul>","raw_excerpt":"Display latest Disqus comments in a page, post or widget","jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin\/32393","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin"}],"about":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/types\/plugin"}],"replies":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/comments?post=32393"}],"author":[{"embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wporg\/v1\/users\/ovann86"}],"wp:attachment":[{"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/media?parent=32393"}],"wp:term":[{"taxonomy":"plugin_section","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_section?post=32393"},{"taxonomy":"plugin_tags","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_tags?post=32393"},{"taxonomy":"plugin_category","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_category?post=32393"},{"taxonomy":"plugin_contributors","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_contributors?post=32393"},{"taxonomy":"plugin_business_model","embeddable":true,"href":"https:\/\/szl.wordpress.org\/plugins\/wp-json\/wp\/v2\/plugin_business_model?post=32393"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}