Closed (won't fix)
Project:
Privatemsg
Version:
5.x-1.8
Component:
User interface
Priority:
Normal
Category:
Support request
Assigned:
Unassigned
Reporter:
Created:
13 Dec 2007 at 02:29 UTC
Updated:
20 Jan 2010 at 10:36 UTC
It appears that the option for e-mail for unread messages is set to 'Never' by default. Is there anyway I can set this to 'Every message' by default?
Comments
Comment #1
kriskd commentedI'm not a programmer, but I took a look at privatemsg.module and found the following:
In the default_value line, if I simply change PRIVATEMSG_MAIL_NONE to PRIVATEMSG_MAIL_INDIVIDUAL, I believe it would default to send e-mail alerts for every new PM. I further assume this won't make any setting changes to existing users.
Could someone confirm this before I hack the mod?
Comment #2
fuzzy_texan commentedWorked for me. Try it out on your test site if you want to be sure.
Comment #3
kriskd commentedIs it possible that this change would change the setting for existing members and not just the new ones? I had been going through my members switching this to "every message" (of course the user could switch it back, my users just aren't used to getting online to see if they have any PMs) and now most of the accounts seem to be set that way since I made the change in the module. Saves me a lot of work, but I wasn't expecting that to happen either.
Comment #4
Anonymous (not verified) commentedI must say I don't think this actually worked for me. It seemed to on my test site, but when I implemented it on my real site - it changed the default to on for every user, but the emails didn't work for most users. Once you manually turn the emails off and on again per user, it works. Very odd.
Comment #5
seth97 commentedDid you guys try this?
http://drupal.org/node/201085#comment-672220
/Seth
Comment #6
kriskd commentedfuzzy_texan --
I think you are right. It did seem to switch my existing users to send e-mails when new PMs arrive, but I don't think it is actually working unless you re-save their profile or change the setting and change it back.
I poked around in the database and the settings for the mail alerts isn't set for any of those options until the profile is edited in some fashion. So, I think I'm still going to have to go into each users account and mess with their settings in order to get those e-mail alerts on.
Comment #7
fuzzy_texan commented@seth97
Yeah that's what we tried (same as the change mentioned above unless I'm reading it wrong?)
Comment #8
fuzzy_texan commented@kriskd
Damn. Thought that might be the case. Unfortunately I tried this on my test site, and it seemed to work, but obviously it turns out it only works when you update the profile. So I changed it on my live site. I'm hoping just changing it back will change anyone who hasn't changed their setting back to none. Then I can get into the fun job of going in and changing everyones just like you :(
Think we might need to change this from a support request to a bug report. This really should be part of the interface for privatemsg.
Comment #9
seth97 commentedSorry, my bad.
I tried it on my test site, works fine when I create new users. I agree, it would be nice to have it as an option in the admin interface.
Comment #10
berdirNo new features are added to old branches so I'm setting this to won't fix. This feature is already part Privatemsg for Drupal 6.