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

Comments

sun’s picture

Status: Active » Postponed (maintainer needs more info)

Isn't there a message displayed already?

mrwhizkid’s picture

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.

sun’s picture

Well, the code I see says:

  drupal_set_message(t('Your message has been added.'));
toniw’s picture

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.

sun’s picture

Title: How to display alert to user of a new guestbook entry » Display notification about new guestbook entries
Component: User interface » Code
Category: support » feature
Status: Postponed (maintainer needs more info) » Active

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

mrwhizkid’s picture

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

Anonymous’s picture

Subscribing.

xqbzzr’s picture

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

sun’s picture

Status: Active » Closed (duplicate)

Thanks for taking the time to report this issue.

However, marking as duplicate of #71770: Add integration with Notifications. You can follow up on that issue to track its status instead. If any information from this issue is missing in the other issue, please make sure you provide it over there.