Title: Ajax Comment Posting
Author: howellalexander
Published: <strong>17 Tháng 12, 2007</strong>
Last modified: 19 Tháng 3, 2008

---

Tìm kiếm plugin

Plugin này **chưa được cập nhật với 3 phiên bản mới nhất của WordPress**. Nó có 
thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress
mới nhất.

![](https://s.w.org/plugins/geopattern-icon/moojax-comment-posting.svg)

# Ajax Comment Posting

 Bởi [howellalexander](https://profiles.wordpress.org/howellalexander/)

[Tải về](https://downloads.wordpress.org/plugin/moojax-comment-posting.zip)

 * [Chi tiết](https://vi.wordpress.org/plugins/moojax-comment-posting/#description)
 * [Đánh giá](https://vi.wordpress.org/plugins/moojax-comment-posting/#reviews)
 *  [Cài đặt](https://vi.wordpress.org/plugins/moojax-comment-posting/#installation)
 * [Nhà phát triển](https://vi.wordpress.org/plugins/moojax-comment-posting/#developers)

 [Hỗ trợ](https://wordpress.org/support/plugin/moojax-comment-posting/)

## Mô tả

Basic verification and asynchronous posting with snazzy effects. Developed specifically
to work with the mootools framework.

Should deprecate peacefully, and tested in Safari, Opera, Firefox and IE7

MooTools is an ultra-light frame work with faster operation than prototype/scriptaculous
and more intuitive nomenclature than jQuery. This plugin will not work if you already
use another library on your site (JQuery, scriptaculous, etc).

Should you have any issues plugging this into your site please email me: mcp@handsandfeetdesign.
com

## Cài đặt

 1. Upload the plugin directory `moojax-comment-posting` to the `wp-content/plugins`
    directory.
 2. If you have already included the mootools framework in your template, edit the 
    moojax-comment.php file to comment out duplicate inclusion of the library
 3. Add the foillowing CSS classes to your template to style error messages and throbbers:
    
    div.error {} form.throbbing {} For example, you can ‘disable’ the submit button
    during the submission with: form.throbbing input[type=”submit”]{display:none;}
 4. Activate the plugin through the ‘Plugins’ menu in WordPress.

## Hỏi đáp

  But the whole point of AJAX is throbbers! How do I add a throbber?

To indicate ‘waiting’ this plugin adds the class ‘throbbing’ to the form whilst 
it’s working. So to for example add a throbbing gif to the textarea whilst the plugin
is working, add this to your site CSS:
 .throbbing textarea {background:transparent
url(thobber.gif) no-repeat 50% 50% scroll}

  Why isn’t my plugin working or it works differently than it should?

[Contact me](https://vi.wordpress.org/plugins/moojax-comment-posting/mcp@handsandfeetdesign.com?output_format=md)
to report any bugs.

  Why don’t you include a default throbber/CSS file?

Because in the interest of keeping your site performing well, easily maintained 
and fast it’s best to take the time to do these things yourself. Get a nice throbber
at ajaxload.info

  How do I change the language?

Edit the plugin php file and add the following above the include statements:
 echo‘

 mcpOptions = {
 removeForm: true, //Remove the form after a comment is sent? nameError:‘
Please give your name’, emailError : ‘Please give a valid email address’, msgError:‘
You forgot a message!’, inmoderation : ‘Thanks for your comment-it is now in moderation’};

‘;

  This broke my other MooTools scripts on my page!

The plugin comes with the minimum version of MooTools- probably not including what
your page needs- simply comment out the line including the mootools file from the
php file.

  Nothing happens on my funky template

The script uses CSS selectors to identify form elements- re-name things and it wont
play well- remember you can add more than one class to elements!

## Đánh giá

Không có đánh giá nào cho plugin này.

## Người đóng góp & Lập trình viên

“Ajax Comment Posting” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

 *   [ howellalexander ](https://profiles.wordpress.org/howellalexander/)
 *   [ alex ](https://profiles.wordpress.org/alex/)

[Dịch “Ajax Comment Posting” sang ngôn ngữ của bạn.](https://translate.wordpress.org/projects/wp-plugins/moojax-comment-posting)

### Muốn tham gia phát triển?

[Duyệt code](https://plugins.trac.wordpress.org/browser/moojax-comment-posting/),
check out [SVN repository](https://plugins.svn.wordpress.org/moojax-comment-posting/),
hoặc theo dõi [nhật ký phát triển](https://plugins.trac.wordpress.org/log/moojax-comment-posting/)
qua [RSS](https://plugins.trac.wordpress.org/log/moojax-comment-posting/?limit=100&mode=stop_on_copy&format=rss).

## Nhật ký thay đổi

Version 0.1: initial release
 Version 0.2: added UTF-8 header so ‘foreign’ characters
were rendered properly in returned comment Version 0.3: corrected issues with IE
and dom objects causing foul ups and added throbber preloader Version 0.4: added
some extra error handling in case of browser bugs in Safari BETA Version 1.0: Complete
re-write, features smaller footprint, smaller namespace, better error handling, 
more flexible styling, ‘language’ options. Bundled MooTools is latest version (1.1).

## Meta

 *  Phiên bản **1**
 *  Cập nhật lần cuối **18 năm trước**
 *  Số lượt cài đặt **10+**
 *  Phiên bản WordPress ** 2.0 hoặc cao hơn **
 *  Đã kiểm tra lên đến **2.2.3**
 *  Ngôn ngữ
 * [English (US)](https://wordpress.org/plugins/moojax-comment-posting/)
 * Thẻ
 * [ajax](https://vi.wordpress.org/plugins/tags/ajax/)[comment](https://vi.wordpress.org/plugins/tags/comment/)
   [comments](https://vi.wordpress.org/plugins/tags/comments/)[mootools](https://vi.wordpress.org/plugins/tags/mootools/)
   [post](https://vi.wordpress.org/plugins/tags/post/)
 *  [Nâng cao](https://vi.wordpress.org/plugins/moojax-comment-posting/advanced/)

## Đánh giá

Chưa có đánh giá nào được gửi.

[Your review](https://wordpress.org/support/plugin/moojax-comment-posting/reviews/#new-post)

[Xem tất cả đánh giá](https://wordpress.org/support/plugin/moojax-comment-posting/reviews/)

## Những người đóng góp

 *   [ howellalexander ](https://profiles.wordpress.org/howellalexander/)
 *   [ alex ](https://profiles.wordpress.org/alex/)

## Hỗ trợ

Có điều gì muốn nói? cần giúp đỡ?

 [Xem diễn đàn hỗ trợ](https://wordpress.org/support/plugin/moojax-comment-posting/)