All users to subscribe to topic by default on reply

Get help with installation and running phpBB 3.0.x here. Please do not post bug reports, feature requests, or MOD-related questions here.
Scam Warning
Forum rules
END OF SUPPORT: 1 January 2017 (announcement)
Locked
on_way_to_fame
Registered User
Posts: 40
Joined: Wed Jun 09, 2004 5:46 pm

All users to subscribe to topic by default on reply

Post by on_way_to_fame »

Hi,

I want to make sure that when a user posts a reply to a message they get subscribed to it by default. How can I change this setting for all users. They can of course undo this setting, via their settings page.

At the moment, it seems that when a user first registers, by default this setting is not enabled.

Thanks
Drummer
Registered User
Posts: 199
Joined: Wed Jul 21, 2010 11:49 am

Re: All users to subscribe to topic by default on reply

Post by Drummer »

open includes/functions_user.php
Find:

Code: Select all

		'user_notify'			=> 0,
Replace with:

Code: Select all

		'user_notify'			=> 1,
User avatar
firebrad83
Registered User
Posts: 120
Joined: Wed Apr 28, 2010 5:31 pm
Location: UK
Contact:

Re: All users to subscribe to topic by default on reply

Post by firebrad83 »

Cheers, will try this now ;)
Firefighters - All give some.....some give all
Board Version - 3.0.7PL1
Board Style - Proformell
Board URL - http://www.retainedfirefighter.com
User avatar
firebrad83
Registered User
Posts: 120
Joined: Wed Apr 28, 2010 5:31 pm
Location: UK
Contact:

Re: All users to subscribe to topic by default on reply

Post by firebrad83 »

Didnt work for me :(
Firefighters - All give some.....some give all
Board Version - 3.0.7PL1
Board Style - Proformell
Board URL - http://www.retainedfirefighter.com
User avatar
stevemaury
Support Team Member
Support Team Member
Posts: 52768
Joined: Thu Nov 02, 2006 12:21 am
Location: The U.P.
Name: Steve
Contact:

Re: All users to subscribe to topic by default on reply

Post by stevemaury »

That will only affect new users. For existing users run this query: ( Executing SQL Queries in phpMyAdmin KB )

Code: Select all

UPDATE phpbb_users SET user_notify = 1 WHERE user_type <> 2
If your table prefix is not phpbb_ change to your table prefix.
I can stop all your spam. I can upgrade or update your Board. PM or email me. (Paid support)
mactac
Registered User
Posts: 10
Joined: Fri Sep 09, 2016 9:46 pm

Re: All users to subscribe to topic by default on reply

Post by mactac »

mine (3.1) is already set to 1, but people are not subscribed by default.

This doesn't seem to work.
User avatar
JimA
Former Team Member
Posts: 7833
Joined: Thu Jul 31, 2008 5:54 am
Location: The Netherlands
Name: Jim Mossing Holsteyn
Contact:

Re: All users to subscribe to topic by default on reply

Post by JimA »

mactac wrote:mine (3.1) is already set to 1, but people are not subscribed by default.

This doesn't seem to work.
Please continue in the topic you made yourselves. This is exactly why there are different support areas, because advice for given for phpBB 3.0 might not necessarily work the same way for phpBB 3.1. :)
Jim Mossing Holsteyn - Former Community Team Leader
Knowledge Base | Documentation | Board rules

If you're having any questions about the rules/customs of this website, feel free to drop me a PM.
Locked

Return to “[3.0.x] Support Forum”