by vitbenes » Tue Dec 20, 2011 3:18 am
Hi James,
you are right. It is not a problem, but a feature request. Anyway, I have already found a solution. So raymondsutjiadi, you need to do this:
ISSUE
The manually sent notifications are sent only to registered users (readers, authors etc.), but not to those people who are only on the mailing list.
SOLUTION
Edit \pages\editor\IssueManagementHandler.inc.php
....
if (Request::getUserVar('send') && !$email->hasErrors()) {
$email->addRecipient($user->getEmail(), $user->getFullName());
switch (Request::getUserVar('whichUsers')) {
case 'allIndividualSubscribers':
$recipients =& $individualSubscriptionDao->getSubscribedUsers($journal->getId());
break;
case 'allInstitutionalSubscribers':
$recipients =& $institutionalSubscriptionDao->getSubscribedUsers($journal->getId());
break;
case 'allAuthors':
$recipients =& $authorDao->getAuthorsAlphabetizedByJournal($journal->getId(), null, null, true);
break;
case 'allUsers':
$recipients =& $roleDao->getUsersByJournalId($journal->getId());
foreach ($mailList as $maillistemail) {
$email->addRecipient($maillistemail);
}
break;
case 'allReaders':
default:
$recipients =& $roleDao->getUsersByRoleId(
ROLE_ID_READER,
$journal->getId()
);
foreach ($mailList as $maillistemail) {
$email->addRecipient($maillistemail);
}
break;
}
.......
HOW IT WORKS:
If you select "All readers" or "...all users associated..." as the recepients of the editor's notification, the email will be also sent to people who are only on the mailing list.
Please correct me if I made a mistake.