Closed (fixed)
Project:
Comment Bonus API
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Created:
3 Apr 2009 at 22:42 UTC
Updated:
6 Dec 2011 at 01:30 UTC
I installed Node Comments module and the built in comments module has been turned off.
Now the AJAX Comments is not working.
Does anybody have an idea how to fix the problem
And does abybody know in which module the problem exist ?
Comments
Comment #1
neochief commentedThe problem is in the fact that Node Comments have different implementation than the standard comments module, and ajax_comment currently even not trying to hook-in into node_comments. I can't say when this compatibility will be solved, as it is not in middle priority right now.
Comment #2
eidolon nightThe new nodecomments module allows you to choose whether to use nodecomments or Drupal comments for each content type. I'm currently only using nodecomments in the forums (with drubb). Is there any way to disable ajax comments for certain content types? Maybe a check to only use ajax comments when not using nodecomments.
The above is the issue. It's located in comment_bonus_api.module What I'd like to do is only execute the function for the node types for which AJAX comments has been enabled.
Comment #3
izmeez commentedsubscribing
Comment #4
Fidelix commentedsubscribing
Comment #5
darthf1 commentedSubscribing. I would like to see compatibility with Node Comments, as Node Comments is going to be the standard in the new version of Advanced Forum.
Comment #6
ltwinner commentedsubscribing, node comments + ajax comments = great combination for drupal
Comment #7
imDhaval commentedsub+
Comment #8
rjbrown99 commentedYou can set ajax_comments up to only be enabled for different content types. It's part of the administration UI under Site Configuration -> Ajax Comments -> Content Types.
It sounds like this is more closely related to comments_bonus_api, so I am moving it there. It is also related to the issue raised in #672722: Add compatibility with panels since we're talking about the same overridden menu path.
I'm not using those modules personally so I am not going to be able to help beyond reviewing patches that are submitted by others.
Comment #9
webviper commentedI created a small hack that lets ajax comments and node comments work in conjunction with each other. I'll see if I can dig it up when I get home and post it up here.
Comment #10
rjbrown99 commented#9: Thank you. If it's a workable solution for the issue I'm certainly open to having it reviewed for inclusion in the module. There seems to be some interest in this issue.
Comment #11
webviper commentedOops, forgot about this topic. Here's the code -
Comment #12
davethedruper commentedThis might be a stupid question but what file do you put this code into?
Comment #13
webviper commentedYou need to create a module, put that code into it and then enable it.
Comment #14
light9 commentedOn, my installation (6.19) it is not working. comment-wrapper.tpl.php still rendering through nodecomment_node_view instead comment_bonus_api. I use ajax_comments + comment_bonus_api.
Comment #17
rjbrown99 commentedLooks like the answer is in #11.