Email notification when new items are added to the queue

esadot - May 3, 2007 - 16:19
Project:modr8
Version:6.x-1.x-dev
Component:Code
Category:feature request
Priority:normal
Assigned:codex.gr
Status:needs review
Description

Hi,

Would be great if an email notification could be sent to the moderator when new items are added to the queue, so that the moderator could go and read it.

I see that some of the work had been suggested http://drupal.org/node/98182, but I'm not sure where it stands.

Would be great to have this feature.

Regards,

#1

Joe Malik - October 22, 2007 - 12:16

Hi,
+1 on this. I really would like to see this feature - are there plans to realize email notification in modr8 on new content / queue items?

#2

Joe Malik - October 22, 2007 - 13:35

-1 on this: Solved this feature request with the notify-module (http://drupal.org/project/notify).

#3

codex.gr - November 14, 2007 - 16:23
Version:5.x-2.2» 5.x-2.3
Assigned to:Anonymous» codex.gr
Status:active» needs review

I have needed this facility for a project of mine and I modified modr8 to do just that. It allows the send of a notification to all the users in a role that has the 'moderate content' access.

It works fine, feel free to include it in the module.

Konstantinos

AttachmentSize
modr8.patch 6.2 KB

#4

pwolanin - December 13, 2007 - 01:04

hmm, I think I'd rather see a hook or some other facility.

#5

lupus78 - June 13, 2008 - 09:37

Is it still not solved?
I'm trying Notify, but it would be easyer with the Modr8 module itself...

#6

peashooter - August 4, 2008 - 10:10

Is this patch ok to use?

#7

marcingy - October 25, 2008 - 17:25
Version:5.x-2.3» 5.x-2.4

Rerolled for 5.x-2.4. I agree that this feature should go in. Given that modr8 is responsible for the rest of the email handling it only makes sense that this is also the responsibility of the module.

AttachmentSize
modr8_2.patch 6.33 KB

#8

mdowsett - November 26, 2008 - 20:12

I agree - I don't like the idea of depending on the notify.module to mail this out. Thanks for the patch.

There is a type-o in this note on the /admin/settings/modr8 page

"Only nodes with access to 'moderate_content' will be displayed. Leave blank to disable moderation email"

It should read:
"Only roles with access to..."

#9

mdowsett - November 26, 2008 - 20:50

I did the patch manually (no shell access) but it isn't working. I'm getting this error now when I submit a new content type that goes into moderation:

warning: Invalid argument supplied for foreach() in /home/aitken/public_html/sites/default/modules/modr8/modr8.module on line 337.

And no moderation emails are being sent after running cron

I've attached my manually adjusted modr8.module for review (if you don't mind...)

AttachmentSize
modr8.module.zip 4.31 KB

#10

mdowsett - November 27, 2008 - 14:05

marcingy, can you post a zipped copy of your entire modr8 module folder so I can test your copy to see if it works?

#11

pwolanin - November 27, 2008 - 18:24
Version:5.x-2.4» 6.x-1.x-dev

I'm not really planning to add any more new features to the 5.x module. For 6.x, it should hook into the actions system:

http://api.drupal.org/api/function/hook_hook_info/6

#12

mdowsett - December 16, 2008 - 04:10

I think this is the patched d5 version (see attached).

I just finished upgrading the site to d6....so now I have to see if I can adjust the d6 version properly

AttachmentSize
modr8.zip 18.68 KB

#13

mdowsett - December 16, 2008 - 04:15

pwolanin are you saying that the d6 version of the module should already work? It isn't working for me now so either it needs a patch or I'm doing something wrong (yet again).

I'm not familiar with actions in D6 as of yet so if you have any tips there, that'd be great.

#14

pwolanin - December 16, 2008 - 15:11

I'm not sure that it works yet, but we should basically find a way to trigger actions rather than rebuilding such a system.

#15

mdowsett - May 28, 2009 - 02:15

After six months of me sitting around and doing nothing with this.... :)

I tried Actions/Trigger in d6....I suppose that will work but there aren't any options to tell it to only send an email when a certain content-type is created....it's either ALL content or NONE.

I'm still VERY new with Actions....is there something else I can do to help get this functionality?

 
 

Drupal is a registered trademark of Dries Buytaert.