Link in Notification for Announcement

For discussion of ideas, functional requirements, interests regarding the Open Monograph Press.

Moderators: jmacgreg, John

Forum rules
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.
jpowell
Posts: 90
Joined: Wed Feb 03, 2010 3:44 pm

Link in Notification for Announcement

Postby jpowell » Wed Jun 18, 2014 1:27 pm

Hi. We just noticed that the first link in Notification about an announcement (as below) leads to a 404
---
You have a new notification from :

##notification.type.newAnnouncement##

Link: http://136.159.200.88/omp/index.php/uof ... ss/index/2
---
Also is it really necessary for notifications to go out even when an announcement is just edited?

Thanks,
Judy

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

Re: Link in Notification for Announcement

Postby asmecher » Thu Jun 19, 2014 10:54 am

Hi Judy,

See bug #8811 -- watch for the entry to change status to "closed", and when it does, there should be a complete patch posted for your installation.

Regards,
Alec Smecher
Public Knowledge Project Team

carola
Posts: 93
Joined: Mon Jun 09, 2014 10:07 pm

Re: Link in Notification for Announcement

Postby carola » Tue Jul 15, 2014 11:25 pm

Hi Alec,

where can I turn off the mail until the bug is fixed?

best,
Carola

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

Re: Link in Notification for Announcement

Postby asmecher » Wed Jul 16, 2014 8:26 am

Hi Carola,

Find the lines in controllers/grid/announcements/form/AnnouncementForm.inc.php calling $notificationManager->sendToMailingList:

Code: Select all

                $notificationManager->sendToMailingList($request,
                        $notificationManager->createNotification(
                                $request, UNSUBSCRIBED_USER_NOTIFICATION, NOTIFICATION_TYPE_NEW_ANNOUNCEMENT,
                                $pressId, ASSOC_TYPE_ANNOUNCEMENT, $announcement->getId()
                        )
                );
Comment out these lines.

Regards,
Alec Smecher
Public Knowledge Project Team


Return to “OMP Discussion”

Who is online

Users browsing this forum: No registered users and 2 guests