Hi!
I want to make the notification system "role driven". Users can subscribe but cannot set a desired timeframe to be notified. This is decided according to their role. Admins set the appropriate time frame for each role to be notified.
If this is not clear, imagine you're running a news site and you have free and paying users.
Paying users are notified immediately on content creation/change and non-paying users are notified x hours later.
I would like to know if this is possible and how hard could it be. Any help is appreciated! =)
Thanks in advance!
Ricardo
Comments
Comment #1
salvisEach user can set their own Send Interval. You can hide the controls that do that (just watch out for the [Reset to site defaults] button). Then you can set the user's Send Interval in the {subscriptions_user} table in a hook_user function when roles are added to the user.
Comment #2
Anonymous (not verified) commentedAutomatically closed -- issue fixed for two weeks with no activity.