How can my users get e-mails to comment replies? Is there a module for this? Which do you recommend?

Comments

HollywoodChicago.com’s picture

Any help here?

silverwing’s picture

http://drupal.org/project/comment_notify

~silverwing
_____________________________________________
MisguidedThoughts | showcaseCMS

HollywoodChicago.com’s picture

I just installed the module, but it says I have to do a patch (http://drupal.org/patch/apply). I don't understand how to do this as I don't have shell access to my server. Any ideas how to do this patch?

silverwing’s picture

open up comment.module in a text editor on your computer (something like crimson editor for windows - it has to have the line numbers.)

Go down to line 803 and add this:

 else {
	comment_invoke_comment($edit, 'publish');
   }

before

   return $edit['cid'];
     }
     else {

notepad++ might have the line numbering, too.

~silverwing
_____________________________________________
MisguidedThoughts | showcaseCMS

HollywoodChicago.com’s picture

Thank you so, so much!

HollywoodChicago.com’s picture

Now there's another problem. :-(

Now that my comment e-mails are working when you manually turn them on in a comment, they're not staying checked automatically even when that setting is on in your account settings, which is on by default.

Any idea why? I'm trying to make it so comment e-mails are on by default unless you turn them off on a post-by-post basis, which this module is supposed to do.

silverwing’s picture

in Administer » Site configuration -> comment notify

the second checkbox on that page?

_____________________________________________
MisguidedThoughts | showcaseCMS

HollywoodChicago.com’s picture

I don't have that admin settings link...? I was actually wondering about that (how to manage the settings for this). I don't have a link for that! What should the link be?

I also don't see an entry for permissions for comment notify. Is something wrong here with my install of this module or something?

silverwing’s picture

You can enable the module on the module page, but can't get at its settings.

The only settings I can find are in the site configuration page.

You might want to delete the module and reinstall (if you haven't already.) Or try using the other version. (I'm using 5.x-1.4.

~silverwing

_____________________________________________
MisguidedThoughts | showcaseCMS

HollywoodChicago.com’s picture

I just tried uninstalling and reinstalling (I'm using the same version as you) the module and I still don't see any settings for it. I also don't see any access permissions for it.

What's the URL to the settings? Is it admin/settings/comment-notify or something?

silverwing’s picture

http://yourdomain.com/admin/settings/comment_notify

you may want to add an issue to the project (or check there if you haven't already since I'm probably no more help to you.)

~silverwing
_____________________________________________
MisguidedThoughts | showcaseCMS

HollywoodChicago.com’s picture

Strange. It's saying I'm not authorized to access that page at my site. Did you set permissions for this module, too? If so, I'm also not seeing a permissions section for this module.

Also, I did add an issue back on Feb. 22 (http://drupal.org/node/225567). No replies. :-(

silverwing’s picture

I don't remember setting any permissions. Are you logged in as the super-user (1)? Are you running any node access type modules? Any other comment type modules?

I'm at a loss as to why it isn't working.

~silverwing

_____________________________________________
MisguidedThoughts | showcaseCMS

HollywoodChicago.com’s picture

Actually, that's a separate issue. I'm logged in as user No. 2. I don't know how to log in as user No. 1 and I'm the owner of the site. How would I log in as user No. 1? There doesn't appear to be a user created for the first user.

I don't have any other special modules that should be interfering with this, I don't believe...

Quint’s picture

do you have access to the database?

HollywoodChicago.com’s picture

Yes... What should I do there?

In "users," I can see that there is a "0" user and a "2" user but no "1" user. I'm using phpMyAdmin. I don't know how to add a "1" user.

Quint’s picture

For a quick fix for this problem, you can give the user that you *can* log in with, the access to administer the email_comments in the db.

But how to re-create the super-user... I can't be sure enough to tell you, and since it might break things, you better search for it. Your DB is backed up right?

You'll eventually need to do it anyway.

HollywoodChicago.com’s picture

For a quick fix for this problem, you can give the user that you *can* log in with, the access to administer the email_comments in the db.

Ok. How do I do that?

silverwing’s picture

You really have to have access to the super user, even if you don't post content under that username. For example, updating your site after you upgrade the core or modules requires user 1.

This super user would have been the first one created. It is there. In phpmyadmin, go to the user table and see who's user one. You can try logging in with that name and the password if you remember. If you don't remember the password, change the email address in the database for it and then log out of your site and go to /user, and request a new password.

(backup the database before all this, of course.)

~silverwing

_____________________________________________
MisguidedThoughts | showcaseCMS

HollywoodChicago.com’s picture

Should I be looking in the database under "users" and then "uid"? I see a "uid" of "0" and a "uid" of "2" but no "uid" of "1". I'm not sure if "1" got deleted or what. Could my super user be "uid" "0"? If so, how do I see the e-mail for it?

I'm seeing a blank field in /users/name and users/mail. Also, how in phpMyAdmin do I edit one of these entries? I've never used phpMyAdmin before and I do have the database backed up.

I do see a "uid" of "1" in user_roles/uid. I just don't know what to do here.

silverwing’s picture

you might want to post another message about creating the super user/user 1. I've no idea how to do it manually.

~silverwing

_____________________________________________
MisguidedThoughts | showcaseCMS

HollywoodChicago.com’s picture

I can now successfully access the comment notify settings. I wasn't logged in as super user #1 and there was a bug in the module that didn't allow me access to it.

I applied a new patch (http://drupal.org/node/222740) and it now indeed works for users with admin rights that aren't super user #1.

By the way, after I applied the patch, I had to give myself permissions to administrate it first before the settings popped up. Thanks for everyone's help here!