Page Index Toggle Pages: 1
Topic Tools
Normal Topic Enabling reply notifications to posts by default (Read 750 times)
gotgot
YaBB Newcomer
*
Offline



Posts: 3

YaBB 2.6.0
Enabling reply notifications to posts by default
Jan 30th, 2011 at 5:23am
Post Tools
Hi,

When a user posts something on the forum she should click on "Notify of replies" checkbox in order to enable email alerts.
Is there a way to enable this feature by default so that users do not have to check it manually?

Thanks.
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Enabling reply notifications to posts by default
Reply #1 - Jan 30th, 2011 at 6:15am
Post Tools
Hi,

You would need to edit the code, but try this...

In Sources/Post.pl find:

Code (Perl)
Select All
        my $notify = ""; 


And replace with:

Code (Perl)
Select All
        my $notify = qq~ checked="checked"~; 


That will make the checkbox checked by default - Hopefully that's what you mean...
  
Back to top
 
IP Logged
 
gotgot
YaBB Newcomer
*
Offline



Posts: 3

YaBB 2.6.0
Re: Enabling reply notifications to posts by default
Reply #2 - Jan 30th, 2011 at 6:57am
Post Tools
Yes, that solved my problem.
Actually I was trying very hard to get this done.
Thank you very much. Smiley
  
Back to top
 
IP Logged
 
Derek Barnstorm
Support Team
YaBB Next Team
Development Team
Beta Testers
****
Offline



Posts: 1,269
Location: United Kingdom

None
Re: Enabling reply notifications to posts by default
Reply #3 - Jan 30th, 2011 at 4:39pm
Post Tools
You're welcome. Smiley
  
Back to top
 
IP Logged
 
Page Index Toggle Pages: 1
Topic Tools