Questions tagged [threaded-comments]
51 questions
0
votes
2 answers
Modified preorder traversal for comment system
I'm trying to make a comments system for a blog. I have the modified preorder traversal system working (used this guide: http://mikehillyer.com/articles/managing-hierarchical-data-in-mysql/).
I have a few issues though. I do not think that guide…
moolang
0
votes
1 answer
best way to replicate the threaded conversation UI in twitter
I will have a series of threaded conversations, and want to be able to display these threads in the most simple and intuitive way on the site. The twitter.com way of sliding into a reply makes a lot of sense.
What would be the simplest way to do…

Sam Delaney
- 335
- 3
- 16
0
votes
1 answer
Javascript issue in Django plugin
I'm going to use django-threadedcomments library at my Django project.
https://github.com/HonzaKral/django-threadedcomments
The tutorial gives sample code, including Javascript to reply to comments in threaded-comment style.
I've tried to test this…

koichi_n
- 107
- 1
- 1
- 9
0
votes
0 answers
Django threaded / nested comments
What's the best way to implement threaded/nested comments in Django? I've read a bit about MPTT and django-threadedcomments but all the posts seem to be from years ago. Is using MPTT still the 'accepted' way or is there a newer way to do it?

Callum
- 195
- 2
- 22
0
votes
1 answer
Django MPTT, can't get parent_id for threaded comments reply
My Problems are as follows:
Im relatively new to Django. so sorry for this mess.
I've tried to implement threaded comments to my blog via MPTT. But when i pressing the 'Reply' Button django throws me a Type Error
Normal parent comments working…

Cone16
- 1
- 1
0
votes
2 answers
Django - Sorting QuerySet of threaded comments
I am using django-threadedcomments, however the question also applies generally to sorting a QuerySet.
The comment objects in the QuerySet have two important fields, tree_path and submit_date. tree_path is of the form "a/b/.../z" where 'a' is the…

Albeit
- 738
- 10
- 21
0
votes
1 answer
Trying to get threaded/nested comments in PHP
I have data in a MySQL table, (called info), like this:
_______________________
id | text | parent |
1 | a | NULL |
2 | b | 1 |
3 | c | 1 |
4 | d | 2 |
-----------------------
(id is auto…

q3d
- 3,473
- 8
- 34
- 39
0
votes
2 answers
How to preserve order of children to appear after their parents
Expected order by replyid: 55, 57, 58, 59, 60, 56 -- So that the entire 1st parent reply and all its children appear BEFORE the 2nd parent reply
The following SQL query returns the wrong order of results
WITH RECURSIVE t(replyid, replypid, depth,…

Miz
- 21
- 3
0
votes
1 answer
Can Someone hello explain this class for a php threaded comments system?
I am trying to implement a threaded comment system using php, and i found something already written, but i can not exactly see how to use it, i am not familiar at all with classes, so i was wondering if someone could help explain how i would use the…

mcbeav
- 11,893
- 19
- 54
- 84
0
votes
1 answer
Wordpress Plugin: Nested and Pagination
I have a blog that gets a number of comments each day. I am looking for a plugin which supports nested comments as well as pagination - the default supplied by wordpress just says "Newer Comments" and "Older Comments" which is not SEO friendly.…

Sameer
- 401
- 2
- 6
- 10
0
votes
2 answers
PHP: Quick threaded comments question
I'm basically trying to code a simple threaded comments system where users can comment on other user's comment. It'll allow only one level of comments.
The comments table in the database is something like:
- id
- text
- timestamp
- parent_id (can be…

KeyStroke
- 1,455
- 5
- 19
- 24
0
votes
0 answers
Best way to delete comment replies in a thread
I'm working on a project (Asp.Net MVC CodeFirst) with threaded comment system.
here is the comment model :
public class Comment : EntityBase {
public string FirstName { get; set; }
public string Email { get; set; }
public string Body {…

Hooman Limouee
- 1,143
- 2
- 21
- 43
0
votes
1 answer
django-threadedcomments: 'RequestContext' object has no attribute 'META'
I try to use django-threadedcomments
But when I add into template
{% load threadedcomments_tags %}
I get error on this lines
{% render_comment_list for publication %}
{% render_comment_form for publication %}
'RequestContext' object has no…

Sergey Tytarenko
- 161
- 1
- 4
- 10
0
votes
1 answer
Fields E300 error with django threadedcomments
I am trying to install this module django-threadedcomments from this github https://github.com/HonzaKral/django-threadedcomments. But when I run migrate I get the following error. Note: I'm using Django 1.7 and django_comments is also installed. …

cloudviz
- 971
- 4
- 15
- 40
0
votes
1 answer
Group messages in threads in PHP
I have an array of messages with their references to parent message(s), it looks something like this:
array (
'm1' => array ('m9'),
'm5' => array ('m3', 'm4', 'm2'),
'm2' => array ('m1'),
'm3' => array ('m2', 'm1', 'm8'),
'm6' => array…

webfreak
- 67
- 1
- 7