Closed (fixed)
Project:
Application Toolbar (Appbar)
Version:
6.x-1.x-dev
Component:
Code
Priority:
Normal
Category:
Feature request
Assigned:
Unassigned
Reporter:
Anonymous (not verified)
Created:
1 Jan 2010 at 03:44 UTC
Updated:
18 Jun 2015 at 03:32 UTC
Jump to comment: Most recent, Most recent file
Comments
Comment #1
icecreamyou commentedThat's what the module is for. Just enable the alerts you want to see at admin/settings/appbar/display and the module does everything else for you.
Comment #2
Anonymous (not verified) commentedHello IceCreamYou
i tried it but from what i experienced it is not possible with the display settings to get what i'm looking for. it can only send notifications to the author of the node or the admin (user1), right?
This is what i'm trying to achieve
Situation
node written by TOM
1st comment written by JACK
2nd comment written by BOB
3rd comment written by SARAH
i want JACK to get notifications of BOB and SARAH's comments.
Maybe rules with some php is the way to go here or a custom module?
Happy new year btw. Thank you for contributing all these awesome modules, i have implemented the facebook style status module for a customer the other day. it's really very valuable work you do for the drupal project.
Comment #3
icecreamyou commentedWell thank you. Happy new year to you as well.
Looks like you're right--that functionality is not built in by default, although it probably should be. In the mean time, Appbar integrates with the Rules and Activity modules as well as the core Trigger module, and you may be able to use one or more of these to get the result you want. (Rules is probably your best bet.)
Postponing until I get some time to work on this.
Comment #4
vertazzar commentedAnd rules integration doesn't work as intend, so if the bara.munchies had problems even with the 'built in' settings for notifying other users of their nodes being commented, something is definitely wrong with Appbar API (it wont work with database inserts when other ID than global $user is set)
I've already discussed with you about the rules integration and I have no idea how it could be the problem with rules when tons of other modules are integrated with rules and have 0 problems.
Maybe you should review your code for possible errors, than this module could be useful at last. Without rules integration, it is a waste.
BTW - bara.munchies, that feature can be done by rules with setting proper conditions and truth check values.
Comment #5
icecreamyou commented@vertazzar, for goodness' sake, there's nothing wrong with Rules integration or the Appbar API. There's something wrong with your installation. If you read the thread instead of looking for something wrong to criticize, you would see that it's not that Appbar isn't working, but that there isn't an option for what bara.munchies wants without using Rules. And you even admit that it will work with Rules. Please take your unfounded and irrelevant diatribe elsewhere, as it doesn't belong in this thread. If you don't like the way Appbar works, instead of berating the free work I've done with my little spare time, offer a patch to improve it.
Comment #6
Anonymous (not verified) commented@vertazzar don't know whats wrong with you. you are being very rude.
@IceCreamYou
i ended up writing a small module hooking into comment publishing, checking for involved users and then just sending each one a alert via api. some conditions not to send twice or to comment creator. i like your module. the api is simple and clear. can use for any purpose. next i will write a private message hook. will clean up the code and then post it here.
but it's a seperate module and not a patch.
Comment #7
vertazzar commentedI just say that rules could do the job because I know what rules have to offer, I don't "admit" anything I just stated the facts of appbar while I was testing it. Ive tested Appbar about month ago and found no solution with it, and for me - it is bugged. ANYWAYS I didn't want to flame you or your work. It's your thinking that defined my opinion unfounded and irrelevant. My intention of posting that comment was only to help the author of this topic.
If you cannot understand my English well, sorry I don't live in USA, or England, I'm from Bosnia.
Comment #8
icecreamyou commented@bara.munchies
I'm glad you found the API easy to use. I would much appreciate if you would attach your code here as it would greatly simplify adding this feature to Appbar even if it's not in patch form. I've already written Privatemsg integration but the Privatemsg maintainer declined to include it in the module and instead posted it in the handbook here.
Comment #9
vertazzar commentedI created rule that sends alert to node author when someone adds a comment, but was unable to make facebook-like behavior.
(Btw IceCreamYou, i made the rules work when using
echo $node,user,bla blavars at PHP Evaluation. The token usage was the problem that I've encountered...So did anyone made the facebook-like behavior ?
Comment #10
vertazzar commentedI have suggestion for rules integration...
Comment #11
vertazzar commentedhere is the version of it which contains misc and profile type, including the rules suggestion.
I don't know how to submit a patch, so im just going to attach .zip file.
Btw you can see the little demo here:
http://pokit.etf.ba/upload/pokit634b9206656831123c8782279320a0a5.png
Comment #12
icecreamyou commented@vertazzar I originally excluded the identifier field because any identifier that is not explicitly defined by a module is ignored. However, your point is well-taken, and I could potentially build a select-list. I will not be able to commit anything for about two weeks but once I get some time I will probably implement something based on your suggestion.
Comment #13
vertazzar commentedaha, i manually added the identifier - i saw that you created the function that prevents any other identifiers inserted than the ones defined - which is good.
thank you anyways, i created what i wanted with this module and ill be glad to assist you in further dev at least with ideas. (cuz im not so good with php)
Comment #14
icecreamyou commentedI just committed support for alerting all commenters in a thread, as well as specifying a category in a Rule.
Comment #16
ilw commentedThank you all for the effort!
I think its much better to utilize the PrivetMSG and I'm waiting for any ready-made module to handle this.
Anyway, thank you again.