How to set "email" notification settings to on by default

Are you responsible for making OJS work -- installing, upgrading, migrating or troubleshooting? Do you think you've found a bug? Post in this forum.

Moderators: jmacgreg, btbell, michael, bdgregg, barbarah, asmecher

Forum rules
The Public Knowledge Project Support Forum is moving to

This forum will be maintained permanently as an archived historical resource, but all new questions should be added to the new forum. Questions will no longer be monitored on this old forum after March 30, 2015.
Posts: 16
Joined: Tue Nov 06, 2012 1:19 pm

How to set "email" notification settings to on by default

Postby btbell » Wed Apr 10, 2013 9:19 am

We have a client who would like to have the "email" notification settings (Send me an email for these types of notifications) set as checked by default for any new users.

While I am able to set the boxes via the markup, i can not figure out how to get it to populate the database so the emails will be sent. Nor am I able to find the code to match the "allow" settings which are already set by default when OJS is installed. I have perused the class methods in the classes/notifications directory and the /lib/pkp/classes/notification/ directory as well but I'm lost.

Additionally, they would like this to apply to the existing users in the journal as well. Is this even possible?



Posts: 1
Joined: Wed Jun 18, 2014 12:04 am

Re: How to set "email" notification settings to on by defaul

Postby alejandrodf » Mon Sep 22, 2014 3:10 am


Did you find any solution to enable email notification by default for new users?

Can you share it?


Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Re: How to set "email" notification settings to on by defaul

Postby asmecher » Mon Sep 22, 2014 9:09 am

Hi all,

The notification mailing list settings are stored in two tables: notification_mail_list and notification_subscription_settings. Have a look at existing users who are subscribed as you'd like and use that as a pattern.

Alec Smecher
Public Knowledge Project Team

Return to “OJS Technical Support”

Who is online

Users browsing this forum: Baidu [Spider] and 3 guests