I was unable to enable the module from /admin/build/modules. The checkbox is dimmed. I used drush to enable it but still the checkbox is dimmed (see attached screenshot). Right now comments (with Ajax Comments 1.x-dev) do not appear but I'm not sure if this is related.

CommentFileSizeAuthor
#3 Screenshot-8.png9.9 KBshadysamir

Comments

kjv1611’s picture

I don't see any attachments.

I'm not involved with this module, and never used it, but this is what I'd ask first: Are you sure this module doesn't depend on some other module which you don't have downloaded or enabled? Check the specifics for the module to determine whether something else is required before you can run this one.

shadysamir’s picture

Title: Can't enable. Checkbox dimmed » Can't enable. Checkbox dimmed and Comments Dissappear
Category: support » bug

Further findings: Enabling the module alone without ajax_comments causes comments to disappear.

Changing title and marking as bug

shadysamir’s picture

StatusFileSize
new9.9 KB

Screenshot was not attached with first post

shadysamir’s picture

check my last reply.

This module only depends on comment module, which is there and enabled. I even checked the info file for dependencies. You can see the screenshot that I attached now for a better idea

shadysamir’s picture

I had ajax-comments 1.x-dev installed. So I installed ajax_comments 1.8 instead and the checkbox was undimmed making it possible to enable and disable the module from modules admin page. But still enabling the module makes the comments disappear.

locomo’s picture

subscribe

parasolx’s picture

I also facing same problem. All comments disappear when both modules activated (Ajax Comment + Comment Bonus).
First i though it maybe causes by Ajax Comment, so i disable it, still all comments disappear.
Disable Comment Bonus, all comment reappear.
So i though it maybe have problem with any module related with this module.
I disable all module that altered all comments, but still it disappear.

Another site, I used both module and it works like a charm. So, IMHO it maybe have related with Panel module that have been complaint before.

So, at this time, I back port to Ajax Comment 1.8 that works like it should be.

shadysamir’s picture

Do you have any links to issues with panels module?

rjbrown99’s picture

Please see this issue for information on panels: #354836: Doesn't work with comment forms in panels. There is also this issue: #672722: Add compatibility with panels.

To the original poster: if this issue is specifically related to panels I'd like to close it as a duplicate of the other one since it has additional information. Please advise.

parasolx’s picture

On site that working, no Panel module has been installed.
but on site that have Panel module, all previous comment disappear.

rjbrown99’s picture

Status: Active » Closed (duplicate)

Thanks for the update. Let's call this a duplicate of #394836: Is it possible to add an extra encoding ?. Please migrate to that issue in regards to panels integration. Thank you.

parasolx’s picture

Hrm, i think you have refer to wrong issue. i think it supposed to this issue #672722: Add compatibility with panels

shadysamir’s picture

Status: Closed (duplicate) » Active

This has nothing to do with panels on my site. The page showing the node with comments has no panels on it.

rjbrown99’s picture

Please provide quite a bit more information - the new README in the -dev branch has a list of things to try and information to provide for additional help. Also make sure you are on the latest -dev.

shadysamir’s picture

I cant find the README in DEV branch. Do you mean for bonus API or for Ajax Comments?

rjbrown99’s picture

Sorry, I meant for Ajax Comments. The two are so closely related.

http://drupalcode.org/viewvc/drupal/contributions/modules/ajax_comments/...

shadysamir’s picture

I read the troubleshooting instructions, and the only issue that applies in my case is the theming. I'm not sure if you mean each comment DIV needs to have .comment class, or if all comments should be inside a DIV with .comment class. But as you mentioned comment.tpl.php I changed each comment to have .comment class from this
<div class="comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">
to this

<div class="comment comment<?php print ($comment->new) ? ' comment-new' : ''; print ' '. $status; print ' '. $zebra; ?>">

but the problem is still there.

If you mean all comments to be in a .comment DIV, then I dont understand why since the default comment-wrapper.tpl.php uses .comments class

By the way, the module checkbox is no longer dimmed in modules page with the latest DEV

shadysamir’s picture

Any updates?

DaPooch’s picture

I'm in the same boat, I can't get my comments to appear with this module (bonus api) enabled. When I disable they come back. Tried basic garland theme and still no comments. I do have a comment class applied to my comment.tpl.php and still nothing. Has anyone got the latest dev to work with latest AJAX_comments DEV?

bariew’s picture

I used
"$('#edit-status-comment-bonus-api').attr('checked', true)"
in Firebug console to enable "Comments bonus API" ;)

But comments do not disappear when i delete them.
So i added
"if($(this).parents('.forum-post').length)commentbox=".forum-post";"
after
"var commentbox = ".comment";"
in "ajax_comments.js" in 'Ajax comments' module;
now it works fine.

rjbrown99’s picture

Status: Active » Postponed (maintainer needs more info)

Need more information, can't currently reproduce this. I did make the module_load_include optional only if the ajax_comments module exists but that should not be a factor here since it returns FALSE if it can't find an include.

rjbrown99’s picture

Status: Postponed (maintainer needs more info) » Closed (cannot reproduce)