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

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

Serving Software Downloads in 976 Categories, Downloaded 32.290.039 Times

jQuery Comment Replies 0.2

  Date Added: April 04, 2013  |  Visits: 330

jQuery Comment Replies

Report Broken Link
Printer Friendly Version

Product Homepage
Download (18 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
Modules  -  Advanced Comment Trigger 6.x-1.0-beta2
Advanced Comment Trigger provides a new trigger category allowing automatic unpublishing of comments based on more fine-grained criteria than the default "new comment added" trigger. Currently, this module can unpublish comments based on the...
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  
Libraries  -  Class::Maker 0.05.18
Class::Maker Perl module contains classes, reflection, schema, serialization, attribute- and multiple inheritance. SYNOPSIS use Class::Maker qw(class); class Human, { isa => [qw( ParentClass )], public => { string => [qw(name lastname)],...
49.15 KB  
Modules  -  Recent Love - A List of Recent Comments 0.5
Displays a list (typically, in your sidebar) of your visitors' recent comments. By default, shows the latest comment from each of the last five commented-on posts.You control: * how many recent comments to display * how many characters of the post...
20.48 KB  
Modules  -  June-Comments-Cleaner 1.1
For example, if your blog has a great number of visitors/commenters and you have selected the "Comment author must have a previously approved comment" option in your admin panel (Settings > Discussion) or you allow comments to be published as...
20.48 KB  
Libraries  -  C++ base 1.0
C++ base is a base class suite contains several powerful c++ base classes for basic encapsulation of low level operating system calls and basic library functions. Further packages you may access from this page require the installation of this...
102.4 KB  
Education  -  ClaSS 0.9.38
ClaSS (ClaSS Student System) is a complete student tracking, reporting and information management system. The latest web-application methods allow the school community access. ClaSS aims to be the ubiquitous classroom information assistant for school
997.24 KB  
Modules  -  WP Specific Comment 1.0
WP Specific Comment provides a template tag for use anywhere in your theme, inside or outside The Loop. This template tag will return a specific comment as an object, from which you can retrieve any standard comment data.Template TagTo initiate...
10 KB  
Modules  -  WP Ajax Edit Comments
Users can edit their own comments for a limited time, while admins can edit all comments.InstallationUnpack and upload it to the /wp-content/plugins/ directory.Activate the plugin through the 'Plugins' menu in WordPress. Key features "WP Ajax Edit...
Modules  -  Collapsible Comments 3.8
Collapsible Comments plugin provides an easy way to make all comments to collapse and expand inline with an excerpt at every page or post. You can set the number of characters that will be shown for each comment and after clicking a link, they...
20.48 KB  
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