You are viewing the PKP Support Forum | PKP Home Wiki

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
What to do if you have a technical problem with OJS:

1. Search the forum. You can do this from the Advanced Search Page or from our Google Custom Search, which will search the entire PKP site. If you are encountering an error, we especially recommend searching the forum for said error.

2. Check the FAQ to see if your question or error has already been resolved.

3. Post a question, but please, only after trying the above two solutions. If it's a workflow or usability question you should probably post to the OJS Editorial Support and Discussion subforum; if you have a development question, try the OJS Development subforum.

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: 16
Joined: Tue Nov 06, 2012 1:19 pm

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: 1
Joined: Wed Jun 18, 2014 12:04 am

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
Posts: 10015
Joined: Wed Aug 10, 2005 12:56 pm

Return to OJS Technical Support

Who is online

Users browsing this forum: Bing [Bot], Google [Bot], Yahoo [Bot] and 2 guests