开发者 | Alex |
---|---|
更新时间 | 2014年12月17日 05:28 |
PHP版本: | 2.0 及以上 |
WordPress版本: | 2.2.3 |
moojax-comment-posting
to the wp-content/plugins
directory.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}
Contact me to report any bugs.
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
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' }; ';
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.
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!