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
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

sun - January 8, 2009 - 05:33
Status:active» postponed (maintainer needs more info)

Isn't there a message displayed already?

#2

mrwhizkid - January 8, 2009 - 09:34

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

sun - January 9, 2009 - 10:11

Well, the code I see says:

<?php
  drupal_set_message
(t('Your message has been added.'));
?>

#4

toniw - January 9, 2009 - 10:17

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

sun - January 9, 2009 - 10:19
Title:How to display alert to user of a new guestbook entry» Display notification about new guestbook entries
Component:User interface» Code
Category:support request» feature request
Status:postponed (maintainer needs more info)» active

I see! :-P Thanks for clarifying, now it starts to make sense.

#6

mrwhizkid - January 11, 2009 - 09:51

That's exactly what I need. Does anyone know how to code this? Thanks.

#7

BENNYSOFT - February 15, 2009 - 17:36

Subscribing.

#8

xqbzzr - May 29, 2009 - 10:41

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??

 
 

Drupal is a registered trademark of Dries Buytaert.