Ravens PHP Scripts: Forums
 

 

View next topic
View previous topic
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Enhancement Requests and Suggestions
Author Message
blinksy
Hangin' Around



Joined: Apr 25, 2007
Posts: 33

PostPosted: Tue May 01, 2007 7:12 pm Reply with quote

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
 
View user's profile Send private message
montego
Site Admin



Joined: Aug 29, 2004
Posts: 9457
Location: Arizona

PostPosted: Tue May 01, 2007 8:15 pm Reply with quote

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;

_________________
Where Do YOU Stand?
HTML Newsletter::ShortLinks::Mailer::Downloads and more... 
View user's profile Send private message Visit poster's website
blinksy







PostPosted: Tue May 01, 2007 8:34 pm Reply with quote

Thank you yet again Montego. Your experience and knowledge is a blessing to us all.
 
Guardian2003
Site Admin



Joined: Aug 28, 2003
Posts: 6799
Location: Ha Noi, Viet Nam

PostPosted: Thu May 03, 2007 12:25 am Reply with quote

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
 
View user's profile Send private message Send e-mail
blinksy







PostPosted: Thu May 03, 2007 12:29 am Reply with quote

Ok cheers.
 
Display posts from previous:       
This forum is locked: you cannot post, reply to, or edit topics.   This topic is locked: you cannot edit posts or make replies.    Ravens PHP Scripts And Web Hosting Forum Index -> RN Enhancement Requests and Suggestions

View next topic
View previous topic
You cannot post new topics in this forum
You cannot reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot vote in polls in this forum
You can attach files in this forum
You can download files in this forum


Powered by phpBB © 2001-2007 phpBB Group
All times are GMT - 6 Hours
 
Forums ©