How To Build Nested Comments in SocialEngine

nestedComment

Being an community member you always update your current status to tell other what are you doing ? where are you or how ? how are you feeling ? Single level commenting allows a reader to post a comment to a post. Threaded commenting allows a reader to reply to other reader comments on that post. One of our client (Scienceboard) was looking for the same functionality. So we customized the activities feed for nested comments based on socialengine.

Implementing nested comments in social networking based on socialengine.

Here are some steps for commenting into multilevel  thread with in a post. With in the activity feed you will see some options like comment, reply ,edit comment, delete comment ,hide thread, show thread etc.

Step 1 : Enabling threaded commenting – while you are replying  to a comment you just need save it’s parent to reference. it will help you to show reply into the list in proper place with in activity feed. also you can provide some additional operations as well like edit comment , delete comment etc.

Step 2 : Notification – A nested commenting system means more discussion and back-and-forth dialogue. If you want to notify of any updates to a discussion, just click “when someone comment on the same as me” and “when someone reply to my comment” from the notification settings under the settings options. This way, you’ll be notified via email so you can keep up with the conversation.

Step 3 : Styling nested comment with CSS – you can choose different types of font and colors for different different level of comments.

.wall-comments ul li.wall-comment-item
{
	float:left;
	width:96%;
	padding-top: 10px;
	padding-left:4%;
}
.wall-comments ul li.wall-comment-item li li li li
{
	float:left;
	width:96%;
}

Conclusion

Hence by following the approach, you can be a part of threaded commenting. We have customized the wall plugin of  Hire-Experts to meet the functionality. Feel free to contact us if you have any further queries.

How To Build Nested Comments in SocialEngine was last modified: May 15th, 2016 by Ajay Kumar