At this moment I am working on a comment system for one of my clients but I am running into a problem.
The comment system has some additions to it, since the comments are ‘concepts, ideas & inspirations’ – kind of crowdsourcing community.
Anyways, I now have: the comment excerpt a image and the title on the normal page, with a link to the bottom ‘See more’ (Zie meer in dutch).
When clicking on this link you’re brought to a another page where the whole comment can be seen (images, story, etc).
But now my client had the question; can people reply to a ‘idea, concept or inspiration added by another user’ – this ‘ideas, concepts or inspirations’ are technically seen comments.
For some reason, if the max-depth and depth arguments are equal, the comment reply link function returns NULL. According to the Codex page on this function, you should not provide a max-depth argument, in which case I don’t know where it’s supposed to come from.
I don’t really understand this behavior of the function, but it appears this is what you are running up against.
Viewing 1 replies (of 1 total)
The topic ‘Reply to comment on single comment page’ is closed to new replies.
(@reakon)
10 years, 10 months ago
Dear,
At this moment I am working on a comment system for one of my clients but I am running into a problem.
The comment system has some additions to it, since the comments are ‘concepts, ideas & inspirations’ – kind of crowdsourcing community.
Anyways, I now have: the comment excerpt a image and the title on the normal page, with a link to the bottom ‘See more’ (Zie meer in dutch).
When clicking on this link you’re brought to a another page where the whole comment can be seen (images, story, etc).
I do this as following:
Then I pull the comment ID & the page ID from the link (the author is there for SEO reasons).
But now my client had the question; can people reply to a ‘idea, concept or inspiration added by another user’ – this ‘ideas, concepts or inspirations’ are technically seen comments.
So I tried to add a ‘reply to’ link:
but when I ‘var_dump’ this… it says: “NULL”.
Anyone an idea how to make this kind of comment system?