Display notification about new guestbook entries
mrwhizkid - January 7, 2009 - 04:01
| Project: | Guestbook |
| Version: | 6.x-2.x-dev |
| Component: | Code |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | active |
Jump to:
Description
I would like to be able to have a message display on my website to an individual user when he/she receives a new guestbook entry. Would I use Rules to do that? If so, what custom code would I have to input in order to make this work?
Thanks in advance

#1
Isn't there a message displayed already?
#2
No there is not. I am looking for a way to display the message on the top of the content (much like privatemsg does when you receive a new message). If you are able to do that with your installation, please let me know how you do it.
#3
Well, the code I see says:
<?phpdrupal_set_message(t('Your message has been added.'));
?>
#4
The 'your message has been added'-message is displayed to user Y at the moment she adds the entry.
I think mrwizkid means that he would like a message to be displayed to user X to notify him that a new entry was made to his guestbook, probably at login-time.
#5
I see! :-P Thanks for clarifying, now it starts to make sense.
#6
That's exactly what I need. Does anyone know how to code this? Thanks.
#7
Subscribing.
#8
Subscribing.
A pitty that guestbook entries are no nodes. That would allow entries to appear in the "tracker" view for any new content on the site. Or ist there a workaround to have entries "tracked"?
Probably Guestbook 2.0??