Download Shareware and Freeware Software for Windows, Linux, Macintosh, PDA

line Home  |  About Us  |  Link To Us  |  FAQ  |  Contact

Serving Software Downloads in 956 Categories, Downloaded 50.327.781 Times

jQuery Comment Replies 0.2

  Date Added: April 04, 2013  |  Visits: 587

jQuery Comment Replies

Report Broken Link
Printer Friendly Version


Product Homepage
Download (47 downloads)



Basically, I wanted to have my comment replies hidden, and have them expand only when I clicked (what's used in this case) a div, using jQuery. So top-level comments are down, but of the comment has children (i.e. has any replies to that specific comment) they would be "folded shut". When you click the "link", they expand using jQuery easing.Yes, I am aware this is possible by using the default OL/LI listing (since the necessary class is provided), however, I'm anal-retentive when it comes to validation. My comments were using a custom display that required some interesting styling - and for something else I was using, I had to use the Strict doctype for my site - the end result was Quirks mode, making my site invalid and the other function I needed to cease working.This solved the problems. Now I have valid code (using a strict doctype) and I have all of my "cool stuff" working as it should.FeaturesThis keeps most of the default wp_list_comments features. The only difference is that the child comments will have the added "" added to it (ol and ul already have this class by default), but also have the div that provides the action to expand the replies.Otherwise, you can use anything you would normally use with wp_list_comments - callbeack features, everything - it's all there, so you can re-style however you like.This also works with pagination and level depths - if you set "3 comments per page" then 3 top-level comments will show and all replaies will display under it. if you have your depth level set to 5, then each level will have it's own show/hide link.installation : 1. Unzip the package. 2. Go into the filesystem, and rename "YOUR THEME" to the theme name you're using. 3. Upload the "jQuery-Comments.php" file to your plugins directory. You will also want to upload the "scripts" folder to your theme directory** 4. Go to "Plugins" and activate. 5. Open up your comments.php file (in the theme you are using) and replace "wp_list_comments" with "bb_list_comments". Keep any arguments you might be already using, so you don't lose your stuff.** if you already have the jquery library installed, you probably don't need this folder. I'm including the jQuery 1.3.2 library, which is required for this to work, so you probably don't want a second copy of it in your theme files (but I've renamed it, just in case - I don't want to overwrite what you already have). You will alos need to edit a few lines in the plugin (it's not that hard, I swear.): 1. scroll down to the bottom, where "function bb_add_jQuery()" is located. 2. edit this line to reflect the actual already-existing location of your jQuery library: < ?php bloginfo('template_directory'); ?>/scripts/jquery/jquery132.js 3. Save, and upload as usual

Requirements: No special requirements
Platforms: PHP
Keyword: Added Class Class Children Gtquot Comment Comments Default Display Doctype Expand Features It039s Jquery Level List Comments Replies Toplevel
Users rating: 0/10

License: Freeware Size: 10 KB
USER REVIEWS
More Reviews or Write Review


JQUERY COMMENT REPLIES RELATED
Libraries  -  NodeXL Class Libraries 1.0.1.194 Beta
The NodeXL class libraries were designed to help display network graphs in .NET applications. To include a NodeXL network graph in a Windows Forms application, unzip the Zip file into any directory, then see the "NodeXLControl" topic in the...
 
Libraries  -  Class Query 2.1.0
class Query is a Java librray designed to enable you to filter your list of entities in SQL manner. You do not have to write line of For Loop and/or If statements combination to get your desired result. It's very simple curve to use and learn as...
 
Text Editors  -  DocBook Doclet 6.0.3
DocBook Doclet (dbdoclet) creates DocBook XML and class diagrams from Javadoc comments, converts HTML to DocBook, and transfoms DocBook XML into various output formats. It consists of a complete DocBook distribution containing schemas and the...
57.64 MB  
Development Tools  -  adXMLQuote 1.0.0
adXMLQuote is an asp class that can be used to display quotes form a XML file.  The quotes can be either text only or links.
 
Modules  -  ClearSpam 0.1
It displays a comment spam counter to keep you informed by the level of spam currently in your database. The plugin uses WordPress nonce filters, so people won't be able to use the plugin to delete legitimate comments.InstallationUnpack and upload...
 
