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
The Public Knowledge Project Support Forum is moving to http://forum.pkp.sfu.ca
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.
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
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
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.
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] and 2 guests