Notifications based on profile field
-
The Problem:
I want to send notifications (or Private Message) using BuddyPress to users [X] amount of days after a date custom field I’ve added to their profile.For example, Let’s say my website was too help people quit smoking. When they sign up to my BuddyPress website it would ask them for the date they quit smoking.
10 days after the quit date I would like BuddyPress to automatically send a notification containing one of these messages (chosen at random)
• Sharp Hearing: Quitting smoking will keep your hearing sharp. Remember, even mild hearing loss can cause problems (like not hearing directions correctly and doing a task wrong).
• Better Vision: Stopping smoking will improve your night vision and help preserve your overall vision by stopping the damage that smoking does to your eyes
• Clean Mouth: Nobody likes a dirty mouth. After a few days without cigarettes, your smile will be brighter. Not smoking now will keep your mouth healthy for years to come.
• Clear Skin: Quitting smoking is better than anti-aging lotion. Quitting can help clear up blemishes and protect your skin from premature aging and wrinkling.And continue to send one random notification every day until the ex-smoker hits the 20-day mark where another array of messages will be chosen from.
- You must be logged in to reply to this topic.