Форумы / Cotonti / Support / How to set pm notify to on in registration?

I want users to get emails when they get a PM.

c1L
#1 09.07.2011 22:26

The problem is that, a newly registered user takes no email when i send him/her a pm, if the user had not changer the pm notify settings. 

 

But I want them to take emails when i send them  pms, without the necessity of editing their profile ater registration.

I really do not mention the welcome pm plugin.

 

Thank you in advance,

Best wishes.

Added 11 minutes later:

I have tried changing user_pmnotify field default to 1 but it did not worked. any othwer suggestions?

Отредактировано: c1L (09.07.2011 22:39, 12 лет назад)
Xerora
#2 09.07.2011 22:43

You will need a plugin for this or just change line 181 in system/core/users/user.registration.inc.php to be 1 and not 0. 

Assuming you're using 0.6.17 that is. You can change all the currently set accounts as well with: (in phpmyadmin or the likes)

UPDATE sed_users SET user_pmnotify='1'