We use cookies to improve your experience. No personal information is gathered and we don't serve ads. Cookies Policy.

ExpressionEngine Logo ExpressionEngine
Features Pricing Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University
Log In or Sign Up
Log In Sign Up
ExpressionEngine Logo
Features Pro new Support Find A Developer
Partners Upgrades
Blog Add-Ons Learn
Docs Forums University Blog
  • Home
  • Forums

Update: Extension: Asynchronous Comments (Version 1.2)

Development and Programming

paul1111's avatar
paul1111
25 posts
16 years ago
paul1111's avatar paul1111

This extension gives a success (or error) message as a response when submitting comments asynchronously (E.g. with Ajax or Flash).

For more info see the documentation.

The Flash comment form on my website is currently using this extension. Feel free to post any questions or comments here or on the documentation page.

       
keola's avatar
keola
8 posts
16 years ago
keola's avatar keola

This is a fantastic concept. Thank you for sharing.

However, I’d like to know how to get the messages working. The comment upload works great, but I don’t see how to display success, or error messages.

Also is there a way to specify a particular container for those messages?

Thank you in advance for any help you might be able to give.

       
paul1111's avatar
paul1111
25 posts
16 years ago
paul1111's avatar paul1111

Version 1.2 now available!

What’s New?

 1.) Errors messages now available (optional feature: modification to module file required)
 2.) [url=http://www.furioussoftware.net/fury_tools/view/asynchronous_comments_extension]Documentation[/url] now available with examples
       
paul1111's avatar
paul1111
25 posts
16 years ago
paul1111's avatar paul1111

Hey Keola, sorry for the late reply, hope this still helps you out…

However, I’d like to know how to get the messages working. The comment upload works great, but I don’t see how to display success, or error messages.

This extension assumes you have an understanding of asynchronous requests and how to do them using javascript or flash. I will work on getting a javascript example for the documentation in the next day or so on how to do the request.

Basically, once you get the response back, you check it to see what the first character is: 0 for known error, 1 for submitted, 2 for pending review, and other for unknown error. In the case of a 0, 1, or 2, the text following the first character will be the appropriate message.

Also is there a way to specify a particular container for those messages?

You can change these messages in the language file. I havn’t tried it, but you may be able to use html here to put your message in a container. The way I am using it on my site is to just get the message and then stick it into an already made “container” (a flash text field) using script.

Feel free to post further if that doesn’t answer your questions or if you have more. You can check out the documentation too, that may also help.

       

Reply

Sign In To Reply

ExpressionEngine Home Features Pro Contact Version Support
Learn Docs University Forums
Resources Support Add-Ons Partners Blog
Privacy Terms Trademark Use License

Packet Tide owns and develops ExpressionEngine. © Packet Tide, All Rights Reserved.