Notify by default

Modifications for phpBB3.
Try the Mods here and share Your own Mods
Forum rules
You dont have to use ModX or make your mod AutoMod compatible. A simple textfile is fine
But if you post Mods here You also have to give support

Notify by default

Post by Stoker »

Notify by default
Written by Stoker

When new users registeres, they are by default NOT notified when there is a reply to their post.
With one little codechange You can change that so new users by default will get notified when there is a reply to their post

Instructions:
Open includes/functions_user.php
Find:

Code: Select all

'user_notify'			=> 0,
Replace with:

Code: Select all

'user_notify'			=> 1,
Save and upload

Notify by default

Post by Nully »

I discover only today this useful code.
Is it only for new registered users or for all users ?
I would like it only for new ones.

Notify by default

Post by Stoker »

Its for new users only.

If you want it for existing users you have to go to your phpmyadmin to run this querie:

Code: Select all

UPDATE `phpbb_users` SET `user_notify` = 1 WHERE `user_type` <> 2 

Notify by default

Post by Nully »

I want it only for new ones.
Thanks, I go to insert the code :D

Notify by default

Post by Blackwolf »

Thanks....very handy snippet. :thumb:

Notify by default

Post by techman41973 »

This MOD works great.
But I have a similar issue with Users getting notified of New PM's by default.
For new registrations on my board,
I want the following UCP setting, "Notify me on new private messages:"
to be set to YES by default.
I changed the following value to 1 in functions_user.php, but this didn't work.
'user_notify_pm' => 1,
For new registrations, "Notify me on new private messages:" is still set to NO by default.
Is there something else that could be conflicting with what I intend.
Thanks

Notify by default

Post by Stoker »

On a default phpBB installation user_notify_pm is set to 1, which means that new users get notified on new PM.
So I dont really understand your question?