Questions tagged [threaded-comments]
51 questions
1
vote
2 answers
SQL Querying for Threaded Messages
My site has a messaging feature where one user may message another. The messages support threading - a parent message may have any number of children but only one level deep.
The messages table looks like this:
Messages
- Id (PK, Auto-increment…

Harper
- 1,285
- 3
- 15
- 35
1
vote
2 answers
How to limit threaded comment display in php
i am creating a threaded comment using php.I using this code to display the threaded comments.can any one tell how to limit the displaying the threaded commen indedation
I need like this
comment 1
-->comment 1.1
-->comment 1.1.1
-->comment 1.2
…

Anish
- 4,262
- 6
- 36
- 58
1
vote
1 answer
Threaded comments on web socket update
I'm using web sockets to update a list of comments. I'm nesting ul and li tags to produce the threaded style (explained here).
The problem is that when a new message comes in, I don't want to re-render the entire list of messages. Is there way to…

user94154
- 16,176
- 20
- 77
- 116
1
vote
1 answer
Which data structure is choose to represent threaded comments in java?
I want to show threaded comments in java which is similar to any kind of website which has like facebook, Reddit etc. All my comments are storing in the SQL database. Which data structure is suitable for this? Is an open source library is there? Is…

Kartikeya Garg
- 31
- 1
- 2
- 4
1
vote
1 answer
Can anyone help me with php threaded comments?
I found a pre-written script of a class to create threaded comments, but after trying to implement it, nothing prints. The array si holding data, and I have confirmed that, but, nothing will print when the function is called, so I was wondering if…

mcbeav
- 11,893
- 19
- 54
- 84
1
vote
2 answers
How to build an ASP.NET TreeView From Scratch...?
I am trying to build a nested/threaded comment system in ASP.NET. I don't know how the PHP guys do it. Its much harder than first imagined.
I am trying my damnedest get Hierarchical data to output to the user, but its not working.
I have a table…

SpoiledTechie.com
- 10,515
- 23
- 77
- 100
1
vote
4 answers
How to build a threaded Comment System in C#? Help
Im building a Threaded Comment System for a website of mine and I ran into a problem...
I have a list PULLED FROM A DATABASE that has a ID field and a Parent ID Field. The parent ID field can be null, but the ID field will NEVER be null.
Since this…

SpoiledTechie.com
- 10,515
- 23
- 77
- 100
1
vote
2 answers
Django threaded comments - one level only
I'm looking at implementing django-threadedcomments and am wondering if it is able to restrict threading to replies made by a moderator/owner, similar to how Yelp handles user reviews and business owner replies.
For example the comments would look…

Growth Mindset
- 1,135
- 1
- 12
- 28
1
vote
3 answers
Threaded / Nested comments
Anyone know how to create a threaded / nested comment system? I would like to learn how to do this for my blog that I am working on. I simply can't find anything useful out there. Some one surely must know how its done.
anon445699
1
vote
1 answer
Django built-in signals problem: error when using post_save
I'm building an app that notifies user when new ThreadedComments appear. For this I'm using post_save signal. Here's my models.py:
from django.db import models
from django.contrib.auth.models import User
from django.contrib.contenttypes.models…

martinthenext
- 1,308
- 1
- 15
- 28
1
vote
1 answer
PHP MYSQL - Displaying multi threaded comments not working
This is what my Database looks like
comments
id 1 - (primary key)
user_id 2
comment - I need help
id 2 - (primary key)
user_id
comment - I'm going to sleep now
id 3 - (primary key)
user_id 2
comment - Watching the news.
Replies
id 1
comment_id…

Benjamin
- 45
- 8
1
vote
2 answers
CakePHP find('threaded') pagination
I'm kind of new to cakePHP and get to the moment where i have to do pagination.
The comments table has a parent_id and the threaded query is working correctly so now, I want to paginate the results.
My problem is the limited sql query affects all…

ozzysong
- 140
- 1
- 6
1
vote
0 answers
How do I get an app, threadedcomments_extras, to show up or be ignored?
I'm getting:
ImportError at /
No module named threadedcomments_extras
Request Method: GET
Request URL: http://stornge.com:8000/
Django Version: 1.5
Exception Type: ImportError
Exception Value:
No module named threadedcomments_extras
Exception…

Christos Hayward
- 5,777
- 17
- 58
- 113
1
vote
4 answers
How to build Threaded comments with a 1 or 2 queries?
Can anyone suggest a creative database structure + fetching algorithm for a threaded comments system, that would output x amount of threads per page (with unlimited replies for each)?
I can run a query to get the threads, and in each instance of a…
user15063
1
vote
5 answers
Is there native support in Rails or Ruby for representing threaded comments
I want to have a comments section in my app that looks like this:
response1
response1a
response1b
response1b1
response2
response2a
response2b
response2c
response2c1
response2c1a
response2c1a1
response2c1a1
response2c1a1a
…

J. Holmes
- 55
- 1
- 7