Jump to content






Photo * * * * * 1 votes

IP.Board 3.1.3 Developers Update: "Comments" System

Posted by Matt, 29 October 2010 · 686 views

I blogged previously about updates to Gallery which include a brand new commenting system.

This new commenting system is a core feature in IP.Board 3.1.3 and although we've not fully implemented it in the forums, it is in use by Blog, Gallery and Downloads.

Posted Image

As it's a core feature, you can easily add it into your own application just by writing a plug-in class.

A feature recap for the new commenting system:

- Makes full use of "ajax" so that there are no page loads between adding a reply, editing a reply, etc
- It makes full use of the new 'hovercard' system present in IP.Board 3.1.3 to allow mouseover pop-ups
- Automatically sends "like" notifications if enabled

Posted Image
When you mouse over a user link, it pops-up with the mini profile card.

I have written up some basic documentation on how to implement this here: http://community.inv...s/comments-r523




Just getting better and better. Well done!
Matt is the man.  :thumbsup:
Are profile comments separate from this system?

No1 1000, on 29 October 2010 - 11:36 AM, said:

Are profile comments separate from this system?

At present, but we'll likely change that in IPB 3.2.  This system is in place for developers now, and our upcoming app releases will start making use of it, but IPB won't directly use this functionality until 3.2.
So this will be used in IP.Content?

If so <3 <3 <3, so much.

Edit: Actually, does this include nested comments and sorting the comments reverse chronologically?
So IP.Content won't have "Likes" and won't have the updated comments?  Why is IP.Content being skipped over?
Thank you so much! This will be really helpful in Codebox :)
Oh-oh-my

Default modules that are handy for coders to implement! Keep it up.
IPB <3
thumbnail nail mod dose not work with the new update. .  :blink:
The document explain everything in source file, but is it possible to add the html / template codes as well? it will be very helpful

Thanks and well done
Would this be usable with the reputation system?
hopefully the new comments will be easy to delete if there are dreaded spammers! they have been pretty bad lately :)
Still need to change the previous and next due to it looks pure ugly and subtracts from the whole look of what IPS its trying to go for. As for "basic documentation" that far from basic.  lol
Posted Images
Using ajax is a huge improvement. Good job guys
Looking good.
For those of you asking about IP.Content - we will likely update IP.Content in the next update to utilize these new frameworks, however at this point IP.Content has been "finished" and is locked at present.  Basically, we don't want to take a codebase that is essentially nearly ready for release and tear it apart at this stage.  Additionally, there are extra difficulties in using centralized classes like this in IP.Content due to the fact that you define your own content types (creating custom databases, etc.) however that won't stop us from including the integration in the future.

Quote

The document explain everything in source file, but is it possible to add the html / template codes as well? it will be very helpful

If I understand you correctly, yes.  You can override the skin file to use in your custom classes, and the central modules will call your custom skin file instead of the generic standard one.
test
How do we add this comment system to forums?  So instead of loading a page after each post, it just posts it using ajax?

Regards.
lookin sweet

May 2012

S M T W T F S
  12345
6789101112
131415 16 171819
20212223242526
2728293031  

Latest Visitors

Search My Blog