Libraries  -  Class::Container 0.12
Class::Container is a Perl module with Glues object frameworks together transparently. SYNOPSIS package Car; use Class::Container; @ISA = qw(Class::Container); __PACKAGE__->valid_params ( paint => {default => burgundy}, style =>...
19.46 KB  
Networking  -  Comment Sorter 1.1
How many times you been to a blog where Trackbacks/Pingbacks were interspersed with the regular comments? Or perhaps you wanted the comments to be displayed with the latest one on the top instead of the bottom. With Comment Sorter, readers can...
10 KB  
Modules  -  Fix Reversed Comments Pagination 1.0
What Problem Does This Plugin Fix?If you have 21 comments on a certain post, and your WordPress discussion settings are: 1. Comments are paginated 2. 20 comments per page 3. Last page displayed by default 4. Newer comments displayed at the top of...
10 KB  
Database Tools  -  Simple db class 1.0
Simple db class is able to execute arbitrary SQL queries.Key Features of Simple db class:- Connect to a MySQL database server host- Execute INSERT, UPDATE and DELETE queries passing only the table name and the values of the fields, values and...
10 KB  
Modules  -  Comment block 6.x-1.0-beta2
This module moves the comment form into a block and provides a default view for the listing of a node's comments. This gives you more power and flexibility on how to display comments.Examples * Place the provided comment form in a block anywhere...
10 KB  
NEW DOWNLOADS IN SCRIPTS, MODULES
Scripts  -  Free Ecommerce website creator 1.2
Free Ecommerce website creator is a free PHP shop creating script. This allows you to put a online shop on your own website. Create your own free ecommerce website for Your Business. Create an online shop using easyGUI online shop creator. The...
1.44 KB  
Scripts  -  MochiGames PHP Script ZDR 1.00
MochiGames PHP Script ZDR is web site, ready for use, for flash games. These flash games are downloaded automatically by "MochiGames PHP Script ZDR" from MochiGames media. The use of the games is free, you can use your own Mochi Publisher ID and...
368.54 KB  
Scripts  -  Php Chat 2.0
Add a free php site, single sign-on and multiple skins, 100% free 1. Server Modes: The chat server has paid mode and free mode. If the free chat mode, a free chat room will be assigned to your website with your domain as the room name. 2....
938.87 KB  
Scripts  -  Nibbleblog 3.0.1
Nibbleblog it's a powerful engine for creation and manipulation of BLOG's completely free. Very simple to install and configure (Only 1 step). The database used is based on XML files and this way it is not necessary to use MySQL or similar DBMS....
371.09 KB  
Scripts  -  PHP File Manager | CloudOsys 2.9b8
CloudOsys is a PHP file manager, a tool that allows your visitors upload files such as media content directly to your website. Your visitors will upload files directly to your website, where they can share and comment on them. Through cloud...
1.41 MB  
Modules  -  TinyMCE Node Picker 6.x-2.1
This module will de discontinued and replaced with Node Picker as soon as a stable release is available.TinyMCE Node Picker provides a button in TinyMCE that displays a list of links to content. Choosing a link inserts it into the editor.The...
20.48 KB  
Modules  -  Fapilicious 5.x-1.x-de
Fapilicious is a collection of FormAPI goodies.I hope to make it a repository of reusable FormAPI trickery and short cuts. Currently it has small collection of powerful FormAPI element validators.Please submit your favorite tricks as patches so we...
10 KB  
Modules  -  Donation Goals 6.x-1.x-de
The Donation Goals module lets you create nodes of the type "Donation Goal." These goals allow you to set an amount of money you'll need for whatever you're saving up for. Visitors of the site can then donate money through PayPal. Once the target...
20.48 KB  
Modules  -  Plica Twitter 1.0.1
Plica TwitterInstallation : * Download, unzip, and install plugin dir in /wp-content/plugins * Activate * All right now
10 KB  
Modules  -  Page Array 5.x-1.x-de
The pagearray module is a small (single function) helper module that can be used whenever there is a need to load the output of any Drupal path in data form. Based on the code in index.php, Page Array bypasses the theme('page') call, instead...
10 KB