Gabriel Torres Posted December 17, 2015 Share Posted December 17, 2015 Is there a way to set a given notification configuration to all users in the database? For instance (just an example), I want to change the "When someone likes something I posted" notification from all users to "notification list" instead of "email". How can I do that? Maybe through an SQL query? Link to comment Share on other sites More sharing options...
MADMAN32395 Posted December 17, 2015 Share Posted December 17, 2015 Could start by changing the setting in Members>Member Settings> Notifications ; change the ones you want to notification instead of email. making sure to disable end user editing. Link to comment Share on other sites More sharing options...
Gabriel Torres Posted December 17, 2015 Author Share Posted December 17, 2015 @MADMAN32395 already did that, but that only applies to new members. I want to change that for all current members. Link to comment Share on other sites More sharing options...
MADMAN32395 Posted December 17, 2015 Share Posted December 17, 2015 4 minutes ago, Gabriel Torres said: @MADMAN32395 already did that, but that only applies to new members. I want to change that for all current members. something like this? UPDATE core_notification_preferences SET preference='inline' WHERE notification_key='new_likes'; that should target everything for new likes, applying to onsite notifications to all users. would recommend backup before running queries directly. Link to comment Share on other sites More sharing options...
Gabriel Torres Posted December 17, 2015 Author Share Posted December 17, 2015 Yes, exactly this, I just needed to know the name of the table! Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.