Hi IceCreamYou,

I like this module and I am on start of thinking that I remove guestbook module and replace it's functionality with facebook_status module.
But in this case I am really missing option to send to user email notify when somebody wrote something on his wall, and some option in user account edit, when user can turn off/on these notifications.

the basic notifications will be not hard, using some trigger or rules(better) I think. (or to use notifications/messaging)

what do you think about it? Will be possible to do something like this, if you will like it?
thanks
Igor
http://www.somvprahe.sk

Comments

icecreamyou’s picture

Status: Active » Closed (works as designed)

Notifications can already be done with the rules module although there's no way for individual users to turn that on or off. I haven't really looked but I think it should be possible to do the same with Triggers already.

I've thought about integration with Notifications and/or Subscriptions before, but the API's are just so massively complicated that I've always considered it out of scope. It's just not something that I want to spend a lot of time developing and maintaining.

That said, if someone wrote a module that integrated Notifications and/or Subscriptions with FBSS, I would be more than happy to add it as a submodule of FBSS, or at least to see it contributed as a stand-alone module on drupal.org.

igorik’s picture

Hi IceCreamYou, thanks for your answer.

Sending notifications by rules is good start. I will be hope that sometimes on user account there will be added some checkbox about receiving mails about new messages on the wall.
You know, it is one of the best things on Facebook, that you can be notify about posts on your wall.
But without option to turn it off I rather will wait with replacing guestbook module by facebook_status wall.

Have a nice day.
Igor

icecreamyou’s picture

Okay. I've decided to add notifications/subscription integration to the Roadmap for the 3.x branch, so this will get in eventually.

bflora’s picture

Ice,

Can you post a brief walk-thru for setting up e-mail alerts for posting on people's walls via Triggers? I'm looking at my Triggers admin settings for FBSS and I don't see any way to add a new action to the trigger that fires when someone writes on your wall.

icecreamyou’s picture

I don't think it's possible with Triggers because there's currently no way to detect the recipient of a status message. But Triggers is a horribly crippled version of Rules. If you want to do anything apart from the most dead-simple tasks you should be using Rules instead.

bflora’s picture

Cool I installed rules and got it working! This is pretty sweet.

nathaniel’s picture

On / Off

In addition to this. I created a profile check box, category preferences, called profile_status_update
admin/user/profile
Title: Do not send email on status update
Explanation: Check this box to stop receiving emails when your status is updated.

Now add "Execute custom PHP code" to your rule

<?php
if ($owner->profile_status_update<>1){
 return TRUE;
} else {
 return FALSE;
}
?>

Also thinking about checking when user was last active... something like do not send if $owner->access < 1 hour ago... so if they are online receiving messages they don't receive emails at the same time, could be annoying.

mrwhizkid’s picture

Thanks for posting this! Works like a charm.

totocol’s picture

Great module.

When creating a rule. For some reason on 6.x-3 I can't find the action to send email to user where the status has been saved at but only to the person that posted the status. Is this a known issue?

I really need 6.x-3 because I need these ones to be visible on a group basis

Thanks a lot

totocol’s picture

Sorry I found a response to this on a different thread: http://drupal.org/node/1091604