Plugin: Ajax-Reload of comments

Creating and modifying plugins.
Post Reply
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Plugin: Ajax-Reload of comments

Post by onli »

I made a new plugin which reloads comments made by other users. When A is reading an article while B makes a comment on the same entry, the comment appears at A's page without reloading the entire page - kind of "realtime"-comments ;)

See the german introduction for further info (including a screencast :) ).
Attachments
serendipity_event_realtimecomments-0.1.tar.gz
(9.56 KiB) Downloaded 240 times
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugin: Ajax-Reload of comments

Post by garvinhicking »

Hi!

Hey, that's a really nice idea, I like it a lot. Do you think it would be better as a standalone plugin, or is there maybe some overlap with the livecomment plugin? Maybe those could be integrated?

Also, how about a sidebar plugin that also reloads comments dynamically, but then for all entries and not just for the entry that you are currently viewing?

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Plugin: Ajax-Reload of comments

Post by onli »

Hi
There is some overlap with the livecomment-plugin: Use of jQuery and focus in the comments. But because of the way I implemented the realtimcomments-plugin it's quite big (and the livecomment-plugin is also not small anymore) and uses it's own database-table. So i think merging would lead to chaos.

The sidebarplugin should be very easy to build upon this.
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Plugin: Ajax-Reload of comments

Post by onli »

Is it ok if I add this to spartacus? Don't think I'll write a sidebarplugin for this anytime soon (Had some issues with json when writing the original one and wouldn't use it anyway - besides that, i still think it'd be easy).
garvinhicking
Core Developer
Posts: 30022
Joined: Tue Sep 16, 2003 9:45 pm
Location: Cologne, Germany
Contact:

Re: Plugin: Ajax-Reload of comments

Post by garvinhicking »

Hi!

Okay, that's fine for now then, better to have it at this stage than not at all. Thanks for contributing, a lot! :)

Regards,
Garvin
# Garvin Hicking (s9y Developer)
# Did I help you? Consider making me happy: http://wishes.garv.in/
# or use my PayPal account "paypal {at} supergarv (dot) de"
# My "other" hobby: http://flickr.garv.in/
onli
Regular
Posts: 3044
Joined: Tue Sep 09, 2008 10:04 pm
Contact:

Re: Plugin: Ajax-Reload of comments

Post by onli »

Done :)
Post Reply