Active
Project:
Guestbook
Version:
6.x-1.1
Component:
Miscellaneous
Priority:
Normal
Category:
Feature request
Assigned:
Reporter:
Created:
30 May 2006 at 04:40 UTC
Updated:
6 Feb 2011 at 20:25 UTC
Jump to comment: Most recent file
My users are requesting an email notification when a new guestbook message is posted. I tried to do this with the action module but have been unsuccessful so far.
| Comment | File | Size | Author |
|---|---|---|---|
| #2 | guestbook_message.module | 4.08 KB | mfredrickson |
Comments
Comment #1
ajwwong commentedFind this line in code:
// Insert new message
Then put this in front of it:
works for 4.7...
good luck!
Albert
www.ithou.org/Esalen
Comment #2
mfredrickson commentedI had a client that also requested this feature. I've implemented a more complete solution, available as an add-on module. I hope it can be included in the main line code after review, but for now, you can just drop this module into your modules directory and go with it.
Enjoy,
-Mark
Comment #3
hba commentedThanks for the submitted code. I'll review it (and possibly include it into the guestbook) as soon as I have some spare time.
Comment #4
coltraneThanks mfredrickson for the module, it is very useful! I added a couple lines so that messaging is enabled by default for all users, perhaps if this feature makes it into the guestbook module there could be an option under the admin settings to make it enabled by default for all users?
Here's hoping this makes it into the main module. hba, I'd be willing to help in any way (rolling a patch perhaps) if needed.
Thanks!
Comment #5
hba commentedE-mail notifications are included in 5.x.
Comment #6
(not verified) commentedComment #7
andrenoronha commentedi'm using guestbook 6.x-1.1 and i receive notification emails, but these emails only show the content of the entry.
i'd like to customize it to send the user only a message "new message for you, click here to see it".
how can I arrive there?
Comment #8
ajayg commentedThere are several questions about this issue. If you want to close it, could some one please explain
what is so diffcult to add the senders name on line?
$message['subject'] = t('New guestbook entry at !site', $variables, $language->language);
if we can some how pass the user->name to this subject , that should solve the problem