DokuWiki

It's better when it's simple

User Tools

Site Tools


plugin:disqus

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
plugin:disqus [2016-01-24 13:46] – version upped andiplugin:disqus [2023-10-30 23:47] (current) Klap-in
Line 6: Line 6:
 email      : andi@splitbrain.org email      : andi@splitbrain.org
 type       : syntax type       : syntax
-lastupdate : 2015-11-03 +lastupdate : 2016-08-09 
-compatible : 2009-12-252010-11-07, Rincewind, Adora Belle, Weatherwax, Binky+compatible : LemmingAnteater, Rincewind, Angua, Adora Belle, Weatherwax, Binky, Ponder Stibbons, Hrun, Detritus, Elenor of Tsort, Frusterick Manners, Greebo
 depends    :  depends    : 
 conflicts  conflicts 
 similar    : discussion similar    : discussion
-tags       : discussion, embed+tags       : disqus, discussion, embed
  
 downloadurl: https://github.com/splitbrain/dokuwiki-plugin-disqus/zipball/master downloadurl: https://github.com/splitbrain/dokuwiki-plugin-disqus/zipball/master
Line 19: Line 19:
 ---- ----
  
-This plugin integrates a threaded comment system provided by the online service [[http://disqus.com/|Disqus]]. JavaScript is required to see the comments inline, when no JavaScript is available a link to the Disqus page is provided.+This plugin integrates a threaded comment system provided by the online service [[https://disqus.com/|Disqus]]. JavaScript is required to see the comments inline, when no JavaScript is available a link to the Disqus page is provided.
  
 ===== Download and Installation ===== ===== Download and Installation =====
  
-Download and install the plugin using the [[plugin:plugin|Plugin Manager]] using the download link given above. Refer to [[:Plugins]] on how to install plugins manually.+Search and install the plugin using the [[plugin:extension|Extension Manager]]. Refer to [[:Plugins]] on how to install plugins manually.
  
 ==== Changes ==== ==== Changes ====
Line 31: Line 31:
 ===== Configuration ===== ===== Configuration =====
  
-The plugin can be configured through the [[config|Config Manager]]. You need to register a short name at [[http://disqus.com/add/|Disqus]] and set it in the ''shortname'' option. For local testing enable the ''devel'' option.+The plugin can be configured through the [[config|Config Manager]]. You need to register a short name at [[https://disqus.com/add/|Disqus]] and set it in the ''shortname'' option. For local testing enable the ''devel'' option.
  
 ===== Syntax and Usage ===== ===== Syntax and Usage =====
Line 38: Line 38:
  
   ~~DISQUS~~   ~~DISQUS~~
 +
 +Then, go to the Configuration menu and add your Disqus short name to the configuration.
 +
 +Alternatively, you can add your Disqus short name inline:
 +
 +  ~~DISQUS shortname~~
 +  
 +Voila!
  
 ==== Adding comments to every page ==== ==== Adding comments to every page ====
Line 48: Line 56:
 if($ACT == 'show'){ if($ACT == 'show'){
     $disqus = &plugin_load('syntax','disqus');     $disqus = &plugin_load('syntax','disqus');
-    if($disqus) echo $disqus->_disqus();+    if($disqus) echo $disqus->_disqus($shortname);
 } }
 ?> ?>
 </code> </code>
- 
  
plugin/disqus.1453639604.txt.gz · Last modified: 2016-01-24 13:46 by andi

Except where otherwise noted, content on this wiki is licensed under the following license: CC Attribution-Share Alike 4.0 International
CC Attribution-Share Alike 4.0 International Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki