Paid affiliate advertisement

Need notifications module help

MountainX - May 24, 2009 - 16:51

My goal is to automatically notify by email ALL existing users when ANY new content is put on my site (blog post, forum topic, etc.)?

EDIT: I have decided to use the notifications module and notifications_extras (add-ons). They look to be the best for my requirements.

My problem is that I cannot get custom subscriptions to work. I can get standard subscriptions to work, no problem. So I need help solving the problem with custom subscriptions.

I will pay you for a solution.

More info:

I'm running Drupal 6.12 on Ubuntu 8.04 hosted at Linode.com. My configuration is a multisite with 4 sites.
Here is my list of enabled modules:
FCKeditor - WYSIWYG HTML editor 6.x-2.0-alpha5
Global Redirect 6.x-1.2
Image 6.x-1.0-alpha4
Messaging 6.x-2.0
Mollom 6.x-1.7
Notifications 6.x-2.x-dev (2009-May-18)
Notifications Add-ons 6.x-2.x-dev (2009-Apr-28)
Recommended version: 6.x-2.0-beta2 (2009-Apr-29)
Pathauto 6.x-1.x-dev (2009-May-02)
SMTP Authentication Support 6.x-1.0-beta3
Token 6.x-1.x-dev (2009-Apr-20)
Watcher 6.x-1.2
Themes
Marinelli 6.x-2.95

My problem is that nothing ever gets added to notifications_queue table (unless I use standard, non-custom notification types). Immediately after adding new content that should trigger a custom subscription notification, here is what I see:

mysql> select * from notifications_queue;
Empty set (0.00 sec)

If you want to help me please provide me with a price quote and a time frame. Let me know when are you available. I want to resolve this today if possible. Thanks.

There is a good module

-Mania- - May 25, 2009 - 06:19

There is a good module available that can do this (and much more), called Rules: http://drupal.org/project/rules

Thanks. Rules is good, but it

MountainX - May 25, 2009 - 14:54

Thanks. Rules is good, but it is not as good as notifications for this type of task (IMO).

And why is that? Are you

-Mania- - May 26, 2009 - 00:49

And why is that? Are you after some features not available in Rules?

I haven't used notifications myself but with Rules you just add a new condition/rule e.g. "whenever there is a new blog post, email every user in role X". That resolves your main problem in about 10 minutes.

I have tried both Rules and

MountainX - May 26, 2009 - 02:31

I have tried both Rules and Notifications. The problem I had with rules is that it doesn't seem to queue & process emails as smoothly. It crashed my site when it tried to send emails to all users. I think it was just too many emails at once. I had the feeling Rules wasn't designed for the job in the same way that Notifications is. (But I still use Rules to send notices to myself when a new member registers, and it works great for that.)

So far I can't get either one to work well for notifying all users of new content. Rules crashes my site, but Notifications doesn't send emails when I use custom subscription rules... :(

I see, good to know that info

-Mania- - May 27, 2009 - 00:04

I see, good to know that info regarding Rules. I just found modules http://drupal.org/project/job_queue and http://drupal.org/project/queue_mail. Perhaps these would help together with Rules? The Queue Mail hasn't been updated for a while and has been left at dev-stage - but it might work just as well.

What is standard and custom notification types.

hsatish - May 26, 2009 - 17:18

Can you explain what is custom and non-custom notification types.

custom and non-custom notification types

MountainX - May 26, 2009 - 18:01

standard notification types are:
Thread
Author
Node Type

custom subscriptions are created with the notifications_extras (add ons) module.

The custom subscription I created contains all node types (blogs, forums, polls, images, story, book page, etc.)

It is also working for non-custom notification types.

hsatish - May 26, 2009 - 19:34

I have tested the above mentioned modules with 'send method' as 'Mail' with both default and custom content types.I am not getting any empty table.Notifications_queue table is being get truncated only after completing all the notifications process.May be you know that.

I have now learned that this

MountainX - May 28, 2009 - 01:40

I have now learned that this bug is hard to reproduce. I have 2 sites running on the same code base (multi-site) with the same modules enabled and the same settings. The custom subscriptions work in one site, but not the other. This is a very strange bug.

Hi MountainX. A bug (or a

ecstasy2 - May 28, 2009 - 08:40

Hi MountainX.
A bug (or a configuration error) i always hard to reproduce. I'm not sure we can help you without access to your site (for debugging).
So one advice: Hire a trustful developer, give him credentials and let him debug this.
Hope this help.

Been a Top Drupal Project Manager one step at the time.

If the problem comes back, I

MountainX - May 29, 2009 - 16:29

If the problem comes back, I will contact you and give you access to the site.

This may work but it is not the right solution

hsatish - May 28, 2009 - 18:55

You download the related modules again and
1.change names of those modules(may add some suffix or prefix) i.e..replace the module names with new names .
2.similarly change the names of tables in the installation file
3.change the .INFO file ETC..
4.change names of drupal variables
.............do all similar necessary changes

I mean to say that install the new modules(with same functionality) in the site which got problem.This might need enough of testing before implementing on to original sites.

A very strange bug

MountainX - May 29, 2009 - 16:28

Thanks for the responses and offers for help. My second site started working "magically". I did not change anything that I had not changed previously. I do not know what made it start working, but now both sites work.

I am convinced this is a bug. I am sure the strange behavior was not due to any settings I misconfigured. However, now that it is working for me, I will leave it alone and let it continue to work!

This is good to hear. it seen

ecstasy2 - May 29, 2009 - 16:49

This is good to hear.
it seen you've get in a lot of trouble about this issues. as you said, it could be anything (maybe a bug/ who know).
Hope this bug won't show up again.

Been a Top Drupal Project Manager one step at the time.

 
 

Drupal is a registered trademark of Dries Buytaert.