HI,
A requirement of my project is for users to be able to subscribe to individual categories of specific content types. I have CCK news and event nodes, which both have taxonomy categories assigned to them.
I made changes to this module so the user can go into "my notify settings" and see a list of checkboxes for each taxonomy term for each cck node.
I also made changes for a user to be able to define when they should receive updates: 1. immediately 2. daily 3. weekly
The only problem is, because CCK don't have teasers, I have yet to come up with a nice solution to send only teasers or the body of CCK nodes through the notification system.
I am new to drupal programming, so I am unable to provide a decent patch, but I can certainly hand over the changes I made so someone else can provide a proper patch, if anyone is interested.
Cheers,
-Justin
| Comment | File | Size | Author |
|---|---|---|---|
| #5 | notify.install.patch | 752 bytes | Cauliflower |
| #5 | notify.module.patch | 7.65 KB | Cauliflower |
Comments
Comment #1
RobRoy commentedHave you looked at http://drupal.org/patch? Using TortoiseCVS you can pretty easily create a patch and this would be very helpful. If you can separate your changes so there is just one feature for each patch/issue.
Comment #2
bill18 commentedThis can be a very useful feature for users. A Notify module sending notification for everything doesn't make much sense for users. Since I know nothing about php programming, I hope that a new notify module (on version 4.7)with such feature will be ready ASAP.
Comment #3
stella commentedMarked #137534 as a duplicate of this.
Comment #4
Pushkar Gaikwad commentedSo what is the progress on this as I can still see the status as active ?
I am myself looking for similar feature where ppl can subscribe to taxonomy terms rather than subscribing to everything. Is there anyway i can do this ?
Thanks
Comment #5
Cauliflower commentedThis is my first patch for the drupal system, so please check my code and post your remarks.
After updating the notify module you can:
- on the 'Admin page': check which vocabularies the users can choose from
- on the 'My notification page': the user can select their interests
Some remarks:
- If the users haven't checked any terms of a vocabulary => he/she will be notified of all nodes
- If a node has no vocabularies specified => he/she will always be notified
Thanks.
Comment #6
Jack_Sparrow commentedI've applied the patches and am in the process of testing...
So far the output is 100% OK ;-) (There were just 2 '}' that needed to be deleted - unexpected errors...)
I've posted content and will wait to see the results...
I'll update as soon as I can.
THANK YOU FOR THIS!!!
Comment #7
pieterdc(just posting a comment as a way to subscribe to this thread...)
+1 for this feature
Comment #8
Cauliflower commented+1
Comment #9
mdowsett commentedhow about an option to send out notifications on nodes that have been edited...? can that be added?
Comment #10
jwilson3Somehow applying the patch from the command line resulted in errors:
The file permissions got munged for the notify.module file...note the missing '+' after ls -al
not sure why it happened, i just copied the notify.install file (with correct permissions) to notify.module.new and pasted in the contents from the notify.module file, then erased the bad one, and replaced it with the new one.... all is well :/
--edited after i noticed the problem was the missing '+' sign -- extended security
Comment #11
matt2000 commentedoutside the scope of this module. Other modules do it better.