preference check applied for forum notifications

Added checks to send notifications based on the preferences set in the user dash board