fastcomment

NP_FastComment

This plugin is currently not available.

This plugin displays an altered commentform on the index page, which users can use to quickly add comments to the latest entry in the blog.

Features

  • place a fast comment form to the latest entry among all blogs, the default blog, a specific blog or the actual blog - much flexible, specially if you manage multiple blogs;
  • you can redirect the form to any page you want;
  • future entries are ignored;
  • if the latest entry is closed to comments, the form won’t be shown;
  • option to look for the latest opened entry if the latest is closed - if no entries are opened at all, the form won’t be show.

Instructions

  1. Download NP_FastComment and unzip it.
  2. Edit and upload fastcomment-loggedin.template and fastcomment-notloggedin.template to your /nucleus/forms directory;
  3. Upload NP_FastComment.php to your plugins directory and install it;
  4. Add <%FastComment%> to your skin. See the parameters below for more options.

Parameters

  • <%FastComment%> (no parameter defined): comment form to the latest entry among all blogs;
  • <%FastComment(default)%>: comment form to the latest entry in the default blog;
  • <%FastComment%(0)>: comment form to the latest entry in the actual blog;
  • <%FastComment%(5)>: comment form to the latest entry in the selected blog (in this case, the blog number 5).

Tips

  • This plugin works great with the LatestComments plugin: why not to place a comment form to the latest entry just below the latest comments? You can also manage both plugins to look like a shoutbox;
  • By default the form is redirected to the correspondent item, but you can redirect it to any page you want! So if you have the FastComment form in your main page, you can easily redirect the form to the same main page (people will see their comment on the main page right after sending it!). Just change the value of the “url” input in both commentform templates.
  • Pheser has combined the expanding readmore javascript with the FastComment plugin. The result is very interesting! Read more about it here.

Bugs, doubts, hacks and suggestions

Post bugs, doubts, hacks and suggestions here at the Nucleus forum.

Wishlist

  • Error preventing before doing the sql query: check if first parameter is valid and set the default value if not;

History

  • v.0.1 (03-04-2003): initial version;
  • v.1.0 (03-05-2003): many many improvements - now it is really done! Thanks XiffY for the BIG help!
    1. future entries are now ignored - a must have feature;
    2. if the latest entry found is closed to comments, the form won’t be shown anymore - a must have feature;
    3. option to look for the latest opened entry if the latest is closed - a smart and nice optional feature;
    4. if no entries are opened after looking for the latest opened entry, the form won’t be show;
    5. parameters are implemented: “default” to show the comment form to the latest entry in the default blog; “0” to show the comment form to the latest entry in the actual blog; blogid to show the comment form to the latest entry in the selected blogid; if no parameter is defined the comment form will be directed to the latest entry among all blogs.
 
fastcomment.txt · Last modified: 2006/07/05 13:03