Greg's Show Total Conversations 1.2.5
File ID: 100349
Greg's Show Total Conversations 1.2.5 Description
Description: WordPress provides a built-in function to display the total number of comments on a given post; this plugin extends that functionality to show the number of separate threaded discussions included within that total. No theme modifications are required.
New in This Version
* Better workaround for WordPress 3.0's problems initialising plugins properly under multisite
For more details on what's new in the latest main release, version 1.2, please see the update announcement: WordPress Plugins Get Performance Boost
WordPress 2.7 introduced native comment threading, enabling your blog's readers to reply directly to one another's comments. But while WordPress keeps track of the total number of comments on a given post, providing a function which theme creators can use to show that total, it doesn't offer any easy way to track how many of the comments have wound up initiating threaded conversations.
This plugin counts those conversation threads for you and displays the total -- with no theme modifications required. You can even choose to show conversation totals on your post and comment admin pages.
For extra flexibility, coders can also tap into the plugin's core function directly.
This plugin counts any sequence of threaded replies to a top-level comment as a single 'conversation'. However many times a conversation might branch off into further threaded replies, the plugin still counts it just once.
For more information, please see this plugin's information page: Greg's Show Total Conversations Plugin for WordPress
[b]Installation : [b]
1. Unzip the plugin archive
2. Upload the entire folder gregs-show-total-conversations to /wp-content/plugins/
3. Activate the plugin through the 'Plugins' menu in WordPress
4. Go to Settings -> Show Total Conversations to configure your preferences
No theme modifications are required to use this plugin -- the plugin's settings page enables you to specify which pages should include a conversation total. If you'd like more flexibility, however, you can call the plugin's core function directly.
Just enable the plugin and visit Settings -> Show Total Conversations to configure your preferences.
You can show the conversations total by calling the following function directly, preferably wrapped in a conditional which tests whether the function exists (i.e., tests whether the plugin is enabled):
<?php gstc_show_discussions_number_manually(); ?>
This function takes optional parameters specifying your preferred message for zero conversations, one conversation, or more than one conversation. The parameters work exactly like those for the built-in WordPress function comments_number:
<?php gstc_show_discussions_number_manually($zero, $one, $more); ?>
The character % in the parameter $more will be replaced with the conversation total.
Deactivating and Uninstalling
You can deactivate Greg's Show Total Conversations plugin via the plugins administration page, and your preferences will be saved for the next time you enable it.
However, if you would like to remove the plugin completely, just disable it via the plugins administration page, then select it from the list of recently deactivated plugins and choose "Delete" from the admin menu. This will not only delete the plugin, but will also run a special routine included with the plugin which will completely remove its preferences from the database.
Related: Total, Wordpress, Plugin, Comments, Threaded, Theme, conversation, Number, counts, Comment, Function, replies, Track, modifications, Information, totals, Threads
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 81.9 KB
|More Similar Code|
Greg Stein's dtuple module deserves wider recognition. This recipe shows you how to use it with a simple list of database field names.
Let's show the Twitter avatar (Twicon) to your user with those comments of you in the Web site. When the Twitter avatar (Twicon) doesn't exist, Gravatar is displayed.
The function to add Twicon or Gravatars to your theme is...
NCHOOSE - all combinations of the elements of a set
W = nchoose(S) returns all possible combinations of one or more
elements of the set S. In total there are 2^N-1 combinations, where N
is the number of elements in S. W is a cell...
In Rails you need one app/models/ class per database table. Dr Nic's Magic Models, eliminates the use of an explicit model file in your app/models folder.
The BackType Connect WordPress plugin finds conversations related to your content and allows you to display the associated comments inline with your own. Existing conversations about your content taking place across the web can now be displayed...
StatSurfer is the evolution of StatPress and StatPress Reloaded, the plugin is therefore consistent with the data of the two StatPress systems. The plugin allows you to surf easily and quickly in the statistics of your website. Collect information...
Stumble! for WordPress extends WordPress to support a "random article" feature, similar to StumbleUpon's StumbleThru and Wikipedia's (Mediawiki's) random article feature.
It has shown that it can significantly increase...
This expert allows you to easily jump to various useful Delphi web sites without having to leave the Delphi IDE. It installs as a new option on the help menu. You can add your own favorite links as you wish.
This plugin (a highly improved fork of StatPress) shows you real time statistics about your blog. It collects information about visitors, spiders, search keywords, feeds, browsers, OS etc.
Once the plugin StatPress has been activated it...
When linking to a picture this script automatically creates HTML pages on the fly with the picture, a description and a link back to the refering page. Also features Display-Counting, guest-logs, a comfortable administration interface, picture...
|User Review for Greg's Show Total Conversations