hi:

i have seen in some wordpress sites that you can post comments without reloading the whole page. this would be great to be integrated with drupal.

is this possible right now? any guides to do it?

thanks

Comments

SavoryMedia’s picture

I'd definitely be interesting in this, too. I have a ton of drupal sites on which this would be very slick to have.

=========================================
MJ - SavoryMedia - http://savorymedia.com/

bugz_nz’s picture

I'd be interested in working on this if nobody else has picked it up already.

Rosamunda’s picture

Another one that think this idea rocks!

Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org

SavoryMedia’s picture

From DLing and checking out the Javascript Tools module, I think it has all the base functionality to make AJAX comments happen.

We just need a developer to put a module together using its functionality.

=========================================
MJ - SavoryMedia - http://savorymedia.com/

chrisroditis’s picture

Hello, has anybody worked on it? Thanks

A healthy disregard for the impossible.

arthurf’s picture

With these three modules jstools, formfilter, form_store, you can get ajax comment submits. The threading isn't quite right until the page is refreshed, but it is a workable solution.

ola90@drupal.ru’s picture

subscribing

swordofwar’s picture

subscribing

cloudmine’s picture

subscribing

swordofwar’s picture

I have a lot of media on many pages of my site and it interrupts people if ti takes them to other pages when they make comments! Someone please make an AJAX comment module!

Prodigy’s picture

+1

himtuna’s picture

I am new here, can anybody tell me where to subscribe?
I also need this cool feature for my site www.gamersden.in
It has got lot of gaming content most them ajaxified, and it would be lot easier to give comments ajax way.

Rosamunda’s picture

Hi there!
You subscribe to a discussion just posting something to it.
To see your subscribed posts you just click on "Recent Posts" and from there the "My Recent Posts" tag.

Rosamunda
Buenos Aires | Argentina
www.ligadelconsorcista.org

sakib000’s picture

Subscribing

toemaz’s picture

I'm currently working on the comment_ajax module for Drupal 5.x. It's not fully functional yet: the comment is submitted via ajax, but the it's not displayed yet.
http://cvs.drupal.org/viewvc.py/drupal/contributions/modules/comment_ajax/

toemaz’s picture

Comment_ajax module should be working now 2 cases:
1. for the comment_add link: it injects the comment form
2. for the comment form below the comment list

Todo:
Inject the comment form for the reply links

The module only works for D5 for the moment.

toemaz’s picture

Module is ready for testing.

scottrigby’s picture

toemaz’s picture

Live does live preview of a comment via ajax but not an actual ajax submit. But I presume both could be integrated ultimately.
When you happen to test the comment_ajax module and compare it against live, perhaps you could report your findings in an issue on the live project page.

Rory--’s picture

So, wait. If I install this will it work correctly yet? Or should I wait?

And is there any plan to get this in 6.x?

aerodog’s picture

Fatal error: Allowed memory size of 31457280 bytes exhausted (tried to allocate 7 bytes) in /home/mecchoco/public_html/modules/node/node.module on line 433 .

I got this right after enabling the module.

What's weird is I have 75 M allocated. Did anyone else have a similar issue?

toemaz’s picture

I can't reproduce it for now. Perhaps someone else?
I believe when you would enable yet another module, you will hit the same problem. So, i don't think this is related to this module.

drupalina’s picture

Hi,
I've tested your module.
It works more-or-less okey for authenticated users only. BUT it can't cope with hierarchical comment replies - it makes all comments flat.

AND... what's even worse , it doesn't work with Captcha for anonymous users.

AND the 3rd drawback is that there is to "Ajaxified transition" - the computer just freezes and then the comment pops up, whch is not nice (I can immagine people clicking the submit putton again and again, which would result in multiple comments)

------
HOWEVER... having said all this, I think if these bugs ould be cleared, comment_ajax module would be an _awsome_ contribution to Drupal. This is a very important and much needed feature!!!

I think it would be great if you could start a project page for this and upload the dev tar in there, so that the bugs can be induvidually addressed and tested.

toemaz’s picture

The module/code is open for adoption!

drupalina’s picture

I'm not a coder or developer

EnekoAlonso-1’s picture

Ajax comments in Drupal are relatively easy to achieve. Unfortunately, I haven't had time to prepare a module nor I have interest in doing it now. But still, I want to share my code so other people can take advantage of it too.

http://dev.enekoalonso.com/2008/12/10/ajax-comments-in-drupal-5-how-i-ma...

Enjoy :)

Please contact me if you have any questions.

drupalina’s picture

Hi,
thanks for the write up, though there were many confusing points for me as a non-coder. But for those of us who are not coders, could you _please_ attach a zipped folder with the module, so that we can just simply enable and use it???

idflorin’s picture

I'm using

http://drupal.org/project/ajax_comments

on my new Artonfix

works like a charm.
------------
Shared hosting

karc2008’s picture

... nothing changed? How must this be activated? I don´t have a custom comment.tpl.php or something.

Oops - it´s my fault, I never read the readmes, when nothing is written in the description of the project-page, because I think, it would be working right away.

Thanks for any help,
Marc

ashkesarmaa’s picture

ty