| Author |
Message |
blinksy Hangin' Around

Joined: Apr 25, 2007 Posts: 33
|
Posted:
Tue May 01, 2007 7:12 pm |
|
Hi,
Where can I make it default to notify users on a reply?
Looking to get them to return to threads a little quicker.
Thanks |
|
|
|
 |
montego Site Admin

Joined: Aug 29, 2004 Posts: 7481 Location: Arizona
|
Posted:
Tue May 01, 2007 8:15 pm |
|
Well, unfortunately, there is no system setting that you can make to force this. However, if you wish to force new registrations to default to "Notify on Reply" and "Notify on PM", you could try this:
=== OPEN ===
modules/Your_Account/index.php
=== FIND ===
Within function saveuser find this code:
| Code: |
$user_notify = intval($user_notify);
$user_notify_pm = intval($user_notify_pm);
|
=== CHANGE TO ===
| Code: |
$user_notify = 1; //intval($user_notify);
$user_notify_pm = 1; //intval($user_notify_pm);
|
Problem is that every time you upgrade, you'll have to change re-apply these changes.
In addition, if you want all the existing users to have these settings (not something I would recommend given that these could be considered "unsolicited emails"), you could issue this sql update from with phpMyAdmin:
UPDATE nuke_users SET user_notify = 1, user_notify_pm = 1; |
|
|
|
 |
blinksy Hangin' Around

Joined: Apr 25, 2007 Posts: 33
|
Posted:
Tue May 01, 2007 8:34 pm |
|
Thank you yet again Montego. Your experience and knowledge is a blessing to us all. |
|
|
|
 |
Guardian2003 Site Admin

Joined: Aug 28, 2003 Posts: 4856
|
Posted:
Thu May 03, 2007 12:25 am |
|
If updates where a problem (remembering to adjust the code) I think you may be able to alter the nuke_users table, you could set the field 'user_notify' to have a default value of 1 |
|
|
|
 |
blinksy Hangin' Around

Joined: Apr 25, 2007 Posts: 33
|
Posted:
Thu May 03, 2007 12:29 am |
|
|
|
 |
|
|
|
|