PHP Web Host - Quality Web Hosting For All PHP Applications Just Great Software
  Login or Register
 • Home • Downloads • Your Account • Forums • 

View next topic
View previous topic


Google
 
Web RavenPHPScripts (This Site)
Post new topic   Reply to topic
Author Message
blinksy
Hangin' Around


Joined: Apr 25, 2007
Posts: 33

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

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: 7481
Location: Arizona

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

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;
View user's profile Send private message Visit poster's website
blinksy
Hangin' Around


Joined: Apr 25, 2007
Posts: 33

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

Thank you yet again Montego. Your experience and knowledge is a blessing to us all.
View user's profile Send private message
Guardian2003
Site Admin


Joined: Aug 28, 2003
Posts: 4856

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

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 Visit poster's website
blinksy
Hangin' Around


Joined: Apr 25, 2007
Posts: 33

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

Ok cheers.
View user's profile Send private message
Display posts from previous:       
Post new topic   Reply to topic

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
Forums ©
 

All logos and trademarks in this site are property of their respective owner.
The comments are property of their posters, all the rest © 2002-2008 by Raven
Proud to be listed at Lobo Links Web Directory

You can syndicate our news using the file xml

CSE HTML Validator Helped Clean up This Page! [Valid RSS] valid RSS 2.0 Valid robots.txt Stop Spam Harvesters, Join Project Honey Pot

Website engines core code is © copyright by PHP-Nuke but has been heavily patched and modified by myself and others.
PHP-Nuke is a free software released under the GNU/GPL.


:: fisubice phpbb2 style by Daz :: PHP-Nuke theme by www.nukemods.com ::

:: fisubice Theme Recoded To 100% W3C CSS & HTML 4.01 Transitional Compliance by Raven and 64bitguy ::

:: W3C CSS Compliance Validation :: W3C HTML 4.01 Transitional Compliance Validation ::

zerosum