Version Description
Download this release
Release Info
Developer | Disqus |
Plugin | Disqus Comment System |
Version | 2.03.3166 |
Comparing to | |
See all releases |
Code changes from version 2.02.2969 to 2.03.3166
- comments.php +21 -2
- disqus.php +2 -2
- readme.txt +1 -1
comments.php
CHANGED
@@ -70,7 +70,7 @@
|
|
70 |
<li style="margin-left:<?php echo $comment['depth'] * 30; ?>px" class="disqus_commentset"><em>Comment removed.</em></li>
|
71 |
<?php else : ?>
|
72 |
<div id="comment-<?php echo $comment['id']; ?>"></div>
|
73 |
-
<li id="dsq-comment-<?php echo $comment['id']; ?>" style="margin-left:<?php echo $comment['depth'] * 30; ?>px" class="dsq-comment
|
74 |
<ul class="dsq-comment-rate" id="dsq-rate-loading-<?php echo $comment['id']; ?>" style="display: none"><img src="<?php echo DISQUS_MEDIA_URL; ?>/images/loading-small.gif" /></ul>
|
75 |
<ul class="dsq-comment-rate" id="dsq-rate-<?php echo $comment['id']; ?>">
|
76 |
<li id="dsq-rate-up-<?php echo $comment['id']; ?>"><a id="dsq-rate-up-a-<?php echo $comment['id']; ?>" class="dsq-arrows" href="#" title="Rate Up"><img src="<?php echo DISQUS_MEDIA_URL; ?>/images/embed/arrow2-up.png" alt="^" /></a></li>
|
@@ -196,7 +196,15 @@
|
|
196 |
<?php endif ; ?>
|
197 |
<?php endforeach; ?>
|
198 |
</ul>
|
199 |
-
<div id="dsq-pagination"
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
200 |
<div id="dsq-post-bottom" style="display: none">
|
201 |
<?php if ( !$dsq_response['thread_locked'] ) : ?>
|
202 |
<div id="dsq-auth">
|
@@ -212,7 +220,18 @@
|
|
212 |
</div>
|
213 |
<?php if ($dsq_response['linkbacks_enabled'] ) : ?>
|
214 |
<h3>Trackbacks</h3>
|
|
|
215 |
<ul id="dsq-references">
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
216 |
</ul>
|
217 |
<?php endif ; ?>
|
218 |
</div>
|
70 |
<li style="margin-left:<?php echo $comment['depth'] * 30; ?>px" class="disqus_commentset"><em>Comment removed.</em></li>
|
71 |
<?php else : ?>
|
72 |
<div id="comment-<?php echo $comment['id']; ?>"></div>
|
73 |
+
<li id="dsq-comment-<?php echo $comment['id']; ?>" style="margin-left:<?php echo $comment['depth'] * 30; ?>px" class="dsq-comment<?php if($comment['user']['is_creator']) { echo ' special'; } ?><?php if($comment['user']['is_moderator']) { echo ' dsq-moderator'; } ?>">
|
74 |
<ul class="dsq-comment-rate" id="dsq-rate-loading-<?php echo $comment['id']; ?>" style="display: none"><img src="<?php echo DISQUS_MEDIA_URL; ?>/images/loading-small.gif" /></ul>
|
75 |
<ul class="dsq-comment-rate" id="dsq-rate-<?php echo $comment['id']; ?>">
|
76 |
<li id="dsq-rate-up-<?php echo $comment['id']; ?>"><a id="dsq-rate-up-a-<?php echo $comment['id']; ?>" class="dsq-arrows" href="#" title="Rate Up"><img src="<?php echo DISQUS_MEDIA_URL; ?>/images/embed/arrow2-up.png" alt="^" /></a></li>
|
196 |
<?php endif ; ?>
|
197 |
<?php endforeach; ?>
|
198 |
</ul>
|
199 |
+
<div id="dsq-pagination">
|
200 |
+
<?php
|
201 |
+
if ( $dsq_response['paginate'] && $dsq_response['pages'] > 1 ) {
|
202 |
+
echo '<a href="#" onclick="Dsq.Thread.appendPage(2); return false">Show more comments...</a>';
|
203 |
+
} else {
|
204 |
+
echo ' ';
|
205 |
+
}
|
206 |
+
?>
|
207 |
+
</div>
|
208 |
<div id="dsq-post-bottom" style="display: none">
|
209 |
<?php if ( !$dsq_response['thread_locked'] ) : ?>
|
210 |
<div id="dsq-auth">
|
220 |
</div>
|
221 |
<?php if ($dsq_response['linkbacks_enabled'] ) : ?>
|
222 |
<h3>Trackbacks</h3>
|
223 |
+
<p>(<a href="<?php trackback_url(); ?>" rel="trackback">Trackback URL</a>)</p>
|
224 |
<ul id="dsq-references">
|
225 |
+
<?php foreach ($comments as $comment) : ?>
|
226 |
+
<?php $comment_type = get_comment_type(); ?>
|
227 |
+
<?php if($comment_type != 'comment') { ?>
|
228 |
+
<li>
|
229 |
+
<cite><?php comment_author_link(); ?></cite>
|
230 |
+
<p class="dsq-meta"><?php comment_date(); ?> at <?php comment_time(); ?></p>
|
231 |
+
<p class="dsq-content"><?php comment_excerpt(); ?></p>
|
232 |
+
</li>
|
233 |
+
<?php } ?>
|
234 |
+
<?php endforeach; ?>
|
235 |
</ul>
|
236 |
<?php endif ; ?>
|
237 |
</div>
|
disqus.php
CHANGED
@@ -4,7 +4,7 @@ Plugin Name: DISQUS Comment System
|
|
4 |
Plugin URI: http://disqus.com/
|
5 |
Description: The DISQUS comment system replaces your WordPress comment system with your comments hosted and powered by DISQUS. Head over to the Comments admin page to set up your DISQUS Comment System.
|
6 |
Author: DISQUS.com <team@disqus.com>
|
7 |
-
Version: 2.
|
8 |
Author URI: http://disqus.com/
|
9 |
|
10 |
*/
|
@@ -24,7 +24,7 @@ require_once('lib/api.php');
|
|
24 |
* @global string $dsq_version
|
25 |
* @since 1.0
|
26 |
*/
|
27 |
-
$dsq_version = '2.
|
28 |
/**
|
29 |
* Response from DISQUS get_thread API call for comments template.
|
30 |
*
|
4 |
Plugin URI: http://disqus.com/
|
5 |
Description: The DISQUS comment system replaces your WordPress comment system with your comments hosted and powered by DISQUS. Head over to the Comments admin page to set up your DISQUS Comment System.
|
6 |
Author: DISQUS.com <team@disqus.com>
|
7 |
+
Version: 2.03-3166
|
8 |
Author URI: http://disqus.com/
|
9 |
|
10 |
*/
|
24 |
* @global string $dsq_version
|
25 |
* @since 1.0
|
26 |
*/
|
27 |
+
$dsq_version = '2.03';
|
28 |
/**
|
29 |
* Response from DISQUS get_thread API call for comments template.
|
30 |
*
|
readme.txt
CHANGED
@@ -3,7 +3,7 @@ Contributors: DISQUS.com <team@disqus.com>
|
|
3 |
Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget
|
4 |
Requires at least: 2.0
|
5 |
Tested up to: 2.6.1
|
6 |
-
Stable tag: 2.
|
7 |
|
8 |
The DISQUS comment system replaces your WordPress comment system with your comments hosted and powered by DISQUS.
|
9 |
|
3 |
Tags: comments, threaded, email, notification, spam, avatars, community, profile, widget
|
4 |
Requires at least: 2.0
|
5 |
Tested up to: 2.6.1
|
6 |
+
Stable tag: 2.03.3166
|
7 |
|
8 |
The DISQUS comment system replaces your WordPress comment system with your comments hosted and powered by DISQUS.
|
9 |
|